Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
67 lines
2.5 KiB
Markdown
67 lines
2.5 KiB
Markdown
---
|
|
name: msd:capture
|
|
description: Capture ideas, tasks, notes, and seeds to their destination
|
|
argument-hint: "[--note | --backlog | --seed | --list | --list-seeds] [text]"
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Edit
|
|
- Bash
|
|
- Glob
|
|
- Grep
|
|
- AskUserQuestion
|
|
---
|
|
|
|
<objective>
|
|
Capture ideas, tasks, notes, and seeds to their appropriate destination in the MSD 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/msd-core/workflows/add-todo.md
|
|
@~/.claude/msd-core/workflows/note.md
|
|
@~/.claude/msd-core/workflows/add-backlog.md
|
|
@~/.claude/msd-core/workflows/plant-seed.md
|
|
@~/.claude/msd-core/workflows/check-todos.md
|
|
@~/.claude/msd-core/workflows/list-seeds.md
|
|
@~/.claude/msd-core/references/ui-brand.md
|
|
</execution_context>
|
|
|
|
<context>
|
|
Arguments: $ARGUMENTS
|
|
|
|
Parse the first token of $ARGUMENTS:
|
|
- 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 $ARGUMENTS to add-todo workflow
|
|
</context>
|
|
|
|
<process>
|
|
1. Parse the leading flag (if any) from $ARGUMENTS.
|
|
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>
|