본문으로 건너뛰기
Skillpedia
작업 및 프로젝트41k · #6536

handoff

하는 일

이 스킬은 커밋, 미해결 항목, 장애 요인, 결정 사항을 포함해 작업 현황을 간결하게 요약합니다. 작업을 다른 세션이나 동료에게 넘기는 모든 분을 위한 스킬입니다.

사용하는 경우

  • ✓세션이 끝나고 나중에 작업을 이어가고 싶을 때.
  • ✓작업을 동료나 새로운 AI 세션에 넘기고 싶을 때.
  • ✓오래 걸리는 작업에서 자리를 비우기 전에 명확한 체크포인트가 필요할 때.

스킬 링크

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/handoff/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/handoff/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이번 세션을 인계 메모로 정리해서, 내일 릴리스 작업을 이어갈 수 있게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 git status, 브랜치, 열린 풀 리퀘스트 같은 도구에서 실제 상태를 모은 뒤, 다음 세션이 사용할 수 있는 짧고 결정에 도움이 되는 메모를 작성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Handoff

Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / "pass the baton" / "hand off", or a long-running operation needs a durable state checkpoint. The goal: the durable artifact survives, the context does not need to.

Invocation: model+user

When to use

  • The user says "handoff", "hand off", "pass the baton", "takeover prompt", "write me a handoff", or the session is about to end / compact.
  • A long operation (multi-turn, multi-workstream) has state that must survive context loss: commits, branches, PRs, CI, blockers, decisions.
  • You are switching to a fresh session and want the new session to start from evidence instead of reconstructing the old one.

What to do

  1. Gather the truth from tools, not memory. Run/collect:

    • git branch --show-current, git status --short, git log --oneline origin/<default>..HEAD (what is local-only), git log --oneline -5 (recent context).
    • Live remote state where relevant (gh pr list --state open, gh pr checks <n>, gh run list) — only what the user's operation actually depends on; do not pad the handoff with a full GitHub dump.
    • Any in-flight work: dirty files, uncommitted slices, partial worktrees, running background jobs/workers, queued CI.
  2. Write a compact markdown handoff (aim under ~60 lines; the user may also ask for a "short text-only" variant — then aim under ~15 lines):

    # Handoff — <operation/session name> — <date>
    - **State:** <one-line: what is done vs in-flight vs blocked>
    - **Landed/committed:** <exact SHAs + one-line what>
    - **Branches/PRs:** <names + states; which are ours vs community>
    - **CI:** <what is green, what is waiting, what is broken>
    - **Blockers:** <exact blocker + what would unblock>
    - **Decisions made:** <the WHY that a fresh session must not re-litigate>
    - **Next step:** <the single next action, one line>
    - **Continuation records:** <pointers to partial work that must be
      preserved (worktrees, uncommitted files, receipts)>
    
  3. Persist it. Always write .codewhale/handoff.md in the workspace — that is the only path the runtime reads back. On the next session's first turn it is injected as the "## Previous Session Relay" block (HANDOFF_RELATIVE_PATH, crates/engine/src/prompts.rs:85; loader at prompts.rs:301-315). A handoff written anywhere else is never picked up, so the next session starts cold no matter how good the note is.

    Optionally also write a human-discoverable copy:

    • If the workspace has an ops/notes convention (e.g. codewhale-ops/notes/ with a living handoff file), update the living handoff's dated facts and snapshot, or create <topic>-handoff-<date>.md next to it.
    • Otherwise the repo root as HANDOFF.md or docs/handoff/<topic>-<date>.md. These are for people; nothing in the runtime reads them. Never overwrite someone else's uncommitted handoff without reading it first.
  4. Clear the way for the new session ("clears context"). A skill cannot delete the current context, but it can make the context disposable:

    • Ensure nothing is left only in memory: dirty work is either committed (WIP is fine with a real body), stashed with a note, or recorded in the handoff with its exact location.
    • Kill or record background work that would outlive the session (background jobs, sub-agents) — record what is still running and its task id.
    • Close with the one-line "next step" so the fresh session has an unambiguous first action.
  5. Deliver. Give the user the compact handoff text in your reply (the persisted file is the durable copy; the reply is the readable one).

Constraints

  • Facts only from tool output; never invent SHAs, check states, or blockers.
  • Keep claims narrower than evidence: distinguish landed/committed, verified locally, CI-verified, and pending.
  • Preserve other people's uncommitted work: read before touching, archive before overwriting.
  • The handoff is orientation, not law: tell the next session to refresh live state before acting on it.
  • If the user asks for a "short text-only" handoff, give exactly that in the reply and skip the full markdown file unless asked.
자주 묻는 질문

채팅 기억에 의존하나요?

아니요. 스킬은 기억이 아니라 도구에서 사실을 확인하라고 합니다.

GitHub의 모든 세부 사항을 포함하나요?

아니요. 스킬은 작업에 필요한 원격 상태만 포함하라고 합니다.

인계 메모를 유용하게 만드는 것은 무엇인가요?

스킬은 다음 세션이 추측이 아니라 근거에서 시작할 수 있도록 오래 남는 메모를 목표로 합니다.

상세 정보

작성자의 원본 설명

Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / 'pass the baton' / 'hand off', or a long-running operation needs a durable state checkpoint.

repo: codewhale-hq/Codewhale

인기도

GitHub 스타
41k
순위
#6536
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬