Use when turning a plan into an OpenSpec task list. Says how to size, order, tag and verify tasks so that an agent can build them one at a time, test-first. The schema says the checkbox format the apply step parses.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lets Write Tasks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sidereal-io-lets-write-tasks)
---
name: lets-write-tasks
description: Use when turning a plan into an OpenSpec task list. Says how to size, order, tag and verify tasks so that an agent can build them one at a time, test-first. The schema says the checkbox format the apply step parses.
---
# Writing tasks
A task list is the contract between planning and building. An agent with
none of the planning conversation picks up one task at a time. So each
task stands alone: what to build, and how to know it is done.
Read [Plain language](../lets-shape/references/plain-language.md) before writing.
Use it for each task: give the next agent and human reviewer enough context
to locate the work and verify completion.
## Size
- **Five to twelve tasks.** Fewer, and the tasks hide too much. More, and
the story is too big. Do not write or commit `tasks.md`. Report the count
and the slice to move to a new story, then wait. The user decides the split
in the brainstorm, and task planning runs again on the smaller story.
- **One task is one red-green cycle:** one behavior, its failing test,
then the code that makes the test pass. A task that needs "and" to
describe is two tasks.
- **Minutes, not hours.** Split a task you cannot verify with one command.
## Order
1. **Shared contracts first.** Types, schemas, migrations and interfaces that other tasks depend on, in one sequential section.
2. **Independent work next.** Group tasks that touch different code into sections, and mark each section with the section it depends on.
3. **Integration last.** End-to-end verification that depends on all the others.
A small change has one section. Do not invent parallel sections to fill a shape.
## Tags
Put tags after the task number and before the description.
| Tag | Means |
|---|---|
| `[easy]`, `[medium]`, `[complex]` | How hard the task is. The apply step may use it to choose who does the task. |
| `[parallel]` | The task shares no files with any other task that could run at the same time. |
| `[depends-on: <section>]` | On a section heading: this section waits for that one. |
Before you tag a task `[parallel]`, compare its files with every task that
could run at the same time. That is the rest of its section, plus each
section with no `depends-on` chain, direct or indirect, to or from its own.
Sections that share only a prerequisite can run at the same time. If the
first and third tasks share a file, neither is `[parallel]`, even when the
second touches other files.
## Verification
Every task ends with `(verify: <command>)`. A good verify command:
- is one command that exits non-zero on failure, such as `pnpm test -- export` or `cargo test parser`;
- runs the test the task adds, not the whole suite, unless the task is the integration task;
- is one the project already has. Do not invent tooling in a task list.
## Test-first tasks
Write each task so that the agent can write its test first. "Add a CSV
export endpoint" names a feature. "Return a CSV file from GET /export for a
signed-in user" names a behavior a test can state before the code exists.
Name the behavior, not the file. Include the relevant interface or plan
reference when the next reader needs it to locate the work. A task's
completion must be recognizable from its stated outcome and verify command,
without access to the planning conversation.
## Stop conditions
If, while planning tasks, you find a decision that is costly to reverse that
no earlier artifact makes, stop and tell the user. The schema that called
this skill says where the decision goes: the design, when the flow has one,
or the user's answer, when it does not. Never bake the decision into the
task list.