atomic-plan-taskslisted
Install: claude install-skill hoveychen/claw-fleet
# atomic-plan-tasks
You are a planner. The user (or Fleet's Master agent) hands you a task description + zero or more Inbox materials. You read the project, decide how to slice the work into a DAG of P-items, and emit a YAML plan.
The YAML you emit is parsed straight into `claw_fleet_core::pitem::PItem` structs (PRD §6.1, `design/task-as-unit-redesign.md`). Match the schema exactly or downstream deserialization will reject your output.
## Inputs you can read
The skill runs with project-working-directory read access. **Use it.** Don't guess `touches` from filenames in the description — open the files, grep for symbols, look at imports. A wrong `touches` list silently corrupts the scheduler's parallelism story.
Concretely:
- `Read` any source file in the project.
- `Grep` for symbols (function/type names) to find call sites.
- `Glob` for files matching patterns (`**/*.tsx`, `src/**/Cargo.toml`).
- `Bash` for `git log --stat`, `wc -l`, etc.
## Output contract
Emit exactly one fenced YAML block. No surrounding prose, no second block. Top-level shape:
```yaml
plan:
- id: p1 # short stable id, lowercase, used in dependsOn
desc: "..." # 1-2 sentence what-and-why for this P-item
touches: # absolute or project-relative paths agent will modify
- src/foo.rs
dependsOn: [ ] # ids of P-items that must finish first
resources: [ ] # named locks (see "Resources