From aai-pm-github
Plans GitHub issue implementation via phases: intelligence with gh CLI, codebase exploration with rg, targeted clarification questions, structured markdown plans, and git branch creation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aai-pm-github:issue-planning-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides a comprehensive methodology for planning implementation of GitHub issues.
This skill provides a comprehensive methodology for planning implementation of GitHub issues.
Gather all information:
# Get issue details
gh issue view {number} --json title,body,labels,milestone,comments,assignees
# Get comments
gh issue view {number} --comments
# Check related PRs
gh pr list --search "#{number}" --json number,title,state
Extract:
Systematic exploration:
# Search for keywords
rg "keyword" --type ts -l
# Find component files
ls src/components/ | grep -i "feature"
Ask targeted questions:
Format:
### Question: [Topic]
**Context**: [What you discovered]
**Options**:
A) **[Option]** - [Description]
- Pros: [Benefits]
- Cons: [Drawbacks]
B) **[Option]** - [Description]
- Pros: [Benefits]
- Cons: [Drawbacks]
**Recommendation**: Option [X] because [reasoning]
Good questions:
Avoid:
Structure:
## Implementation Plan: #{number}
### Overview
[1-2 sentence summary of approach]
### Architecture Changes
[New components, files, APIs]
### Implementation Steps
#### Step 1: [Title] (Complexity: Low/Medium/High)
**What**: [Description]
**Files**:
- `path/to/file.ts` - [What to change]
**Key Points**:
- [Critical detail 1]
- [Pattern to follow]
**Testing**: [How to verify]
#### Step 2: [Title]
...
### Testing Strategy
- **Unit tests**: [What to test]
- **Integration tests**: [What to test]
- **Manual verification**: [Steps]
### Risks
| Risk | Impact | Mitigation |
|------|--------|------------|
| [Risk] | High/Med/Low | [Strategy] |
### Success Criteria
- [ ] [Criterion from issue]
- [ ] [Additional criterion]
Create branch:
# Ensure up to date
git checkout main && git pull
# Create feature branch
git checkout -b feature/{number}-{brief-description}
# Push to remote
git push -u origin feature/{number}-{brief-description}
Update issue:
# Assign to self
gh issue edit {number} --add-assignee @me
# Add in-progress label
gh issue edit {number} --add-label "in progress"
# Add plan comment
gh issue comment {number} --body "Starting work. Plan: [brief summary]. Branch: \`feature/{number}-...\`"
Format: {type}/{number}-{brief-description}
Types:
feature/ - New functionalityfix/ - Bug fixeschore/ - Maintenancedocs/ - Documentationrefactor/ - Code improvementstest/ - Test additionsExamples:
feature/123-user-notifications
fix/456-checkout-timeout
chore/789-update-deps
docs/101-api-examples
Sanitization rules:
Before presenting plan:
Low Complexity:
Medium Complexity:
High Complexity:
Linking work:
# In commit messages
git commit -m "feat(#123): implement notification service"
# In PR title
[#123] Add user notifications
Auto-close keywords:
Fixes #123Closes #123Resolves #123Reference keywords:
Related to #123Part of #123See #123npx claudepluginhub p/the-answerai-aai-pm-github-plugins-aai-pm-githubCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.