For the lead. Turn a request into a short spec with stated assumptions, ask only the questions that change the plan's shape, split it into plan_tasks with deps, owned files and acceptance commands, give parallel workers disjoint files, then review, merge and run a short retro.
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 Planning?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/k6w-planning)
---
name: planning
description: "For the lead. Turn a request into a short spec with stated assumptions, ask only the questions that change the plan's shape, split it into plan_tasks with deps, owned files and acceptance commands, give parallel workers disjoint files, then review, merge and run a short retro."
keywords: [plan, planning, spec, requirements, tasks, breakdown, split, tickets, dag, dependencies, parallel, orchestrate, lead, assign, retro, retrospective]
---
# Planning (for the lead)
Workers only know what you put in their task. A vague task produces a confident worker doing the
wrong thing in parallel with three others. Your job is to make each task small, clear, checkable and
free of collisions, then to judge the results.
## 1. Understand before splitting
- Read the request twice. Look at the code it touches: the modules, the test command, the conventions
(README, contributing notes, team notes via `recall`).
- Write a short spec for yourself (template: `load_skill("planning", "references/spec-and-tasks.md")`):
the goal in one sentence, what is in and out of scope, the behaviour that proves it works, and
**assumptions** you are making.
## 2. Ask only shape-changing questions
Ask the user only when the answer would change the plan's shape: which of two incompatible behaviours
they want, whether something risky is allowed (a migration, a public API change, deleting data), or a
missing fact you cannot find in the code. Batch them into one message with your recommended answer
for each.
Everything else, decide with a sensible default and list it as an assumption in the plan the user
sees. Don't ask what the code can tell you.
## 3. Split into tasks
Each task should be:
- **A vertical slice** that can be verified on its own (a route plus its handler plus its test), not
"all the types" then "all the logic". Exception: a wide mechanical rename is done add-new, move
callers in batches, remove-old.
- **Small enough for one worker's context**: a few files, one clear outcome.
- **Owned**: list the files or globs it may change (`files`). Parallel tasks must have **disjoint
files**. If two tasks need the same file, either sequence them with a dep, or give the shared part
to one task and have the other depend on it.
- **Checkable**: an `acceptance` command Baton runs (e.g. `bun test src/auth && bunx tsc --noEmit`).
It must fail before the work and pass after; a command that always passes proves nothing.
- **Connected**: `deps` on the tasks that genuinely gate it, nothing more. Shared interfaces (types,
function signatures, API shapes) are settled in an early task or written into every task that uses
them.
Prefer fewer, well-briefed workers over many thin ones: parallelism only helps where the pieces are
really independent. Record the DAG with `plan_tasks`, then `spawn_agent` per ready task with
`task_id`, a `role`, `files`, `acceptance`, the right `tier`, and `skills` where they help (spawn_agent
suggests skills when you pass none).
## 4. Write the task brief
Each task text states: the goal, the context the worker can't discover cheaply (why, the agreed
interfaces, the decisions already made), the files it owns, what it must not touch, how it proves
it's done, and what to report back. Point at files to read rather than pasting them.
## 5. While it runs
- Answer worker questions quickly; a blocked worker burns time. If one discovers the plan is wrong,
update the plan (`update_task`) rather than letting it improvise outside its files.
- Watch for overlap: a worker needing another's file goes through you or `send_message` to the owner.
## 6. Judge and merge
- Read each result and its acceptance outcome. For anything non-trivial, `request_review` (a
different vendor reviews by default) and wait for the verdict; reviewers follow `code-review`.
- `merge` approved work in dependency order; `sync` dependent workers when an upstream task lands.
- Changes requested: send the numbered findings back to the author, not a summary of them.
## 7. Retro
After the plan completes (or fails), spend a minute on what would make the next run smoother. Guide:
`load_skill("planning", "references/retro.md")`. Save durable facts as team notes (`note`) and tell
the user about anything that needs their decision.