Skill: Develop Feature
End-to-end feature development — from idea to pull request in a single command.
When to use
When you want to design, implement, validate, and ship a feature without manually invoking each skill. This skill orchestrates the full development lifecycle.
What it does
Chains these skills in order, with user decision points between each:
/design-feature → Design doc + implementation tasks
↓
/review-design → Validate design against codebase
↓
/implement-feature → Execute implementation tasks
↓
/validate-feature → Verify completeness and quality
↓
/iterate-feature → Fix issues (if needed, may loop)
↓
/finalize-feature → Branch, commit, PR
Phases
Phase 0 — Intake
- Accept the feature name/description from the user.
- Check if a design doc already exists for this feature (search
docs/*_DESIGN.md).
- If found: ask "Design doc exists at
<path>. Skip design phase and start from review/implementation?" - If not found: proceed with full lifecycle.
- Ask: "Full lifecycle (design → PR), or start from a specific phase?"
- Options: full, design-only, implement (skip design), validate-only, iterate-only, finalize-only
- Default: full lifecycle
Phase 1 — Design
Skill: /design-feature
- Execute the design-feature skill for the given feature name.
- This produces
docs/<FEATURE_NAME>_DESIGN.mdwith problem statement, design, and implementation tasks. - Decision point: Present the design doc summary to user.
- Ask: "Design complete. Review it now, or proceed directly to implementation?"
- If review: continue to Phase 2
- If skip review: jump to Phase 3
Phase 2 — Review
Skill: /review-design
- Execute the review-design skill against the design doc.
- This validates the design against the actual codebase and fixes discrepancies.
- Decision point: After review completes:
- Ask: "Design reviewed and updated. Ready to implement?"
- If yes: continue to Phase 3
- If no: user may want to manually edit the design doc first
Phase 3 — Implement
Skill: /implement-feature
- Execute the implement-feature skill for the feature.
- This includes: loading design, codebase analysis, pre-implementation quiz, execution plan, task implementation with tests, integration checks.
- Decision point: After implementation summary:
- Ask: "Implementation complete. Run validation?"
- If yes: continue to Phase 4
- If no: user may want to manually test first
Phase 4 — Validate
Skill: /validate-feature
- Execute the validate-feature skill.
- This checks: build, tests, design compliance, code quality, integration.
- Decision point: Based on verdict:
- If READY FOR REVIEW: ask "Validation passed. Finalize (branch + PR)?"
- If yes: jump to Phase 6
- If no: stop here
- If NEEDS ITERATION: ask "Issues found. Run iteration to fix them?"
- If yes: continue to Phase 5
- If no: stop here, user will fix manually
Phase 5 — Iterate
Skill: /iterate-feature
- Execute the iterate-feature skill with the issues from validation.
- This triages issues, plans fixes, executes them, and re-validates.
- Loop: If re-validation still shows issues:
- Ask: "Some issues remain. Run another iteration round?"
- If yes: repeat Phase 5
- If no: proceed to Phase 6 anyway (user accepts current state) or stop
- Maximum 3 iteration rounds before requiring user decision on whether to continue.
- After clean re-validation: ask "All issues resolved. Finalize?"
Phase 5.5 — Docs sweep (mandatory, before finalize)
Every feature ships a docs update. After a clean validation, audit
docs/site/docs/ for pages that need to change because of this work and
create new pages where required. The full procedure is documented as
Phase 0.5 in /finalize-feature — this phase exists in the parent
flow as a hard gate so that finalize doesn't have to recover from a
"no docs touched" situation.
- Diff the implementation against the user-facing surface (providers,
CLI, settings.json, daemon, integrations, TUI, paths, env vars).
- Update or create the relevant pages under
docs/site/docs/. - Build the docs site (
DOCS_PREVIEW=1 npm run buildindocs/site/)
and confirm [SUCCESS] with no broken-link warnings.
- If you find no docs change is needed, write a one-line justification
that goes in the PR description ("no docs change required because
…").
This phase is not optional and not deferrable. A PR that ships code
without the matching docs update gets bounced.
Phase 6 — Finalize
Skill: /finalize-feature
- Execute the finalize-feature skill.
- This creates the branch, commits with proper message, and opens a PR.
- The PR description must include a "Docs impact" section produced
in Phase 5.5.
- Report the PR URL.
Phase 7 — Summary
Produce a lifecycle summary:
## Development Complete
Feature: <name>
Design doc: <path>
PR: <url>
### Lifecycle
| Phase | Status | Duration |
|-------|--------|----------|
| Design | COMPLETE | — |
| Review | COMPLETE | — |
| Implementation | COMPLETE (N tasks) | — |
| Validation | PASS | — |
| Iteration | 1 round (3 fixes) | — |
| Finalization | PR #123 opened | — |
### Files Changed
<count> files across <count> packages
### Tests Added
<count> new test functions
### Design Doc
<path> (updated during implementation)
Decision Points Summary
The skill pauses at these points for user input:
- After intake: Full lifecycle or specific phase?
- After design: Review or skip to implementation?
- After review: Ready to implement?
- After implementation: Run validation?
- After validation: Finalize or iterate?
- After iteration: Finalize or iterate again?
- After finalization: Done!
Each pause is a natural stopping point. Users can exit at any phase and resume later using the individual skill commands.
Rules
- Always pause at decision points — never auto-proceed through the full lifecycle without user confirmation.
- If any phase fails catastrophically (build broken, design fundamentally flawed), stop and report. Don't try to push through.
- Respect phase skip requests — if user says "skip design, I already have a design doc", start from review or implementation.
- Maximum 3 iteration rounds before escalating — if issues persist after 3 rounds, something is fundamentally wrong.
- Each phase follows its own skill's rules completely — this skill only orchestrates, it doesn't override individual skill behavior.
- If the user interrupts or changes direction mid-lifecycle, adapt gracefully. The lifecycle is a guide, not a cage.
- Track which phases completed so the user can resume from where they left off if the session ends.
Quick Reference
# Full lifecycle
/develop-feature "daily spend trends"
# Skip design (design doc already exists)
/develop-feature "daily spend trends"
→ "Design doc exists. Skip design phase and start from review/implementation?"
→ "implement"
# Just validate + iterate + finalize
/develop-feature "daily spend trends"
→ "Start from a specific phase?"
→ "validate"