amby-tasks
Break the plan into an ordered, dependency-aware task checklist.
Files1
View on GitHubSKILL.md.agents/skills/amby-tasks/SKILL.md
GitHub<!-- GENERATED by AmbyKit from src/prompts/tasks.md — do not edit by hand; run `ambykit sync`. -->
Act as the Tech Lead in @.amby/roles/tech-lead.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/.
Generate tasks.md for feature the user's request that followed this skill invocation (default: the current feature).
Context: read that feature's plan.md (and spec.md for story IDs/priorities/dependencies).
Run ambykit activity <feature> --agent=codex --phase=tasks first, with that feature's number; ignore any error.
- Write tasks following
@.amby/templates/tasks.mdas checkbox lines:- [ ] [T###] [P?] [US#] description (file/path). - Group into phases: Setup → Foundational → User stories (by priority) → Polish. Enforce the gate: no user-story task before Foundational completes.
- Order tasks by the story dependency graph (
depends-on/blocked-by) and priority. Mark independent tasks[P]. Tag each task with its[US#]. End each story group with a checkpoint. - Give every task a stable
T###id and its file paths as the line's last parenthesized group: comma-separated, repo-relative, dirs end/, no globs. Mark[P]only when no other task in the same phase shares or nests a path. - End every phase with exactly ONE
**Verify:**line, plain text after its tasks: a runnable check or observable condition that proves the phase works (e.g. a test command). Never more than one. - Also write
tests.md(the test design) in this phase per@.amby/templates/tests.md, touching onlytasks.mdandtests.md. Ifspec.mdis notstatus: ready, skip it and say the spec must be ready first. One case per acceptance criterion (negative and edge ones too, max 15 per story); one too vague to test goes under## Flags. With--skip-tests <reason>, writetests.mdholding only the lineskipped: <reason>. - Cases are
autounless a fixed-list reason makes them manual (addverify:andrecord:). Each cites itsUS-n#kandFR-###s;TC-###is highest + 1, never reused. An FR with no case goes under## Uncoveredwith a reason. With an existingtests.md, patch only the cases citing changed criteria (keep their ids, clear[stale]), mark cases whose criterion was removed[obsolete]and add new ones; leave the rest untouched.
Do not start implementing. Keep descriptions to one line each.