Implement
Remain in this skill for follow-ups. Do not activate another Buddy skill or act outside this skill; only an explicit user request or the calling develop orchestrator can select the next skill.
Implement only the authorized request/spec. Do not expand scope or continue into unrelated work.
Input modes
- Specified: the request references an approved
spec_<work-name>.md path; resume its TODOs and ## AGENT LOG.
- Direct: without an approved spec path, form a short working brief: outcome, exclusions, affected contracts, risks, and exact verification. Do not create a spec for narrow decision-complete work.
- If a material product/architecture decision is unresolved, stop and require
spec.
Engineering rules
- Change only authorized paths; remove only change-created orphans.
- Before editing, load the engineering contract and only the applicable overlay: Java/Kotlin, Python, or TypeScript/JavaScript.
- Use current primary library/API/SDK/CLI documentation. Find references before changing public signatures.
- Preserve comments unless correcting them.
- Reuse the spec worklog. For direct work, create
.ai/worklog/<yyyyMMdd>_<work-name>/trash/ only if scratch files are needed.
Spec execution
- Walk phases in dependency order; skip phases already marked SUCCESS.
- Run
agent: Main locally; otherwise dispatch one worker for one phase, giving its brief, files_touched, success criteria, and out-of-scope boundary.
- Dispatch mutually declared
parallel_with phases together only after confirming different projects, disjoint files, no dependency, and no shared mutable state.
- Resolve model and reasoning overrides through model-policy; omit unsupported values.
- Never delegate the whole spec or multiple phases to one worker. Workers never ask the user and return:
status: SUCCESS | FAILURE | BLOCKED
files_changed: [<paths>]
log:
- <outcome>
blockers: []
Verify gate
- Run every phase success criterion, or all direct-brief compile, lint, and test commands.
- Retry a failure once; after the second failure, record FAILURE and stop.
- Only after verification passes, mark TODOs and
## AGENT LOG.
- Never complete work while an applicable command is missing or failing.
For specified work, record:
## AGENT LOG
- Phase 1 SUCCESS — <outcome>; files: <paths>
For front-end work, also apply the front-end principles.
1---2name: implement3description: Implement or fix decision-complete code directly, or execute an approved spec phase with verification. Use for build/fix requests or an approved spec path; route unresolved product or architecture decisions to spec. Remain active for follow-ups until an explicit user request or the calling `develop` orchestrator selects another skill.4---56# Implement78Remain in this skill for follow-ups. Do not activate another Buddy skill or act outside this skill; only an explicit user request or the calling `develop` orchestrator can select the next skill.910Implement only the authorized request/spec. Do not expand scope or continue into unrelated work.1112## Input modes1314- **Specified:** the request references an approved `spec_<work-name>.md` path; resume its TODOs and `## AGENT LOG`.15- **Direct:** without an approved spec path, form a short working brief: outcome, exclusions, affected contracts, risks, and exact verification. Do not create a spec for narrow decision-complete work.16- If a material product/architecture decision is unresolved, stop and require `spec`.1718## Engineering rules19201. Change only authorized paths; remove only change-created orphans.212. Before editing, load the [engineering contract](reference.md#engineering-contract) and only the applicable overlay: [Java/Kotlin](references/java-kotlin.md), [Python](references/python.md), or [TypeScript/JavaScript](references/typescript-javascript.md).223. Use current primary library/API/SDK/CLI documentation. Find references before changing public signatures.234. Preserve comments unless correcting them.245. Reuse the spec worklog. For direct work, create `.ai/worklog/<yyyyMMdd>_<work-name>/trash/` only if scratch files are needed.2526## Spec execution27281. Walk phases in dependency order; skip phases already marked SUCCESS.292. Run `agent: Main` locally; otherwise dispatch one worker for one phase, giving its brief, `files_touched`, success criteria, and out-of-scope boundary.303. Dispatch mutually declared `parallel_with` phases together only after confirming different projects, disjoint files, no dependency, and no shared mutable state.314. Resolve model and reasoning overrides through [model-policy](../model-policy/SKILL.md); omit unsupported values.325. Never delegate the whole spec or multiple phases to one worker. Workers never ask the user and return:3334```yaml35status: SUCCESS | FAILURE | BLOCKED36files_changed: [<paths>]37log:38 - <outcome>39blockers: []40```4142## Verify gate43441. Run every phase success criterion, or all direct-brief compile, lint, and test commands.452. Retry a failure once; after the second failure, record FAILURE and stop.463. Only after verification passes, mark TODOs and `## AGENT LOG`.474. Never complete work while an applicable command is missing or failing.4849For specified work, record:5051```markdown52## AGENT LOG53- Phase 1 SUCCESS — <outcome>; files: <paths>54```5556For front-end work, also apply the [front-end principles](reference.md#front-end-principles).