1k-create-pr
Installation
SKILL.md
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 | Determine base branch | Auto-detect or ask user |
| 3 | Create branch (if on x or release/*) | git checkout -b <branch-name> |
| 4 | Agent check | yarn agent:check --profile commit |
| 5 | Stage & commit | git add ., git commit -m "type: description" |
| 6 | Push to remote | git push -u origin <branch-name> |
| 7 | Extract context | Analyze conversation for intent, decisions, risks |
| 8 | Create PR | gh pr create --base <base> --title "..." --body "..." |
| 9 | Update branch | gh pr update-branch <number> |
| 10 | Enable auto-merge | gh pr merge <number> --auto --squash |
| 11 | Return PR URL | Share the PR URL with the user |