/pickup-issue -- Pick Up and Complete a GitHub Issue
Trigger
User asks to work on a GitHub issue, pick up an issue, or references an issue number.
Workflow
- •
Read the issue:
bashgh issue view <number>
Understand the requirements, acceptance criteria, and any linked issues.
- •
Create a feature branch:
bashgit checkout main git pull origin main git checkout -b <type>/<short-description>
Use the issue title/content to derive the branch name.
- •
Plan the implementation:
- •Enter plan mode for non-trivial changes
- •Identify which files need to change
- •Determine the appropriate skill to chain to
- •
Implement the change -- chain to the appropriate skill:
- •General code change →
/implement - •New Terraform resource →
/add-terraform-resourceor/add-cloud-resource - •New test →
/add-test - •Version bump / release →
/release
- •General code change →
- •
Verify -- chain to
/verify. - •
Create a PR -- chain to
/pr. Reference the issue in the PR body:codeCloses #<number>
- •
Comment on the issue (optional, if useful):
bashgh issue comment <number> --body "PR created: <pr-url>"
Anti-patterns
- •Do not start coding without reading the issue first
- •Do not work on
maindirectly - •Do not create a PR without referencing the issue
- •Do not close the issue manually (let the PR close it via "Closes #N")
Checklist
- • Issue requirements understood
- • Feature branch created from latest
main - • Implementation complete
- • Verification passed (
/verify) - • PR created with
Closes #<number>in body