The Feature Development Plugin provides a systematic 7-phase approach to building new features. Instead of jumping straight into code, it guides you through understanding the codebase, asking clarifying questions, designing architecture, and ensuring quality.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/anthropics/claude-code/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Building features requires more than just writing code. This plugin embeds these practices into a structured workflow:- Understand the codebase before making changes
- Ask questions to clarify ambiguous requirements
- Design thoughtfully before implementing
- Review for quality after building
Command: /feature-dev
Launches a guided feature development workflow with 7 distinct phases.Usage
With a feature description:The 7-Phase Workflow
Phase 1: Discovery
Goal: Understand what needs to be built- Clarifies the feature request if it’s unclear
- Asks what problem you’re solving
- Identifies constraints and requirements
- Summarizes understanding and confirms with you
Phase 2: Codebase Exploration
Goal: Understand relevant existing code and patterns
Example Output:
Phase 3: Clarifying Questions
Goal: Fill in gaps and resolve all ambiguities- Reviews codebase findings and feature request
- Identifies underspecified aspects:
- Edge cases
- Error handling
- Integration points
- Backward compatibility
- Performance needs
- Waits for your answers before proceeding
Phase 4: Architecture Design
Goal: Design multiple implementation approachesLaunch Architects
Launches 2-3
code-architect agents with different focuses:- Minimal changes: Smallest change, maximum reuse
- Clean architecture: Maintainability, elegant abstractions
- Pragmatic balance: Speed + quality
Phase 5: Implementation
Goal: Build the feature- Waits for explicit approval before starting
- Reads all relevant files identified in previous phases
- Implements following chosen architecture
- Follows codebase conventions strictly
- Writes clean, well-documented code
- Updates todos as progress is made
Implementation only starts after you approve. Uses architecture from Phase 4 and patterns from Phase 2.
Phase 6: Quality Review
Goal: Ensure code is simple, DRY, elegant, and functionally correctLaunch Reviewers
Launches 3
code-reviewer agents in parallel:- Simplicity/DRY/Elegance: Code quality and maintainability
- Bugs/Correctness: Functional correctness and logic errors
- Conventions/Abstractions: Project standards and patterns
Phase 7: Summary
Goal: Document what was accomplished- Marks all todos complete
- Summarizes:
- What was built
- Key decisions made
- Files modified
- Suggested next steps
Agents
code-explorer
Purpose: Deeply analyzes existing codebase features by tracing execution paths Focus Areas:- Entry points and call chains
- Data flow and transformations
- Architecture layers and patterns
- Dependencies and integrations
- Implementation details
- Entry points with file:line references
- Step-by-step execution flow
- Key components and responsibilities
- Architecture insights
- List of essential files to read
code-architect
Purpose: Designs feature architectures and implementation blueprints Focus Areas:- Codebase pattern analysis
- Architecture decisions
- Component design
- Implementation roadmap
- Data flow and build sequence
- Patterns and conventions found
- Architecture decision with rationale
- Complete component design
- Implementation map with specific files
- Build sequence with phases
code-reviewer
Purpose: Reviews code for bugs, quality issues, and project conventions Focus Areas:- Project guideline compliance (CLAUDE.md)
- Bug detection
- Code quality issues
- Confidence-based filtering (only reports high-confidence issues ≥ 80)
- Critical issues (confidence 75-100)
- Important issues (confidence 50-74)
- Specific fixes with file:line references
- Project guideline references
Usage Patterns
Full Workflow (Recommended)
Manual Agent Invocation
You can also invoke agents manually:Best Practices
Use Full Workflow
For complex features, the 7 phases ensure thorough planning
Answer Thoughtfully
Phase 3 clarifying questions prevent future confusion
Choose Deliberately
Phase 4 gives you architecture options for a reason
Don't Skip Review
Phase 6 catches issues before they reach production
When to Use
Use for:- New features that touch multiple files
- Features requiring architectural decisions
- Complex integrations with existing code
- Features where requirements are somewhat unclear
- Single-line bug fixes
- Trivial changes
- Well-defined, simple tasks
- Urgent hotfixes
Troubleshooting
Agents Take Too Long
Issue: Code exploration or architecture agents are slow Solution:- This is normal for large codebases
- Agents run in parallel when possible
- The thoroughness pays off in better understanding
Too Many Clarifying Questions
Issue: Phase 3 asks too many questions Solution:- Be more specific in your initial feature request
- Provide context about constraints upfront
- Say “whatever you think is best” if truly no preference
Architecture Options Overwhelming
Issue: Too many architecture options in Phase 4 Solution:- Trust the recommendation—it’s based on codebase analysis
- If still unsure, ask for more explanation
- Pick the pragmatic option when in doubt
Plugin Information
Author: Sid Bidasaria (sbidasaria@anthropic.com)Version: 1.0.0