본문으로 건너뛰기
cccskills
무료GitHub에 공개

resume-work

Resume work from previous session with full context restoration

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

<objective> Restore complete project context from a previous session. Handle manual-pause (`/gsd:pause-work`) and auto-compact (PreCompact hook) handoffs identically. </objective> <process>
  1. Detect handoff state. Check for .planning/HANDOFF.json via Read tool. If missing, the session has no handoff — announce "No handoff found" and proceed to normal /gsd:progress routing.

  2. Load STATE.md. Read .planning/STATE.md to restore the big-picture project position. If missing, reconstruct from .planning/ROADMAP.md and the latest phase directory's SUMMARY.md files; if reconstruction fails, surface the error and stop.

  3. Read the handoff. Parse .planning/HANDOFF.json. Extract phase, plan, task, status, source, uncommitted_files, decisions, context_notes, next_action. Per HANDOFF schema, all fields are always present (empty arrays / null for unset).

  4. Present project status. Emit a compact status block covering:

    • Milestone + percent complete (from STATE.md frontmatter progress.percent).
    • Current phase name and number.
    • Plan / task position from the handoff.
    • Handoff source (manual-pause vs auto-compact) and timestamp.
    • Top 3 decisions and any blockers from the handoff.
    • Uncommitted files summary.
    • The next_action string verbatim — it's the resumption hint.
  5. Route to the next action. Offer 1-3 concrete options based on handoff state. Common patterns:

    • If task was mid-execute: offer /gsd:execute-phase with the current phase.
    • If phase is at plan boundary: offer /gsd:plan-phase or /gsd:execute-phase for the next phase.
    • If there are uncommitted files that look in-progress: call attention to them before offering continuation.
  6. Clean up the handoff (LIFE-01). After routing — once steps 1-5 have completed without error — remove the handoff file:

    node "${CLAUDE_PLUGIN_ROOT:-$(ls -d "$HOME/.claude/plugins/cache/gsd-plugin/gsd/"*/ 2>/dev/null|sort -V|tail -1)}/bin/gsd-tools.cjs" checkpoint --clear
    

    If the command is unavailable for any reason, fall back to direct removal:

    rm -f .planning/HANDOFF.json
    

    Do not abort the resume if cleanup fails — it's hygiene, not correctness. The next session's SessionStart will overwrite a stale handoff anyway (per D-05 from Phase 4: latest snapshot wins).

</process> <rules> - Step 6 runs **last**, after all context is loaded and the user has been shown status. A failed/aborted resume (steps 1-5 error out) leaves HANDOFF.json on disk for recovery (per D-08). - If `HANDOFF.json` is absent in step 1, skip everything — don't attempt to clean up what isn't there. `checkpoint --clear` is idempotent but unnecessary work. - The skill is the single owner of HANDOFF.json deletion. The SessionStart hook must NOT delete — it only detects (per D-10). </rules>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add an idea to the backlog parking lot (999.x numbering)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

add-phase

무료

Add phase to end of current milestone in roadmap

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

add-tests

무료

Generate tests for a completed phase based on UAT criteria and implementation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

add-todo

무료

Capture idea or task as todo from current conversation context

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

Generate AI design contract (AI-SPEC.md) for phases that involve building AI systems — framework selection, implementation guidance from official docs, and evaluation strategy

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

Analyze phase dependencies and suggest Depends on entries for ROADMAP.md

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

buildomator/buildomator942026년 10월 17일 업데이트

buildomator의 스킬 모두 보기

이 스킬의 문제 신고