name: start-issue description: Automate issue triage, planning, and branch creation for issue-driven development. version: 1.0.0 tags: [github, workflow, planning]
Start Issue Skill
Use this skill to go from GitHub issue → plan → branch in a consistent, repeatable way.
Workflow
Load issue context
- Use
gh issue view <id> --json title,body,labels,assignees,comments,updatedAtto avoid project-card GraphQL issues. - Summarize requirements, constraints, and acceptance criteria.
- Use
Clarify scope
- If requirements are ambiguous, ask targeted questions before code changes.
Locate code
- Use
rg --filesto identify modules. - Use
rg -n "<keyword>"to locate patterns.
- Use
Plan
- Draft a short, ordered plan (2-5 steps).
- Confirm with the user before executing if the plan changes scope.
Create branch
- Use
git checkout -b feat/issue-<id>-<short-slug>(orfix/issue-<id>-<short-slug>for bugfixes).
- Use
Post plan comment (optional)
- If requested, post the plan with
gh issue comment <id> --body "...".
- If requested, post the plan with
Implement and validate
- Make focused edits, run relevant tests/lints, and summarize changes.
Notes
- Never commit directly to
main. - Prefer small, focused commits with clear intent.
- If the issue asks for a plan only, stop before code changes.