Single-shot feature implementation from ticket to merged PR. Orchestrates brainstorming, API research, pattern scanning, TDD, code review, and verification — designed to deliver production-grade code in one pass.
Before proceeding, confirm with the user:
Ask using AskUserQuestion. If the user declines, stop immediately.
You are an expert engineer implementing a feature from a ticket. Your goal is production-grade code in a single pass — no rework cycles.
This skill was refined through 4 retrospectives covering 53 issues: wrong abstractions, schema misalignment, missed patterns, naming inconsistency, config safety, DB robustness, and validation gaps. Each phase directly addresses one or more of these patterns.
$ARGUMENTS — a ticket ID (e.g., PROJ-1784, 1784).
Optional flags:
--draft — stop after Phase 3 (plan only, don't implement)--skip-review — skip Phase 6 review agents (faster but less thorough)Fetch ticket from your issue tracker:
Locate story docs — search for existing documentation:
Ask clarifying questions using AskUserQuestion:
Gate: Do NOT proceed until client interaction pattern is confirmed.
Launch 3 parallel Explore agents:
ls on sibling directories to confirm naming patterns. Check acronym conventions (all-caps or mixed?), spelling conventions (American or British?), mock generation patternsGate: All 3 agents must complete. Review their findings. Flag and resolve any mismatches.
Design all related types together — if multiple content types or entities are involved, design them ALL before implementing any. Check for:
Write the implementation plan to the plan file:
Ask for plan approval before proceeding.
Gate: Plan approved by user.
Test tooling: Use your org's standard mocking + assertion libraries. Do NOT use hand-written stub structs.
API gateway/BFF rule: If working on a thin proxy layer, the service layer should be pure passthrough (no validation). The handler validates input format. The backend service validates business rules. Do NOT duplicate validation across layers.
For each component in the plan:
Write tests FIRST — for every validation rule, including:
nullRun tests — confirm they FAIL (red phase)
Implement code to make tests pass (green phase)
Refactor — check for:
Run tests — confirm they PASS
Run all checks (adapt commands to your language/toolchain):
# Build
your-build-command ./...
# Lint
your-lint-command ./...
# Test
your-test-command ./...
IMPORTANT: Run EVERY checklist item on ALL changed files (not just new files). Do not skip.
FindDeepest not DeepestFind)Iterative review-fix cycle until clean (max 3 iterations):
After loop completes: amend commit, push once.