| name | feature |
| description | End-to-end workflow to implement a new feature: clarify, spec, plan, implement, test, refactor, docs. |
Description
A comprehensive workflow for implementing a new feature from idea to completion.
General rules
- Ask if anything is unclear - do not guess
- All phases are mandatory - do not skip without user approval
- Track non-trivial steps with tasks
Skill-specific rules
- Always follow the whole workflow - do not skip or reorder phases without user approval
- Once the feature specification is confirmed, do not modify without user approval
Phase 1: Preparation
- Each step ends with user review and confirmation before proceeding
- If user rejects at any step, iterate on that step until confirmed
- Resume from the appropriate step after confirmation
1.1: Clarify
- Ask clarifying questions about any ambiguous or missing details in the feature description
- Present the user a polished, complete description of the feature
- Ask user to confirm or refine the description
- If confirmed, proceed to 1.2
1.2: Feature Specification
- Use
/bdd-spec to update existing or create a new feature specification
- Present the specs to the user for review
- Ask user to confirm or refine the specs
- If confirmed, proceed to 1.3
1.3: Implementation Planning
- Use Plan agent to create an implementation plan
- Present the plan to the user for review
- Ask user to confirm or refine the plan
- If confirmed, proceed to Phase 2
Phase 2: Execution
2.1: Implementation
- Implement the feature according to the approved plan
- Verify the implementation compiles and passes existing tests
- Proceed to 2.2
2.2: Testing
- Use
/bdd-test to create feature tests
- Run tests and fix any failures
- Proceed to 2.3
2.3: Refactor
- Use
/refactor to review and improve the implementation
- Apply any recommended refactoring
- Proceed to 2.4
2.4: Documentation
- Use
/readme to update documentation if applicable
- Verify README reflects the new feature
- Proceed to phase 3
Phase 3: Verification
- Consistency: Verify implementation matches the specification