create-plan
Create comprehensive implementation plan in .plans directory based on analysis or report. Use when user asks to create a plan, plan implementation, design a solution, or structure work for a feature/refactor/fix.
What this skill does
# Create Implementation Plan
## Instructions
Create a detailed, high-quality implementation plan in `.plans/` directory that adheres to strict quality standards and provides complete guidance for implementation.
### Phase 1: Understanding & Validation
#### Step 0: Extract Original Issue/Task Requirements (MANDATORY)
**CRITICAL**: Before creating any plan, extract ALL requirements from the original issue/task.
```bash
# If triggered by a GitHub issue
gh issue view <number>
```
Create exhaustive requirements list:
- Every functional requirement stated
- Every acceptance criterion listed
- Every edge case mentioned
- Every error handling requirement
- Any implicit requirements (derive from context)
**Store this list - the plan MUST cover 100% of these requirements.**
#### Step 1: Understand the Request
- Review the report or analysis that triggered this plan
- **Map each requirement from Step 0 to plan items**
- Identify the type of plan needed:
- **Feature**: New functionality
- **Refactor**: Code restructuring
- **Fix**: Bug fix or issue resolution
- **Enhancement**: Improvement to existing feature
#### Step 2: Audit the Codebase
**CRITICAL**: Never create a plan without thorough codebase understanding
For each item in the report, perform comprehensive analysis:
1. **Use the audit skill** if needed for deep investigation
2. **Identify affected files** - Which files will change?
3. **Find existing patterns** - How is similar code structured?
4. **Check CLAUDE.md files** - What are the rules for this area?
5. **Analyze types** - What existing types can be reused?
6. **Identify dependencies** - What depends on what we're changing?
7. **Find naming patterns** - How should new files be named?
**DO NOT SKIP THIS STEP** - Rushed plans lead to bad implementations
#### Step 3: CLAUDE.md Compliance Check
Read ALL relevant `CLAUDE.md` files in:
- Project root
- Affected directories
- Related modules
Extract requirements:
- Naming conventions
- Architecture patterns
- Type requirements
- File organization rules
- Code style standards
### Phase 2: Plan Structure & Naming
#### Step 1: Choose Plan Name
Format: `[descriptive-name].todo.md`
Rules:
- Use kebab-case
- Be specific and descriptive
- Reflect actual work (not vague like "improvements")
- Examples:
- `implement-user-authentication.todo.md` ✅
- `refactor-database-layer.todo.md` ✅
- `new-features.todo.md` ❌ (too vague)
#### Step 2: Determine File Names for Implementation
**CRITICAL RULES**:
- ❌ NEVER create migration files like `foo_v2.ts`, `foo-new.ts`, `foo-enhanced.ts`
- ❌ NEVER use temporary naming like `simple-*.ts`, `temp-*.ts`
- ✅ ALWAYS use proper, final names from the start
- ✅ ALWAYS follow existing naming patterns in the directory
- ✅ ALWAYS check CLAUDE.md for naming requirements
**Process**:
1. Identify existing file naming patterns
2. Check CLAUDE.md for conventions
3. Choose names that fit the pattern
4. If unsure, analyze similar existing files
5. Plan to replace existing files directly (not create duplicates)
### Phase 3: Plan Content - Required Sections
Create plan document with ALL of the following sections:
#### 1. Overview & Issue Coverage
```markdown
# [Plan Title]
## Summary
[2-3 sentences explaining what and why]
## Type
[Feature | Refactor | Fix | Enhancement]
## Source Issue/Task
[Link to GitHub issue or task description]
## Original Requirements (100% Coverage Required)
**ALL requirements from source issue/task that this plan MUST address:**
| # | Requirement | Plan Step(s) |
|---|-------------|--------------|
| 1 | [Requirement from issue] | Step X |
| 2 | [Requirement from issue] | Step Y, Z |
| 3 | [Requirement from issue] | Step W |
**Coverage Check**: X of X requirements mapped to plan steps (must be 100%)
## Status
Todo (will be renamed to .done.md when complete)
```
#### 2. Context & Motivation
```markdown
## Context
[Why is this needed? What problem does it solve?]
## Current State
[What exists now? What are the limitations?]
## Desired State
[What will exist after? What improvements will we gain?]
```
#### 3. CLAUDE.md Compliance
```markdown
## CLAUDE.md Requirements
### Naming Conventions
- [List relevant naming rules from CLAUDE.md]
### Architecture Requirements
- [List relevant architectural rules]
### Type Requirements
- [List type-related rules]
### Other Guidelines
- [Any other relevant rules]
```
#### 4. Existing Types Analysis
```markdown
## Existing Types
### Types to Reuse
- `TypeName` from `path/to/file.ts` - [what it represents]
- [List ALL types that can be reused]
### Types to Create
- `NewTypeName` - [what it will represent, why needed]
- [Only create if NO existing type works]
### Type Guidelines
- ❌ NEVER use `any`
- ❌ NEVER use `unknown` (unless absolutely necessary with justification)
- ✅ ALWAYS prefer existing types
- ✅ ALWAYS use strict typing
```
#### 5. Impact Analysis
```markdown
## Impact Analysis
### Files to Modify
- `path/to/file1.ts` - [what changes, why]
- `path/to/file2.ts` - [what changes, why]
### Files to Create
- `path/to/newfile.ts` - [purpose, why not existing file]
### Files to Delete
- `path/to/oldfile.ts` - [why removing, what replaces it]
### Dependencies Affected
- [List what depends on changed code]
- [How will dependencies be updated?]
### Breaking Changes
- [List any breaking changes]
- [How will they be handled?]
```
#### 6. Implementation Steps
```markdown
## Implementation Steps
Each step should be:
- Specific and actionable
- Single responsibility
- Ordered correctly (dependencies first)
### Step 1: [Descriptive Title]
**File**: `path/to/file.ts`
**Action**: [What to do]
**Why**: [Why this step]
**Details**:
- [Specific implementation detail]
- [Another detail]
### Step 2: [Next Step]
[Same structure]
[Continue for all steps]
```
#### 7. REMOVAL SPECIFICATION ⚠️
```markdown
## REMOVAL SPECIFICATION
**CRITICAL**: This section tracks OLD code that must be REMOVED.
### Code to Remove
#### From `path/to/file1.ts`
- **Lines X-Y**: `function oldFunction() {...}`
- **Why removing**: Replaced by newFunction
- **Replacement**: Step 3 in implementation
- **Dependencies**: Used by A, B, C (all updated in steps 5, 6, 7)
#### File to Delete: `path/to/old-file.ts`
- **Why removing**: Functionality moved to new-file.ts
- **Replacement**: Step 2 creates replacement
- **Dependencies**: Imported by X, Y, Z (all updated in steps 8, 9, 10)
### Removal Checklist
- [ ] All deprecated functions removed
- [ ] All old files deleted
- [ ] All imports updated
- [ ] All references updated
- [ ] No dead code remains
**VERIFICATION**: At completion, grep for old symbols to ensure complete removal.
```
#### 8. Anti-Patterns to Avoid
```markdown
## Anti-Patterns to Avoid
❌ **NEVER** include:
- Migration mechanisms (gradual rollout, feature flags for this)
- Fallback mechanisms (keeping old code "just in case")
- Risk mitigation (running old and new in parallel)
- Backward compatibility layers (unless external API)
- Temporary bridges between old and new
✅ **ALWAYS** instead:
- Replace completely and cleanly
- Make all necessary changes at once
- Remove old code immediately
- Trust the plan and execute fully
**Why**: Half-migrations leave bad code in the codebase forever.
```
#### 9. Validation Criteria
```markdown
## Validation Criteria
### Pre-Implementation Checklist
- [ ] All CLAUDE.md files reviewed
- [ ] All existing types identified
- [ ] All affected files identified
- [ ] All naming follows patterns
- [ ] Impact fully analyzed
### Post-Implementation Checklist
- [ ] All steps completed
- [ ] All old code removed (per REMOVAL SPEC)
- [ ] TypeScript compiles (`tsc --noEmit`)
- [ ] Linting passes (`npm run lint`)
- [ ] Tests pass (if applicable)
- [ ] No `any` or `unknown` types added
- [ ] CLAUDE.md compliance verified
- [ ] Single responsibility maintained
```
### Phase 4: Plan Creation & Validation
#### Step 1: Write the Plan
- Create file in `.plans/` directRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.