Completes Phase 1 thin orchestrator extraction. Token savings: ~8,500 chars across 4 commands Ported from: get-shit-done-v2@95b6214
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
---
|
|
name: gsd:add-todo
|
|
description: Capture idea or task as todo from current conversation context
|
|
argument-hint: [optional description]
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Bash
|
|
- AskUserQuestion
|
|
---
|
|
|
|
<objective>
|
|
Capture an idea, task, or issue that surfaces during a GSD session as a structured todo for later work.
|
|
|
|
Routes to the add-todo workflow which handles:
|
|
- Directory structure creation
|
|
- Content extraction from arguments or conversation
|
|
- Area inference from file paths
|
|
- Duplicate detection and resolution
|
|
- Todo file creation with frontmatter
|
|
- STATE.md updates
|
|
- Git commits
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@.planning/STATE.md
|
|
@~/.claude/get-shit-done/workflows/add-todo.md
|
|
</execution_context>
|
|
|
|
<process>
|
|
**Follow the add-todo workflow** from `@~/.claude/get-shit-done/workflows/add-todo.md`.
|
|
|
|
The workflow handles all logic including:
|
|
1. Directory ensuring
|
|
2. Existing area checking
|
|
3. Content extraction (arguments or conversation)
|
|
4. Area inference
|
|
5. Duplicate checking
|
|
6. File creation with slug generation
|
|
7. STATE.md updates
|
|
8. Git commits
|
|
</process>
|