Step 5: Tasks
Break the defined spec into traceable tasks inside spec.md and pass the Plan Gate.
Skill: fireskill-05-tasks · Asks questions: no (goes back to the backlog if a decision is missing) · Changes: sections 14 and 15 of spec.md; moves the spec to specs/planned/
When to use it
The spec has Definition Gate: Passed and sits in specs/defined/. The flow gets here by itself after Step 4.
What to type
Use $fireskill-05-tasks para preencher tarefas rastreáveis com checklist PREP/EXECUTE/VERIFY/VISUAL/EVIDENCE/IMPROVE em specs/<estado>/<NNNN>-<slug>/spec.md. Orquestre transições automáticas com anúncio, execução e retomada na mesma conversa.
What the agent does
- Requires
Formato: Specsfy/2.0,Definition Gate: PassedandStatus: Defined. It runs the context monitor and inspects the real stack, commands and paths (layers/*,apps/*) before it writes anything. - Replaces only sections
14. Tarefasand15. Ordem de execuçãoof the samespec.md. It never createstasks.md. - Writes each task in this format:
- [ ] T001 [TEST] [TDD] [US-001] Derivar teste Vitest do BDD da spec em layers/teams/shared/utils/abilities.test.ts — Refs: FR-002, AC-003 — Depends: none - [ ] T002 [CODE] [US-001] Implementar validação em layers/teams/server/trpc/teams.ts — Refs: FR-002, AC-003 — Depends: T001
Allowed tags after the ID:[P](can run in parallel),[TEST],[TDD],[CODE],[DOC],[OPS],[US-NNN], and[MIGRATION]together with[CODE]or[OPS]. - Gives every task the same checklist, in this order:
- [ ] **PREP**: Confirmar escopo, IDs, dependências e baseline. - [ ] **EXECUTE**: Produzir a entrega no caminho declarado. - [ ] **VERIFY**: Executar a verificação focal adequada. - [ ] **VISUAL**: Conferir bordas, espaçamentos, margens, padding e tipografia do sistema; se não houver interface, registrar `Não aplicável` e o motivo. - [ ] **EVIDENCE**: Registrar comando, resultado e IDs nas seções 11–13. - [ ] **IMPROVE**: Registrar melhoria aplicada ou ausência justificada. - Applies the rules that come from the spec:
- one
[TEST] [TDD]task perAC, and every[CODE]task depends on its TDD predecessor with a valid RED; - a separate
[CODE] [MIGRATION]task whenever the schema changes, pointing at a versioned file inapps/functions/src/database/migrations/(generated bydrizzle-kit generate). ItsVERIFYrecords two commands approved bycheck_database_safety.mjs: one applies the migration to the test database, one queries the migration state; - a
[DOC]task for.fireskills/STACK.mdwhen manifests or structure change, and for.fireskills/DATABASE.mdwhen the database changes; - for a screen: tasks for each screen, menus, forms and actions, in a subsection
#### Fase de interface, and a task that updates.fireskills/INTERFACE.md. Every task that writes a.vuewithU*components lists$fireskill-specialist-nuxt-uiinPREP.
- one
- Validates:
node fireskills/skills/fireskill-05-tasks/scripts/validate_tasks.mjs specs/defined/<NNNN>-<slug>/spec.md --allow-draft node fireskills/skills/fireskill-05-tasks/scripts/validate_interface_tasks.mjs specs/defined/<NNNN>-<slug>/spec.md
The second one runs when the delivery has a screen. Up to three fix cycles. - While
Plan Gate: Pending, it hands off to$fireskill-06-tdd-bddinpreparemode to write the first failing test (see Step 6), then resumes:Plan Gate: Passed,Status: Planned, result written to section 13, andbun run fireskill transition <id> planned.
If validation fails, the spec stays Defined with Plan Gate: Failed, and the agent reports what blocks it.
Result
A spec.md in specs/planned/<NNNN>-<slug>/ with the full task list, ordered by dependency, and Plan Gate: Passed.
Next
Automatic: Step 7: Implement, after the failing tests of Step 6 exist.
Ready to build and launch your SaaS?
Get 100% full source code ownership, zero proprietary wrappers, and architecture engineered for millions of requests on Cloudflare.