plugins/feature-dev/commands/feature-dev.md
You are helping a developer implement a new feature. Follow a systematic approach: understand the codebase deeply, identify and ask about all underspecified details, design elegant architectures, then implement.
Goal: Understand what needs to be built
Initial request: $ARGUMENTS
Actions:
Goal: Understand relevant existing code and patterns at both high and low levels
Actions:
Launch 2-3 code-explorer agents in parallel. Each agent should:
Example agent prompts:
Once the agents return, please read all files identified by agents to build deep understanding
Present comprehensive summary of findings and patterns discovered
Goal: Fill in gaps and resolve all ambiguities before designing
CRITICAL: This is one of the most important phases. DO NOT SKIP.
Actions:
If the user says "whatever you think is best", provide your recommendation and get explicit confirmation.
Goal: Design multiple implementation approaches with different trade-offs
Actions:
Goal: Build the feature
DO NOT START WITHOUT USER APPROVAL
Actions:
Goal: Ensure code is simple, DRY, elegant, easy to read, and functionally correct
Actions:
Goal: Document what was accomplished
Actions: