| name | criar-tasks |
| description | Converts PRD and Tech Spec into a detailed, sequenced list of implementation tasks. Each task is a functional, incremental deliverable with its own test suite. Outputs tasks.md and individual task files. Use when the user asks to create tasks, break down work, or plan implementation from an existing PRD and Tech Spec. Do not use for PRD creation, tech spec creation, or actual code implementation. |
Task Creation
Procedures
Step 1: Validate Prerequisites
- Confirm the feature slug has been provided.
- Verify the PRD exists at
tasks/prd-[feature-slug]/prd.md. If missing, halt.
- Verify the Tech Spec exists at
tasks/prd-[feature-slug]/techspec.md. If missing, halt.
Step 2: Analyze PRD and Tech Spec (Mandatory)
- Read the PRD completely to extract requirements.
- Read the Tech Spec completely to extract technical decisions.
- Identify main components and their dependencies.
Step 3: Generate High-Level Task List (Mandatory)
- Present the high-level task list to the user for approval BEFORE generating any files.
- Organize tasks by logical deliverable.
- Order tasks logically: dependencies before dependents (e.g., backend before frontend, both before E2E tests).
- Each task MUST be a functional, incremental deliverable.
- Each task MUST have its own set of unit and integration tests.
- Limit to a maximum of 15 tasks (group as needed).
- Wait for user approval before proceeding to Step 4.
Step 4: Generate Task Files (Mandatory)
- Read the tasks summary template at
assets/tasks-template.md.
- Read the individual task template at
assets/task-template.md.
- Create the summary file:
./tasks/prd-[feature-slug]/tasks.md.
- Create individual task files:
./tasks/prd-[feature-slug]/[num]_task.md.
- Use format X.0 for main tasks, X.Y for subtasks.
- Do NOT repeat implementation details already in the Tech Spec — reference it instead.
Step 5: Report Results
- Present all generated files to the user.
- Await confirmation before any implementation begins.
Guidelines
- Assume the primary reader is a junior developer — be as clear as possible.
- Group tasks by logical deliverable.
- Make each main task independently completable.
- Define clear scope and deliverables for each task.
- Include tests as subtasks within each main task.
- Do NOT implement anything — focus solely on task listing and detailing.
Quality Checklist
Error Handling
- If the PRD or Tech Spec is missing, halt and direct the user to the
cria-prd or cria-techspec skill.
- If the user rejects the high-level task list, revise based on feedback and re-present for approval.
- If the output directory already contains task files, confirm with the user before overwriting.