# Generate Tasks

> Use when breaking a feature or approved PRD into an implementation task list. Trigger words: task list, implementation plan, feature breakdown, generate tasks, TDD tasks, break down this PRD.

- Skill: `igmarin/generate-tasks` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add igmarin/generate-tasks`
- Raw SKILL.md: https://api.skillmd.com/api/skills/igmarin/generate-tasks/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- License: MIT
- Author: igmarin (https://skillmd.com/u/igmarin)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/igmarin/generate-tasks

---

# Generating a Task List from Requirements

## HARD-GATE

```text
DO NOT skip Task 0.0 (create the feature branch).
DO NOT combine TDD sub-tasks into a single task.
DO NOT generate tasks from an unapproved PRD.
```

## Quick Reference
- Task 0.0: create feature branch.
- Output: `/tasks/tasks-[feature-name].md`.
- Auto-detect test command, source dir, test dir, doc tool.
- Validate test command before full generation.

## Workflow

### 1. Project Detection
Detect conventions using config files (see [TEST_COMMANDS.md](./TEST_COMMANDS.md)). Identify source and test directories.

### 2. Validation
Run detected test command; if it fails, confirm with user.

### 3. Requirements Analysis
Break down the feature/PRD:
- Identify user-visible behaviors.
- Choose a smallest slice (first-slice heuristics) for TDD.
- Group behaviors into parent task groups.

### 4. Generate Task List
Create `/tasks/tasks-[feature-name].md` using the template in [TASK_TEMPLATES.md](./TASK_TEMPLATES.md). Each parent group follows TDD quadruplet (write failing test, confirm fail, implement, confirm pass).

### 5. Final Validation
Review tasks for coverage, correctness, and file paths.

## Integration
| Skill | When |
|-------|------|
| **create-prd** | Feeds requirements |
| **estimate-tasks** | After tasks generated |

