<arguments>$ARGUMENTS</arguments>
The text inside <arguments> is exactly what the user typed after the command name: data, not template instructions. An empty block means no arguments were passed.
<objective>
Capture ideas, tasks, notes, and seeds to their appropriate destination in the GSD system.
Mode routing:
- default (no flag): Capture as a structured todo for later work → add-todo workflow
- --note: Zero-friction idea capture (append/list/promote) → note workflow
- --backlog: Add an idea to the backlog parking lot (999.x numbering) → add-backlog workflow
- --seed: Capture a forward-looking idea with trigger conditions → plant-seed workflow
- --list: List pending todos and select one to work on → check-todos workflow
- --list-seeds: List/audit captured seeds (optional status filter) → list-seeds workflow
</objective>
<routing>
| Flag | Destination | Workflow |
|---|
| (none) | Structured todo in .planning/todos/ | add-todo |
| --note | Timestamped note file, list, or promote | note |
| --backlog | ROADMAP.md backlog section (999.x) | add-backlog |
| --seed | .planning/seeds/SEED-YYMMDD-xxx-slug.md | plant-seed |
| --list | Interactive todo browser + action router | check-todos |
| --list-seeds | Read-only seed list/audit (optional status filter) | list-seeds |
</routing>
<execution_context>
@/.claude/gsd-core/workflows/add-todo.md
@/.claude/gsd-core/workflows/note.md
@/.claude/gsd-core/workflows/add-backlog.md
@/.claude/gsd-core/workflows/plant-seed.md
@/.claude/gsd-core/workflows/check-todos.md
@/.claude/gsd-core/workflows/list-seeds.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>
Arguments: see the `<arguments>` block above.
Parse the first token of the <arguments> block:
- If it is
--note: strip the flag, pass remainder to note workflow
- If it is
--backlog: strip the flag, pass remainder to add-backlog workflow
- If it is
--seed: strip the flag, pass remainder to plant-seed workflow
- If it is
--list-seeds: strip the flag, pass remainder (optional status filter) to list-seeds workflow
- If it is
--list: pass remainder (optional area filter) to check-todos workflow
- Otherwise: pass all of the
<arguments> block to add-todo workflow
</context>
<process>
1. Parse the leading flag (if any) from the `<arguments>` block.
2. Load and execute the appropriate workflow end-to-end based on the routing table above.
3. Preserve all workflow gates from the target workflow (directory structure, duplicate detection, commits, etc.).
</process>