Specs and Todos
A todo parks a request, decision or external wait; a spec is a plan with checks. Drafts need independent review; routing gaps never become self-review.
Nested repositories use their devkit host for specs, todos and plans; code and commits stay nested. devkit init --standalone makes setup independent.
Which one do I need?
| Situation | Use | Example |
|---|---|---|
| Small change, not now | todo | /todo retry the upload when the token expired |
| Review side findings | fixed in the run or named in the report | three review findings |
| A larger handoff to another agent | spec | a /wave slice |
| You ask for a written plan | spec | /spec Add dark mode to shop and admin |
| A decision you must make before anyone can start | spec (or a todo with --status decision if it waits) | "Stripe or Mollie?" |
Todos
Todos live under devkit/todos/<id>.md with validated metadata and shared refs. devkit todo backfill <id> fills missing defaults, never title, status or date; unknown keys need explicit removal. Pen handoffs: devkit todo list --ref pen-handoff --for code.
devkit todo commit <id> commits (work branch: stages) an untracked or modified local todo. devkit todo drop <id> discards it, committing tracked deletions without marking completion. Both refuse live claims and invalid metadata.
Everyday use
| You type | What happens |
|---|---|
/todo <text> or todo: <text> | Parks the text as a new file and commits only that file. Nothing is worked on. |
devkit todo find <words> | Lists open todos whose titles share words with yours (SIMILAR), before you add a duplicate. |
/todo or /todo list | Shows the five best ready todos; --all shows every todo with its state. |
/todo decide | Puts each decision todo to you in fours: go, drop, or merge. |
/todo next | Works the first ready todo: a small one in Main, a larger one in a delegate. |
/todo next --parallel [N] | Every ready todo without shared files (up to N), via parallel delegates. |
/todo batch [N] | Merges duplicates, works the rest in grouped briefs. |
/todo pick <id> | Works exactly that todo. |
What "working a todo" means
A pick works one todo; batch/parallel group independent ones. Feature, refactor and process work needs a fresh official-docs native/existing check (URL, date); native-covered work closes without implementation:
- Route by size — small todos run in Main; larger self-contained ones use an isolated delegate worktree. Independent todos can run via
--parallelorbatch. - Check — project checks and affected tests pass.
- Commit —
devkit todo finishmakes one commit with the fix, the deleted todo file and aTodo: <id>trailer; nested-repo work commits there, thendevkit todo finish <id> --nested <dir> --message <message>.
Partial groups keep the todo open; finished bullets are ticked and committed.
Todo session worktrees land in their parent checkout and are removed after finish. GitHub links identify the executing workspace; local completion does not close the issue.
A red check or open question stops the run; the diff stays. Only /todo next --parallel and /todo batch claim todos, so parallel sessions never take the same one.
States in /todo list
| State | Meaning |
|---|---|
open | Ready to work. /todo next picks from these. |
claimed | Someone is working on it right now. |
blocked | Waits on another todo in dependencies. |
decision | Needs a human decision first; cannot be claimed. |
spec | Grew into a spec; work continues there. |
done | Finished. |
devkit todo plan saves worktree steps; help covers parking and adoption.
Specs
New/edited artifacts: devkit artifact-lint --help; no legacy migration.
Source-owning briefs, specs and feature/refactor todos need Native/existing check: and Reuse check: lines; dispatch, spec-validate-prep and artifact-lint check them.
Use /spec when you ask for a plan, for a session handoff, an open owner decision, or at least two subsystems with follow-up slices/rollout for others.
Work routes bind; deviations need a logged reason. Mechanical edits use delegate/tab, not spec. Deferred work goes to /todo; split by deliverables, not file count.
| Stage | What happens |
|---|---|
/spec "<goal>" | Writes bite-sized Steps with exact files and one verify each, then requests a cross-model second opinion, including for prose-only drafts. Review the saved plan before implementation. |
/spec-work NNN | Approves the saved plan and executes Steps in sequence. One spec-verify runs all verifies and ticks passed items. |
/review --quick | For deferred review risk, independent implementation and security review; one fix/delta round. Unavailable is not PASS. Review flow. |
| Completion | Fresh checks pass, then devkit spec-complete archives the plan atomically. With auto-commit on, /spec-work commits its own files; otherwise use /commit. |
/spec also plans related specs: confirm the split, link dependent drafts in one continuing plan, and keep unresolved work coarse. See spec skill.
| Situation | Do |
|---|---|
| Interrupted | Read the plan and git diff; /spec-work NNN resumes the first open task. |
| Plan needs correction | Edit it in place and uncheck affected tasks and ACs; /spec-update remains a small compatibility entry point for old callers. |
| Small fix after completion | Work inline; the archived plan stays a record. |
| Several independent plans | /wave coordinates Orca workers; acceptance, run-origin binding and merge-completion gates still apply. |
Related
- Workflows — where specs and todos sit in daily work.
- Skill Overview — choose a skill and open its reference.