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.
This will implement a full feature from ticket to PR (branch, code, tests, commit, push)
Uses TDD — writes tests first, then implementation
Creates a PR on GitHub when complete
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.
Input
$ARGUMENTS — a ticket ID (e.g., PROJ-1784, 1784).
Optional flags:
— stop after Phase 3 (plan only, don't implement)
Skills relacionados
--draft
--skip-review — skip Phase 6 review agents (faster but less thorough)
Check: test tooling — use your org's standard mocking + assertion libraries (not hand-written stubs)
HTTP handler pattern: Search 3+ similar repos in your org for the exact framework + handler convention. Use the established framework — NOT a different one
Package naming: Check sibling directories for naming pattern. Match existing siblings, don't invent new conventions
Convention scan (BEFORE creating packages): Run ls on sibling directories to confirm naming patterns. Check acronym conventions (all-caps or mixed?), spelling conventions (American or British?), mock generation patterns
Config defaults: Environment-specific values (callback URLs, service URLs) must have empty defaults. Let environment variables and deployment config set the actual values
Infrastructure client errors: New infrastructure clients must return errors gracefully — NOT crash the process. Match existing graceful degradation patterns
Agent 3: Prototype & Design Alignment
If a prototype exists, extract field definitions
If tech design exists, extract proposed structs
Cross-reference: API schema x prototype x tech design
Flag any mismatches BEFORE coding
Gate: All 3 agents must complete. Review their findings. Flag and resolve any mismatches.
Phase 2: Architect (addresses: inconsistency across types)
Design all related types together — if multiple content types or entities are involved, design them ALL before implementing any. Check for:
Same field pattern across similar types
Shared constants (typed enums, not magic strings)
Shared validation helpers
Write the implementation plan to the plan file:
List every file to create/modify
List every struct/type with all fields (cross-referenced against API + prototype)
List every validation rule with its constraint source
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:
Happy path (valid input)
Required field missing
Field exceeds max length (use multi-byte text like Thai/emoji for Unicode testing)