amby-implement
Execute the task list, checking off tasks and updating story status as you go.
SKILL.md.agents/skills/amby-implement/SKILL.md
GitHub<!-- GENERATED by AmbyKit from src/prompts/implement.md — do not edit by hand; run `ambykit sync`. -->
Act as the Developer in @.amby/roles/developer.md and say so in your first line. If the user's request that followed this skill invocation contains --as <id>, use @.amby/roles/<id>.md instead; if that file is missing, stop and list the files in .amby/roles/.
Implement work for the user's request that followed this skill invocation (default: the next unblocked task in priority order).
Run ambykit activity <feature> --agent=codex --phase=implement first, with that feature's number; ignore any error.
- From
tasks.md, pick the target task(s). If.amby/lane/lane.jsonexists you are in a lane: work only the task ids it lists. Respect the Foundational-before-features gate and the story dependency graph — never start a task whose story isblocked-byunfinished work. - Load only the slice you need: the task line, the relevant
plan.mdsection, and the specific files named. Don't read the whole spec tree (token-frugal). - Implement to satisfy the mapped
FR-###/acceptance criteria and the constitution. Add/adjust tests for the acceptance criteria: build to the story's cases intests.mdand name testsNNN:FR-###: …; at the story checkpoint say iftests.mdis missing, never pass silently. If you cannot finish a task, add⚠ BLOCKED: <reason>as the last segment of its line (after the(file/path)group), stop that task and continue with another unblocked one; note any departure from the plan as↪ DEVIATION: <note>. Remove⚠ BLOCKED:once resolved. - Patch in place: flip the completed task's checkbox to
- [x]intasks.md; set the story'sstatus: in-progressinspec.mdwhile it is partway. Don't rewrite untouched sections. After each checked task, runambykit activity <feature> --agent=codex --phase=implement --task=T###(ignore errors). - At a phase checkpoint, run that phase's
**Verify:**check before passing it (no Verify line: say so and continue). Write the result at the end of that line, replacing any earlier one:✓ passed,✗ failed: <why>or? unverified. Never pass the checkpoint on a failure: fix it and run again. If you cannot run the check, ask a person to run or confirm it and record? unverified. Only once the Verify has passed (or there is none) and all of a story's tasks are done, set that story'sstatus: done. In a lane, record the result after the phase's lanes are merged. - Report what you did and the next unblocked task. Stop at a story checkpoint for review.