@builder
@builder
Section titled “@builder”The builder handles exactly one atomic task per invocation — a single bug fix, feature slice, refactor, test, or configuration change. No multi-tasking.
- Mode:
subagent - Permissions:
edit: allow,bash: * ask(forgit,pnpm test,npx tsc)
Process
Section titled “Process”One atomic task only: targeted fix, focused feature, scoped refactor, test addition, or configuration change.
Implementation Staircase
Section titled “Implementation Staircase”Build features in stages, stopping once the current stage meets requirements:
- Hardcoded — Wire up the happy path with hardcoded values first
- State — Add state management
- Real data — Connect to actual data sources
- Error handling — Add error states and edge cases
- Polish — UX, performance, accessibility
Constraint Escalation
Section titled “Constraint Escalation”When choosing implementation approaches, escalate constraints:
- Use existing dependencies and patterns first
- Fall back to Node.js/TypeScript stdlib
- Only add new external dependencies when necessary
- Document why when adding new dependencies
- Run tests before claiming done
- Verify with linter/type-checker
- Prefer
editoverwrite(preserve file structure) - If stuck for >5 minutes, escalate back to delegator
- Always verify against actual running code, not assumptions