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).
- From
tasks.md, pick the target task(s). 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. - Patch in place: flip the completed task's checkbox to
- [x]intasks.md; when all of a story's tasks are done, set that story'sstatus: doneinspec.md(orin-progresswhile partway). Don't rewrite untouched sections. - Report what you did and the next unblocked task. Stop at a story checkpoint for review.