Claude-skill-registry feature-plan
[Skill] Create detailed implementation plans for features. Asks clarifying questions, suggests solutions, proposes architecture, and outputs a structured plan document. Use when user wants to plan a feature before coding.
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/feature-plan-weaverse-claude" ~/.claude/skills/majiayu000-claude-skill-registry-feature-plan && rm -rf "$T"
skills/data/feature-plan-weaverse-claude/SKILL.mdCreate a comprehensive implementation plan for $ARGUMENTS. This skill helps transform vague requirements into actionable, detailed plans before any code is written.
Planning Process
Phase 1: Understand & Clarify
First, analyze the provided requirements and identify:
- Missing information: What critical details are not specified?
- Ambiguous points: What could be interpreted multiple ways?
- Assumptions: What are you assuming that should be confirmed?
- Dependencies: What existing systems/code does this interact with?
Use
AskUserQuestion to clarify ALL unclear points before proceeding. Group related questions together. Examples:
- "Should this feature be accessible to all users or specific roles?"
- "What's the expected data volume/scale?"
- "Are there existing patterns in the codebase to follow?"
- "What's the error handling strategy?"
Do NOT proceed until you have enough clarity to propose solutions.
Phase 2: Explore Codebase
Before suggesting solutions, explore the existing codebase to understand:
- Current architecture and patterns
- Related existing implementations
- Available utilities, hooks, and shared components
- Database schema / API structure (if relevant)
- Testing patterns in use
Phase 3: Suggest Solutions
Present 2-3 distinct approaches with trade-offs:
## Proposed Solutions ### Option A: [Name] **Approach**: Brief description **Pros**: List benefits **Cons**: List drawbacks **Best for**: When this option is ideal ### Option B: [Name] **Approach**: Brief description **Pros**: List benefits **Cons**: List drawbacks **Best for**: When this option is ideal
Use
AskUserQuestion to let the user pick their preferred approach. Include a recommendation if one option is clearly better for their context.
Phase 4: Gather Resources
Ask the user for any helpful resources:
- Documentation links
- Design files / mockups
- Example implementations to reference
- API specifications
- Related PRs or issues
Phase 5: Create Detailed Plan
After user confirms the approach, create the full plan document.
Output Format
Save the plan to
.plan/<index>--<plan-name>--<date>.md
Naming rules:
: 3-digit sequential number (001, 002, etc.) - check existing files in<index>.plan/
: kebab-case summary (e.g.,<plan-name>
,user-authentication-flow
)product-gallery-redesign
: Format<date>MM-DD-YYYY
Document structure:
# [Plan Title] > **Created**: [Date] > **Status**: Draft | Ready | In Progress | Completed --- ## Original Prompt [Paste the exact user input/requirements here] --- ## Summary [2-3 sentence overview of what this plan covers] --- ## Requirements ### Functional Requirements - [ ] FR1: Description - [ ] FR2: Description ### Non-Functional Requirements - [ ] NFR1: Performance, security, accessibility, etc. ### Out of Scope - Item 1 (explicitly excluded) --- ## Technical Approach ### Solution Overview [Describe the chosen approach in 1-2 paragraphs] ### Architecture Diagram (if applicable) [ASCII diagram or description of component relationships] --- ## Implementation Structure ### Files to Create | File | Purpose | |------|---------| | `path/to/file.ts` | Description | ### Files to Modify | File | Changes | |------|---------| | `path/to/existing.ts` | What changes | ### Folder Structure ```plaintext src/ ├── features/ │ └── [feature-name]/ │ ├── components/ │ ├── hooks/ │ ├── utils/ │ ├── types.ts │ └── index.ts
Instructions
- Read the requirements carefully from $ARGUMENTS
- Ask clarifying questions - do not skip this step
- Explore the codebase to understand existing patterns
- Present solution options with clear trade-offs
- Let user choose their preferred approach
- Ask for resources they want to reference
- Generate the plan with all sections
- Save to
folder with proper naming.plan/ - Keep it under 500 lines - be concise, use tables, avoid verbose explanations
Important Notes
- Always save the original prompt at the top of the document
- Check
folder for existing files to determine the next index.plan/ - Create the
folder if it doesn't exist.plan/ - Focus on actionable items, not theoretical discussions
- Include code structure and type definitions
- Be specific about file paths relative to project root
- The plan should be self-contained - anyone should understand it without extra context