issue-planning-workflow
Comprehensive planning methodology for GitHub issues - from analysis to implementation plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive planning methodology for GitHub issues - from analysis to implementation plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Patterns for generating Gamma.app-compatible slide deck markdown from GitHub data for customer-facing account management presentations
Patterns for generating Gamma.app-compatible slide deck markdown from Linear data for customer-facing account management presentations
Patterns and templates for creating sprint/project retrospective reports from Jira data with time tracking and blocker analysis.
Multi-platform Electron build configuration - esbuild bundling, electron-builder setup, and distribution
Integrate external CLI tools (Claude, Node, npx) in Electron apps with proper PATH handling
Handle native Node.js modules in Electron - better-sqlite3, sharp, keytar packaging patterns
| name | issue-planning-workflow |
| description | Comprehensive planning methodology for GitHub issues - from analysis to implementation plan. |
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 #123