with one click
start-task
// Creates a GitHub Issue, branch, and draft PR before implementation begins. Use before any non-trivial task to keep work traceable — one issue, one branch, one PR.
// Creates a GitHub Issue, branch, and draft PR before implementation begins. Use before any non-trivial task to keep work traceable — one issue, one branch, one PR.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | start_task |
| description | Creates a GitHub Issue, branch, and draft PR before implementation begins. Use before any non-trivial task to keep work traceable — one issue, one branch, one PR. |
| when_to_use | Use when the user says "start work on X", "create a ticket for Y", or "begin a new task". Do not use for trivial one-off changes that don't need tracking. |
| argument-hint | [task title] |
| allowed-tools | Bash(gh *) Bash(git *) Read |
Before starting any non-trivial task, create a GitHub Issue, a dedicated branch, and a draft PR. This keeps work traceable and every PR maps to exactly one issue.
| Action | Script | Never use |
|---|---|---|
| Push branch | .claude/scripts/push_branch.sh | bare git push |
| Push + promote + merge (all-in-one) | .claude/scripts/finish_pr.sh <n> | gh pr ready, bare gh pr merge, gh pr checks --watch |
| Monitor/merge only | .claude/scripts/monitor_pr.sh <n> --merge | — |
Clarify scope — if $ARGUMENTS is empty or vague, ask the user for:
feat / fix / chore / docs / testCheck for existing issue and PR — run gh issue list and gh pr list. If an issue already exists, use its number. If a draft PR already exists for that issue, use it — do not create a second PR. Skip to step 5.
Create the issue (no create_issue.sh in this repo — use gh directly):
gh issue create --title "<title>" --label "<type>" --body "..."
# Note the issue number from the output URL
Issue titles are plain descriptions — the type is carried by the label.
Create branch and draft PR:
git checkout -b <type>/PI-<n>-<slug>
.claude/scripts/push_branch.sh # retrying push with SHA verification
gh pr create --title "[PI-<n>][<type>] <title>" --body "Closes #<n>" --draft
Branch name pattern: <issue_type>/PI-<issue_number>-<short-slug>
Proceed — only begin implementation after issue + branch + draft PR exist.
When ready to merge — mark ready, then monitor CI and merge:
.claude/scripts/finish_pr.sh <n>
Do NOT use gh pr ready, gh pr checks --watch, raw git push, or bare
gh pr merge — the lifecycle scripts handle retrying pushes, review waits,
and review cycles.
board-automation.yml moves the board card to In Progress automatically when the PR is opened.[PI-N][type] description where type ∈ {feat, fix, chore, docs, test}Closes #N to auto-close the issue on merge.