Systematic 7-phase feature development with architecture design (SOLID, Clean Architecture, Design Patterns, DDD) and QA-DEV-REVIEW loops
Systematic 7-phase feature development with architecture design (SOLID, Clean Architecture, DDD) and automated QA-DEV-REVIEW loops. Use this for complex features requiring deep codebase understanding, multiple architecture options, and quality gates before implementation.
/plugin marketplace add avovello/cc-plugins/plugin install feature-development@cc-pluginsPurpose: Systematic feature development with deep codebase understanding, clarifying questions, multiple architecture options, and automated QA-DEV-REVIEW loops.
/feature "Add user authentication with OAuth2"
# With E2E browser testing for UI features
/feature "Add shopping cart UI" --e2e
This command guides you through a comprehensive feature development process that prioritizes understanding before building.
Goal: Clarify what needs to be built
Before any exploration or implementation, understand the requirements:
Gather Context:
Confirm Understanding:
Output: Clear problem statement and requirements summary
Goal: Understand relevant existing code at both high and low levels
Launch multiple parallel code-explorer agents to analyze:
Parallel Agent Calls:
code-explorer: "Trace how existing [similar feature] works end-to-end"
code-explorer: "Map the architecture layers for [relevant domain]"
code-explorer: "Find all integration points for [system component]"
code-explorer: "Analyze data models and relationships for [domain]"
Output: Comprehensive codebase analysis with file references and patterns
Goal: Resolve ALL ambiguities before proceeding
CRITICAL: This is one of the most important phases. DO NOT proceed until all questions are answered.
After exploration, present ALL unresolved ambiguities:
Format:
## Questions Requiring Answers
### Must Answer (Blocking)
1. [Critical question 1]
2. [Critical question 2]
### Should Clarify (Recommended)
1. [Important question 1]
2. [Important question 2]
### Nice to Know (Optional)
1. [Additional question 1]
PAUSE: Wait for user answers before proceeding to Phase 4.
Goal: Design robust architecture using proven principles and patterns
Launch code-architect agent with architecture skills to design the optimal solution.
The code-architect uses the following skills to ensure quality design:
| Skill | Purpose |
|---|---|
| solid-principles | Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion |
| clean-architecture | Layered structure with Dependency Rule (Entities → Use Cases → Adapters → Frameworks) |
| design-patterns | Creational, Structural, Behavioral patterns appropriate for the problem |
| domain-driven-design | Ubiquitous Language, Bounded Contexts, Strategic/Tactical patterns |
For the Recommended Approach:
Trade-offs Documented:
PAUSE: Wait for user to approve architecture before implementing.
Goal: Build the feature following approved architecture
IMPORTANT: Only proceed after explicit user approval of architecture.
Implementation Process:
Best Practices:
Goal: Ensure code quality through automated testing and review loops
1. Write Tests
↓
2. Run Tests
↓
3. Tests Fail? → Analyze Failures → Fix Code → Re-run (loop)
↓
4. All Pass → Continue to Review
Test Types:
Coverage Target: 80%+
Launch parallel code-reviewer agents to assess:
code-reviewer: "Check for simplicity and unnecessary complexity"
code-reviewer: "Verify correctness and edge case handling"
code-reviewer: "Ensure project convention adherence"
Review Categories:
Confidence-Based Filtering:
Loop Process:
1. Run Quality Checks (linters, formatters, security)
↓
2. Parallel Code Review
↓
3. Issues Found? → Fix Issues → Re-review (loop)
↓
4. All Clean → Continue to Summary
If --e2e flag is provided for UI features:
Run QA plugin commands:
- /e2e - Execute Playwright browser tests
- browser-tester agent for interactive testing
See also: QA plugin for standalone testing workflows
Goal: Document what was built and next steps
Summary Contents:
Format:
## Feature Implementation Summary
### Completed
- [x] Component 1 implemented
- [x] Component 2 implemented
- [x] Tests written (87% coverage)
- [x] Code review passed
### Key Decisions
1. Used Approach B because [reason]
2. Chose [pattern] for [reason]
### Files Changed
- src/services/FeatureService.js (new)
- src/controllers/FeatureController.js (new)
- src/models/Feature.js (new)
- src/routes/index.js (modified)
### Quality Metrics
- Test Coverage: 87%
- Linter: Pass
- Security Scan: Pass
### Next Steps
1. [Suggested follow-up 1]
2. [Suggested follow-up 2]
Deep codebase analysis agent that traces execution paths, maps architecture layers, and documents dependencies.
Use For: Understanding existing features, finding patterns, identifying integration points
Architecture design agent that applies SOLID principles, Clean Architecture, Design Patterns, and DDD to generate robust implementation blueprints.
Use For: Designing architecture with proven principles, defining component responsibilities, planning data flows
Skills: solid-principles, clean-architecture, design-patterns, domain-driven-design
Quality review agent with confidence-based issue filtering (80+ threshold).
Use For: Bug detection, code quality assessment, convention compliance
For features with UI components, use the --e2e flag:
/feature "Add shopping cart" --e2e
This integrates with the QA plugin for browser testing:
browser-tester agent1.2.0