Purpose
This skill helps you:- Generate atomic tasks that map 1:1 to git commits
- Pre-define commit messages with conventional format
- Document revert strategies per task
- Create review checklists for human reviewers
- Establish task ordering and dependency graphs
- Identify parallelization opportunities
- Mark checkpoints for rollback
When to use
Use this skill when:- Plan artifacts exist in
plan/(from plan-architect) - FASE files exist in
plan/fases/(from plan-architect) - The
task/directory is empty or outdated - Starting implementation and need atomic work items
- Onboarding developers who need a clear work breakdown
- Setting up a project board or issue tracker
Core principles
One task = one commit
Each task must be completable and committable independently. If a task requires other uncommitted work, those are dependencies, not parts of the same task.Reversibility by design
Every task document includes a revert strategy documenting what breaks if the commit is reverted and how to recover.Human reviewable
Each task has clear acceptance criteria and verification commands that a reviewer can run.Full traceability
Every task references:- FASE it belongs to (e.g., FASE-0)
- Spec documents it implements (e.g., UC-001, ADR-002)
- Invariants it must satisfy (e.g., INV-SEC-001)
- Requirements it fulfills (e.g., REQ-EXT-001)
- Plan section it derives from (e.g., PLAN-FASE-0 §3.2)
Specs as single source of truth
Derive tasks from what is specified in plan + FASE. Only write totask/. Flag gaps as [PLAN GAP] requiring plan-architect.
Task ID convention
Format:TASK-F{N}-{SEQ}
F{N}= FASE number (F0, F1, F2, …, F8){SEQ}= 3-digit sequential number within the FASE (001, 002, …, 999)
TASK-F0-001: First task of FASE 0 (Bootstrap)TASK-F0-042: 42nd task of FASE 0TASK-F3-015: 15th task of FASE 3
[P] (parallelizable).
Process
Inventory and validation
Read all FASE files, per-FASE plans, architecture, global plan, and glossary. Validate prerequisites: FASE files exist, plan artifacts exist for target FASEs, glossary exists, FASE files are current.
FASE analysis
For each FASE, extract success criteria (become acceptance criteria groups), specs to read (become traceability references), applicable invariants (become validation constraints), resulting contracts (become deliverable tasks), scope, and dependencies.
Plan decomposition
Decompose plan sections into atomic tasks:
- 1 task per entity
- 1 task per route-group
- 1 task per middleware
- 1 task per service class
- 1 task per schema change
- 1 task per source file that needs tests
- 1 task per config concern
- 1 task per integration
Dependency resolution
Establish task ordering and parallel opportunities. Identify files each task creates/modifies (write-set) and files it reads/imports (read-set). Task B depends on Task A if B’s read-set intersects A’s write-set. Mark independent tasks as [P] (parallelizable).Phase ordering within each FASE:
- Setup: project structure, dependencies, configuration
- Foundation: shared infrastructure (DB schemas, middleware, base classes)
- Domain: entities, value objects, domain services
- Contract: API routes, handlers, event schemas
- Integration: wiring, event handlers, background jobs
- Test: unit tests, integration tests, BDD scenarios
- Verification: end-to-end validation, checkpoint
Commit message generation
Pre-generate conventional commit messages for each task using format:Types: feat (new functionality), fix (bug fixes), refactor (restructuring), test (tests), chore (config/build), docs (documentation), ci (CI/CD), perf (performance).
Revert strategy generation
For each task, document revert impact and recovery steps:
- Revert command:
git revert <sha> --no-edit - Impact: what breaks if reverted
- Recovery: steps to recover after revert
- Safe to revert independently: yes/no
- Requires coordinated revert with: list of coupled tasks
Review checklist generation
Generate per-task review checklist:
- Code compiles without errors
- Follows ubiquitous language from glossary
- Satisfies acceptance criteria
- Referenced invariants are enforced
- No secrets or credentials in code
- Error handling follows ADR patterns
- Domain-specific checks based on task type
Document generation
Generate per-FASE task files (
TASK-FASE-{N}.md), global index (TASK-INDEX.md), and implementation order (TASK-ORDER.md) with dependency graph, critical path, and parallel opportunities.Validation
Verify:
- Every FASE success criterion maps to at least one task
- Every resulting contract has implementation tasks
- Every applicable invariant has enforcement in at least one task
- No circular dependencies in task graph
- Every task has a commit message, acceptance criteria, and revert strategy
- All task IDs follow format
- Critical path identified
What this stage produces
The task generator generates:-
Per-FASE task files at
task/TASK-FASE-{N}.mdwith:- Summary metrics (total tasks, parallelizable count, tasks per phase)
- Traceability table (spec reference → task coverage)
- Tasks organized by internal phase (setup, foundation, domain, contract, integration, test, verification)
- Each task with: ID, description, file path, commit message, acceptance criteria, refs, revert strategy, review checklist
- Task dependency graph
- Critical path
- Parallel execution plan
-
Global task index at
task/TASK-INDEX.mdwith:- Summary by FASE (tasks, parallelizable count, status)
- Flat list of all tasks across all FASEs
- Traceability matrix (spec → tasks)
-
Implementation order at
task/TASK-ORDER.mdwith:- FASE dependency graph
- Recommended implementation sequence (waves)
- Cross-FASE dependencies
- MVP strategy (minimum FASEs for deployable product)
- Incremental delivery checkpoints
Real example
Pipeline integration
This skill is Step 5 of the SDD pipeline:plan/fases/FASE-*.md, plan/PLAN-FASE-*.md, plan/ARCHITECTURE.md, plan/PLAN.md
Output: task/TASK-FASE-{N}.md, task/TASK-INDEX.md, task/TASK-ORDER.md
Next step: Run task-implementer to implement code from task documents one task at a time