1k-create-pr
Create OneKey App PR
Automates the complete PR creation workflow for OneKey app-monorepo changes.
Quick Reference
| Step | Action | Commands |
|---|---|---|
| 1 | Check status | git status, git branch --show-current |
| 2 | Create branch (if on x) | git checkout -b <branch-name> |
| 3 | Lint fix | yarn lint --fix |
| 4 | Stage & commit | git add ., git commit -m "type: description" |
| 5 | Push to remote | git push -u origin <branch-name> |
| 6 | Extract context | Analyze conversation for intent, decisions, risks |
| 7 | Create PR | gh pr create --base x --title "..." --body "..." |
| 8 | Enable auto-merge | gh pr merge <number> --auto --squash |
Workflow
More from onekeyhq/app-monorepo
react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
109implementing-figma-designs
Implements Figma designs 1:1 using OneKey component library (还原设计稿).
771k-coding-patterns
Coding patterns and best practices — React components, promise handling, and TypeScript conventions.
691k-code-quality
Code quality standards — lint (eslint/oxlint), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.
681k-date-formatting
Date and time formatting — use OneKey dateUtils (formatDate/formatTime) instead of native JS date methods.
681k-git-workflow
Git workflow and conventions — branching, commit messages, and PR creation.
68