| name | gsd-undo |
| description | Safe git revert. Roll back phase or plan commits using the phase manifest with dependency checks. |
<augment_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-undo or describes a task matching this skill.
- Treat all user text after the skill mention as
{{GSD_ARGS}}.
- If no arguments are present, treat
{{GSD_ARGS}} as empty.
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 Augment tools when executing GSD workflows:
launch-process for running commands (terminal operations)
str-replace-editor for editing existing files
view for reading files and listing directories
save-file for creating new files
grep for searching code (or use MCP servers for advanced search)
web-search, web-fetch for web queries
add_tasks, view_tasklist, update_tasks for task management
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use the built-in subagent spawning capability
- Define agent prompts in
.augment/agents/ directory
</augment_skill_adapter>
Safe git revert — roll back GSD phase or plan commits using the phase manifest, with dependency checks and a confirmation gate before execution.
Three modes:
- --last N: Show recent GSD commits for interactive selection
- --phase NN: Revert all commits for a phase (manifest + git log fallback)
- --plan NN-MM: Revert all commits for a specific plan
<execution_context>
@/home/delorenj/code/bhappy/.augment/get-shit-done/workflows/undo.md
@/home/delorenj/code/bhappy/.augment/get-shit-done/references/ui-brand.md
@/home/delorenj/code/bhappy/.augment/get-shit-done/references/gate-prompts.md
</execution_context>
{{GSD_ARGS}}
Execute the undo workflow from @/home/delorenj/code/bhappy/.augment/get-shit-done/workflows/undo.md end-to-end.