用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/hegemonart/get-design-done --skill gdd-pause命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | gdd-pause |
| description | Write a numbered checkpoint so work can resume in a new session without re-running completed stages. |
| argument-hint | [context note] |
| tools | Read, Write, Bash, AskUserQuestion, mcp__gdd_state__get, mcp__gdd_state__set_status, mcp__gdd_state__add_blocker, mcp__gdd_state__checkpoint |
| disable-model-invocation | true |
@reference/retrieval-contract.md @reference/cycle-handoff-preamble.md
Captures enough state that a killed or stopped session can resume cleanly via /gdd:resume or /gdd:continue.
Each invocation writes an immutable numbered checkpoint - it does not overwrite previous pauses. This enables branched cycles: you can pause, take a detour via /gdd:sketch, compare, and resume an older snapshot via /gdd:resume N.
mcp__gdd_state__get → snapshot current pipeline state. Extract:
stage and cyclelast_checkpoint timestamptask_progress and status for the current run.design/TODO.md if present - this file is outside the MCP catalog, so Read is still used).design/sketches/ and .design/spikes/ for in-progress markers)Determine checkpoint number: run
ls .design/checkpoints/ 2>/dev/null | grep -E '^[0-9]+' | sort -n | tail -1
Next checkpoint = last number + 1 (or 01 if none exist).
Collect context: if no context argument was passed, ask (AskUserQuestion): "What are you in the middle of? (optional context to capture)"
Flip status via MCP so /gdd:resume can detect the pause and recover the prior status:
mcp__gdd_state__set_status with status: "paused:<prior-status>" - the paused: prefix preserves the prior status for resume parsing.mcp__gdd_state__add_blocker with { stage: <current>, date: <today>, text: <message> }.mcp__gdd_state__checkpoint to stamp last_checkpoint via MCP.Write numbered checkpoint: create .design/checkpoints/ with mkdir -p, then write:
.design/checkpoints/NN-<stage>-<ISO-date>.md
e.g. 01-design-2026-04-24.md
Content:
# Checkpoint NN
**Saved**: <ISO timestamp>
**Stage**: <stage>
**Cycle**: <cycle>
**In progress**: <task description + wave/index>
**Next**: <next step>
**Context**: <user note or "none">
**Active sketch**: <path or none>
**Open todos**: <N items (see .design/TODO.md)>
**Completed this session**: <list>
Update HANDOFF.md pointer: write .design/HANDOFF.md with:
# Session Handoff (pointer)
Latest checkpoint: `.design/checkpoints/NN-<stage>-<ISO-date>.md`
Run `/gdd:resume` to restore, or `/gdd:resume N` for a specific checkpoint.
Print: "Checkpoint NN saved. Run /gdd:resume or /gdd:continue to pick back up."
gdd-state MCP tools above. Checkpoint files + HANDOFF.md are sibling artifacts, written with Write.mcp__gdd_state__transition_stage - pause is status-only, never a stage transition.