Guided feature development with codebase understanding and architecture focus
npx claude-code-templates@latest --skill ••••••••••••••••••••Unlock this skill to run and inspect the interactive installation sequence.
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, implement, test thoroughly, then review.
---
Goal: Understand what needs to be built
Initial request: $ARGUMENTS
Actions:
- What problem are they solving?
- What should the feature do?
- Any constraints or requirements?
---
Goal: Understand relevant existing code and patterns at both high and low levels
Actions:
- Trace through the code comprehensively and focus on getting a comprehensive understanding of abstractions, architecture and flow of control
- Target a different aspect of the codebase (eg. similar features, high level understanding, architectural understanding, user experience, etc)
- Include a list of 5-10 key files to read
Example agent prompts:
- "Find features similar to [feature] and trace through their implementation comprehensively"
- "Map the architecture and abstractions for [feature area], tracing through the code comprehensively"
- "Analyze the current implementation of [existing feature/area], tracing through the code comprehensively"
- "Identify UI patterns, testing approaches, or extension points relevant to [feature]"
---
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 comprehensive test coverage and all tests pass
Actions:
- Unit tests: Focus on individual functions, edge cases, error handling
- Integration tests: Focus on component interactions, data flow, API contracts
Each agent should analyze the new code and provide:
- Test cases with full implementation code
- Priority ranking (critical/important/nice-to-have)
- Required mocks and fixtures
- Consolidate test recommendations from both agents
- Prioritize critical tests that must be implemented
- Present test plan to user for approval
- Write the approved test cases following project conventions
- Set up required mocks and test fixtures
- Ensure tests are well-organized and maintainable
- Execute the full test suite (or relevant subset)
- Analyze any failures with root cause diagnosis
- Provide specific fixes for failing tests
- If tests fail due to implementation bugs, fix the implementation
- If tests fail due to test issues, fix the tests
- Re-run tests until all pass
- Do not proceed to Quality Review until all tests pass
---
Goal: Ensure code is simple, DRY, elegant, easy to read, and functionally correct
Actions:
---
Goal: Document what was accomplished
Actions:
- What was built
- Key decisions made
- Files modified
- Test coverage achieved
- Suggested next steps
---
# Step 1: Initialize skill agent setup
npx skills add Feature Dev --install-production
python -m pip install -r requirements.txt
codex plugin install Feature Dev@latest
export API_KEY=secret_token_key_here
Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.
Get instant access to complete setup guides, repository source code, and integration assets.
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Multi-framework structured analysis: surfaces hidden assumptions, generates competing solutions, stress-tests each with adversarial reasoning, and delivers confidence-calibrated recommendations
Generate comprehensive architecture documentation with diagrams, ADRs, and interactive visualization