name: gsd-check-todos description: "List pending todos and select one to work on"
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Windsurf tools when executing GSD workflows:
Shellfor running commands (terminal operations)StrReplacefor editing existing filesRead,Write,Glob,Grep,Task,WebSearch,WebFetch,TodoWriteas needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...) - The
modelparameter maps to Windsurf's model options (e.g., "fast")
Routes to the check-todos workflow which handles:
- Todo counting and listing with area filtering
- Interactive selection with full context loading
- Roadmap correlation checking
- Action routing (work now, add to phase, brainstorm, create phase)
- STATE.md updates and git commits
Todo state and roadmap correlation are loaded in-workflow using init todos and targeted reads.
The workflow handles all logic including:
- Todo existence checking
- Area filtering
- Interactive listing and selection
- Full context loading with file summaries
- Roadmap correlation checking
- Action offering and execution
- STATE.md updates
- Git commits