From workflow-skills
Analyzes a single GitHub issue and produces a detailed technical specification ready for implementation. Fetches the issue, discovers existing patterns in the codebase, defines scope boundaries, and produces an implementation plan with MVP tests. Use before starting work on an issue to understand it fully. Trigger on "analyze issue
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow-skills:analyze-issueThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user will provide an issue number. If they described an issue by name instead, find it:
The user will provide an issue number. If they described an issue by name instead, find it:
gh issue list --search "[keywords]" --json number,title | head -5
gh issue view [NUMBER] --json number,title,body,labels,comments,createdAt,milestone,assignees
Read every comment — they often contain updated requirements, implementation constraints, or scope decisions that aren't in the original body.
Before planning anything, find what already exists in the codebase. Don't assume new code is needed.
# Find related components by keyword
grep -r "[relevant term]" src/ --include="*.ts" --include="*.tsx" -l | head -10
# Check for similar features
find src/ -name "*.ts" -o -name "*.tsx" | xargs grep -l "[related concept]" | head -5
Look for:
From the issue body and comments, extract:
If acceptance criteria are vague, infer concrete ones from the description.
# Technical Spec: Issue #[NUMBER] — [title]
## Summary
[2-3 sentences: what problem this solves and why it matters]
Labels: [labels]
Milestone: [milestone or "none"]
Priority: [High/Medium/Low based on issue content]
## Scope
In scope:
- [specific item]
- [specific item]
Out of scope:
- [explicitly excluded item]
- [adjacent work that might seem related but isn't]
## Technical approach
[Concrete approach that leans on existing patterns. Reference specific files or components
found during discovery. Explain key decisions — why this approach over alternatives.]
## Existing code to leverage
- [file/component]: [how it applies]
- [utility]: [what it provides]
- [type/interface]: [what to extend]
## Implementation plan
1. [Step — specific enough to act on]
2. [Step]
3. [Step]
4. [Step, if needed]
## MVP test plan
Write 3-5 tests that map directly to acceptance criteria. No "renders without crashing."
1. [What you're testing] — validates [acceptance criterion]
2. [What you're testing] — validates [acceptance criterion]
3. [What you're testing] — validates [acceptance criterion]
Not testing (save for later or explicitly out of scope):
- [edge case not in acceptance criteria]
- [exhaustive input validation]
## Files to modify
- [path]: [changes]
## Files to create
- [path]: [purpose]
## Success criteria
- [ ] [criterion pulled directly from issue]
- [ ] [criterion]
- [ ] Tests cover acceptance criteria without rigging
- [ ] No duplicate functionality introduced
## Risks
- [Risk]: [Mitigation]
## Estimated effort
[Small / Medium / Large — with a one-sentence rationale]
If the issue has ambiguous requirements, call them out explicitly rather than assuming. Ask the user to clarify before they start implementing — it's cheaper to resolve ambiguity now than mid-implementation.
Once the spec is confirmed and ambiguity is resolved, suggest driving the build with /goal instead of manual turn-by-turn iteration — the success criteria above become the completion condition, e.g. /goal "issue #N: all success-criteria checkboxes met, tests green, PR open". A separate evaluator decides when it's actually done.
npx claudepluginhub jerseycheese/agent-skills --plugin workflow-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.