원클릭으로
tasks
Break plan into minimal verifiable tasks with 5-dimension verification metadata.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Break plan into minimal verifiable tasks with 5-dimension verification metadata.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when a request will produce frontend UI, a visual asset, an image prompt, or a video prompt, AND the intent/style is not already fully specified by the user or an existing design system in the repo. Forces a minimal, checkable design-context object to exist before generation so output does not default to generic/templated. Do NOT use for: single-property edits (color, spacing, copy tweak) with no ambiguity; bug fixes; refactors; or when the user already gave complete visual specs and you only need to execute. For those, just do the work.
Root orchestrator. Reads durable state, routes to one phase, dispatches fresh workers.
Pre-implementation alignment gate. Checks spec / plan / tasks consistency and plan vs codebase reality before code is written.
Define the goal: what problem we solve, for whom, and what success looks like. The directional anchor that architecture and specs must serve.
RED-GREEN-REFACTOR implementation per task. Each task passes before next. Produces handoff.md with reproducible evidence.
Design architecture: components, API schema, DB model, impact analysis, test strategy.
| name | tasks |
| description | Break plan into minimal verifiable tasks with 5-dimension verification metadata. |
| inputs | ["spec.md","plan.md"] |
| outputs | [".agents-stack/workstream/<ws-id>_{YYYYMMDD}/tasks.md",".agents-stack/workstream/<ws-id>_{YYYYMMDD}/status.json"] |
| boundaries | Task breakdown only. No implementation. No design changes. |
Decompose the plan into a strictly ordered sequence of verifiable tasks. Each task is a self-contained unit with embedded 5-dimension verification. This document is the execution script for the implement phase.
# Tasks: [Brief Title]
**Workstream ID:** `<id>`
**Plan Referenced:** [date or version]
**Total Tasks:** `<N>`
**Execution Order:** DAG-based — tasks with no mutual dependencies may execute in parallel. Groups execute sequentially.
---
## TASK-1: Scaffold Test Infrastructure
**Depends On:** None
**Parallel Group:** Group A
**Shared Resources:** None (scaffold only)
### 1. Align Spec
- SPEC.md — overall quality bar: all ACs must be testable
### 2. Coverage Checklist
- [ ] Test framework configured and running
- [ ] Test database/seeding utilities in place
- [ ] CI-compatible test runner command exists (e.g., `npm test`)
- [ ] Fixture/mock helpers scaffolded for core entities
### 3. Deliverables
- Test configuration files — ensure test runner passes (even with no tests)
- Test utility helpers — factories, seeders, cleanup routines
### 4. Verification Checkpoints
- [ ] `npm test` runs and exits 0 (no tests is fine, no errors)
- [ ] Test DB can be created, migrated, seeded, and torn down
- [ ] Coverage tool configured and reporting
### 5. Definition of Done
- Coverage ≥ 80%, all checkpoints green
- Test infrastructure ready for RED-GREEN-REFACTOR workflow
---
## TASK-N: [Task Name]
**Depends On:** TASK-01, TASK-03 (or None if independent)
**Parallel Group:** Group B (or same group if parallel with other tasks)
**Shared Resources:** `src/schema.ts`, `prisma/schema.prisma` (or None if no overlap)
### 1. Align Spec
- SPEC.md §X — [specific requirement reference]
- AC-00X — [acceptance criterion this task satisfies]
### 2. Coverage Checklist
- [ ] [Test scenario that must be covered]
- [ ] [Test scenario that must be covered]
### 3. Deliverables
- `path/to/file.ts` — [what this file adds/changes]
- `path/to/test.ts` — [corresponding test file]
### 4. Verification Checkpoints
- [ ] [Runnable command — `npm test`, `curl localhost:PORT/path`, `python -c "..."`. Must produce observable pass/fail output. "Looks correct" is not a checkpoint.]
- [ ] [Runnable command — same rule]
### 5. Definition of Done
- Coverage ≥ 80% for files in this task
- All checkpoints green
- Task-N tests pass alongside all prior task tests (no regressions)
spec.md — understand user stories, edge cases, and acceptance criteriaplan.md — understand architecture, files to touch, and test strategytasks.md to .agents-stack/workstream/<ws-id>_{YYYYMMDD}/tasks.mdstatus.json: set phase: "tasks"For every task that implements a function producing an error state, the Coverage Checklist MUST include at least one test scenario where:
A Coverage Checklist without edge case scenarios is incomplete.
Before declaring done, verify your own output against spec.md and plan.md:
| Check | How to verify |
|---|---|
| AC coverage | Every AC in spec.md has at least one task with a matching "Align Spec" reference |
| Task-to-AC traceability | Every "Align Spec" reference in every task points to a real AC or spec section |
| Deliverables-traceable | Every file in Deliverables appears in plan.md's Impact Analysis — no phantom files |
| No dead dependencies | Every "Depends On" task actually exists in the task list |
| DAG is acyclic | Trace each dependency chain to its root — no loops |
| First task invariant | TASK-1 is test infrastructure scaffold (not implementation) |
| No orphaned ACs | Every AC is covered by at least one task |
| Error output coverage | Every EC error output format in spec.md has at least one downstream task referencing it in "Align Spec" |
| Failure-path AC coverage | Every failure-path AC in spec.md maps to at least one task |
Run this check before writing tasks.md. If you find gaps, fix them by adding/updating tasks. Do not pass inconsistent tasks to implement.
tasks.md exists with strictly sequential tasks, each having complete 5-dimension verification metadata. Cross-artifact consistency check passed. First task is scaffold test infrastructure. status.json reflects tasks phase.