issue-planning-workflow
Comprehensive planning methodology for GitHub issues - from analysis to implementation plan.
What this skill does
# GitHub Issue Planning Workflow Skill
This skill provides a comprehensive methodology for planning implementation of GitHub issues.
## Planning Phases
### Phase 1: Issue Intelligence
**Gather all information:**
```bash
# 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:**
- Core problem/goal
- Acceptance criteria
- Technical hints in description
- Context from comments
- Related issues referenced
### Phase 2: Codebase Exploration
**Systematic exploration:**
1. **Find relevant files:**
```bash
# Search for keywords
rg "keyword" --type ts -l
# Find component files
ls src/components/ | grep -i "feature"
```
2. **Understand current state:**
- Read main files involved
- Note patterns and conventions
- Identify extension points
- Check test coverage
3. **Document findings:**
- File paths with line numbers
- Current implementation details
- Patterns to follow
- Potential challenges
### Phase 3: Clarification
**Ask targeted questions:**
Format:
```markdown
### 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:**
- Technical approach decisions
- Scope clarifications
- Priority of edge cases
- UI/UX preferences
**Avoid:**
- Questions answered in issue
- Questions answerable from code
- Yes/no questions without context
### Phase 4: Plan Generation
**Structure:**
```markdown
## 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]
```
### Phase 5: Branch & Assignment
**Create branch:**
```bash
# 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:**
```bash
# 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}-...\`"
```
---
## Branch Naming
**Format**: `{type}/{number}-{brief-description}`
**Types:**
- `feature/` - New functionality
- `fix/` - Bug fixes
- `chore/` - Maintenance
- `docs/` - Documentation
- `refactor/` - Code improvements
- `test/` - Test additions
**Examples:**
```
feature/123-user-notifications
fix/456-checkout-timeout
chore/789-update-deps
docs/101-api-examples
```
**Sanitization rules:**
- Lowercase
- Replace spaces with hyphens
- Remove special characters
- Keep under 50 chars
---
## Plan Quality Checklist
Before presenting plan:
- [ ] Explored all relevant code
- [ ] Identified patterns to follow
- [ ] Steps are specific and actionable
- [ ] Dependencies between steps noted
- [ ] Testing strategy defined
- [ ] Risks identified
- [ ] Success criteria from issue included
- [ ] Estimated complexity per step
---
## Step Complexity Guidelines
**Low Complexity:**
- Single file change
- Clear pattern to follow
- No new dependencies
- Minimal testing needed
**Medium Complexity:**
- Multiple related files
- Some decisions required
- New tests needed
- May need clarification
**High Complexity:**
- Architectural changes
- Multiple components
- New patterns/approaches
- Significant testing
- Potential risks
---
## Integration Notes
**Linking work:**
```bash
# In commit messages
git commit -m "feat(#123): implement notification service"
# In PR title
[#123] Add user notifications
```
**Auto-close keywords:**
- `Fixes #123`
- `Closes #123`
- `Resolves #123`
**Reference keywords:**
- `Related to #123`
- `Part of #123`
- `See #123`
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.