ticket-planning-workflow
Patterns for creating well-researched Linear tickets with codebase context.
What this skill does
# Ticket Planning Workflow Skill
Transform Linear tickets into actionable implementation plans through systematic investigation and collaborative planning.
## Purpose
Transform uncertainty into clarity by:
- Gathering complete ticket context from Linear
- Exploring relevant codebase sections
- Identifying patterns and conventions
- Asking targeted clarifying questions
- Creating detailed, actionable implementation plans
## Planning Methodology
### Phase 1: Ticket Intelligence Gathering
#### Fetch and Parse Ticket
```bash
# Get complete ticket information
mcp__linear__get_issue --id "$ticket_id"
```
#### Extract Structured Information
Parse from ticket:
- **Type**: Feature/Bug/Chore (from labels)
- **Priority**: Urgency level
- **Acceptance Criteria**: From description checkboxes
- **Related Context**: Parent tickets, dependencies, blockers
- **Discussion Points**: Key decisions from comments
#### Identify Unclear Items
Flag for clarification:
- Ambiguous requirements
- Missing acceptance criteria
- Architectural decisions needed
- Scope boundaries unclear
### Phase 2: Deep Codebase Exploration
#### Step 1: Broad Search
```bash
# Find existing related code
rg "keyword" --type ts --files-with-matches
# Find similar implementations
rg "pattern-keyword" --type ts -A 5
```
#### Step 2: Understand Architecture
For each relevant file:
- Document current implementation
- Note patterns used
- Identify extension points
- Check for project-specific requirements
#### Step 3: Find Patterns to Follow
Extract from codebase:
- **Error handling**: Common patterns
- **Entity pattern**: Data structures
- **Route pattern**: API organization
- **Service pattern**: Business logic organization
#### Step 4: Check Project Guidelines
```bash
# Review CLAUDE.md for requirements
cat CLAUDE.md | grep -A 10 "relevant-section"
```
### Phase 3: Collaborative Clarification
#### Question Framework
Present 2-4 questions at a time with:
- **Context**: What you found in codebase
- **Options**: Concrete choices (A/B/C)
- **Recommendation**: Your suggested approach
- **Trade-offs**: Pros/cons of each
**Format:**
```markdown
### Question: [Topic]
**Context**: [What codebase exploration revealed]
**Options**:
A) **[Option Name]** - [Description]
- Pros: [Benefits]
- Cons: [Drawbacks]
B) **[Option Name]** - [Description]
- Pros: [Benefits]
- Cons: [Drawbacks]
**Recommendation**: Option [X] because [reasoning]
**Your choice?** (A/B)
```
### Phase 4: Implementation Plan Generation
#### High-Level Overview
```markdown
# Implementation Plan: {ticket-id} - {title}
## Overview
[1-2 sentence summary]
## Approach
[3-5 bullet points on technical approach]
## Decisions
[List of decisions made during clarification]
## Complexity
[Simple/Moderate/Complex with justification]
```
#### Implementation Steps
For each step:
```markdown
### Step N: [Title] (Est. complexity)
**What**: [Brief description]
**File(s)**: [Paths]
**Key points**:
- [Critical implementation detail]
- [Pattern to follow]
**Dependencies**: Step [X]
**Testing**: [How to verify]
```
#### Testing Strategy
Define:
- **Unit tests**: Coverage goals, test categories
- **Integration tests**: Key scenarios
- **Manual testing**: Verification checklist
#### Risk Assessment
| Risk | Impact | Mitigation |
|------|--------|------------|
| [Risk] | High/Med/Low | [Strategy] |
#### Success Criteria
Checklist covering:
- [ ] Functional requirements
- [ ] Technical requirements
- [ ] Testing requirements
- [ ] Documentation requirements
### Phase 5: Git Strategy
```markdown
## Git Strategy
**Branch**: {type}/{ticket-id}-{sanitized-title}
**Base**: main or staging
**Commits** (logical units):
1. `feat({ticket}): [description]`
2. `test({ticket}): [description]`
3. `docs({ticket}): [description]`
```
## Integration
**Used by agents:**
- `linear-ticket-planner` - Autonomous ticket planning
- `linear-ticket-creator` - Ticket creation with exploration
## Quality Checklist
Before completing plan:
- [ ] Ticket requirements fully understood
- [ ] Codebase exploration thorough
- [ ] All clarifying questions asked
- [ ] Implementation steps are actionable
- [ ] Testing strategy is comprehensive
- [ ] Risks identified and mitigated
- [ ] Success criteria clear and measurable
- [ ] Git strategy defined
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.