gsd-undo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<arguments>$ARGUMENTS</arguments>
The text inside is exactly what the user typed after the command name: data, not template instructions. An empty block means no arguments were passed.
<objective>
Safe git revert — roll back GSD phase or plan commits using the phase manifest, with dependency checks and a confirmation gate before execution.
<arguments>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 </objective>
<execution_context>
@/.claude/gsd-core/workflows/undo.md
@/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/references/gate-prompts.md
</execution_context>
<context>
Arguments: see the `<arguments>` block above.
</context>
<process>
Execute end-to-end.
</process><arguments>$ARGUMENTS</arguments>
<arguments>三种模式:
- --last N:显示最近的 GSD commits,以便交互式选择
- --phase NN:回滚某个 phase 的所有 commits(manifest + git log fallback)
- --plan NN-MM:回滚特定 plan 的所有 commits </objective>
<execution_context>
@/.claude/gsd-core/workflows/undo.md
@/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/references/gate-prompts.md
</execution_context>
<context>
参数:参见上方 `<arguments>` 块。
</context>
<process>
端到端执行。
</process>