Agent SkillsHmbown/Codewhale › cw-handoff

cw-handoff

GitHub

用于生成代理接管提示、延续笔记或会话摘要的技能,确保交接内容基于实时状态,清晰区分已完成、疑似和阻塞项,便于后续代理准确继承上下文。

docs/skills/cw-handoff/SKILL.md Hmbown/Codewhale

Trigger Scenarios

结束进行中工作的会话 请求为其他代理提供接管指令或状态摘要

Install

npx skills add Hmbown/Codewhale --skill cw-handoff -g -y
More Options

Non-standard path

npx skills add https://github.com/Hmbown/Codewhale/tree/main/docs/skills/cw-handoff -g -y

Use without installing

npx skills use Hmbown/Codewhale@cw-handoff

指定 Agent (Claude Code)

npx skills add Hmbown/Codewhale --skill cw-handoff -a claude-code -g -y

安装 repo 全部 skill

npx skills add Hmbown/Codewhale --all -g -y

预览 repo 内 skill

npx skills add Hmbown/Codewhale --list

SKILL.md

Frontmatter
{
    "name": "cw-handoff",
    "description": "Use when writing a Codewhale takeover prompt, continuation note, or end-of-session summary for another agent or a later session: a paste-ready handoff grounded in live state, with done\/suspected\/blocked kept separate."
}

cw-handoff

A handoff is read by an agent with none of your context and every incentive to believe you. That makes an optimistic handoff worse than no handoff: it converts your guesses into the next session's premises. Write it so the reader can re-derive the state instead of trusting the prose.

Stage 6 of the loop, and the one that makes the loop a loop: the next session starts at cw-orient with what you leave here.

When to use

  • Ending a session with work in flight.
  • Asked for "a prompt for another agent", branch takeover instructions, a continuation note, or a summary of current state for async work.
  • Handing a lane to a different model, a fleet worker, or a remote session.

Workflow

  1. Write it as a prompt the next agent can paste directly. Not a report about the work — instructions for continuing it.

  2. Open with the refresh block, not with your summary. The first thing the reader should do is verify you:

    cd <repo path>
    git status --short --branch && git branch --show-current
    git log --oneline --decorate -20
    git worktree list
    ./scripts/release/check-versions.sh
    

    Tell them to trust that output over anything below it.

  3. Include, in this order:

    • Repository path and expected branch or worktree.
    • The authority line: what they may and may not do without asking. Default to local-only — no push, merge, tag, publish, GitHub Release, or destructive cleanup without explicit approval.
    • Durable files to read, ordered by importance: the scoped AGENTS.md for the area, then the specific docs (docs/CACHE.md, docs/MOTION_CONTRACT.md, docs/ARCHITECTURE.md, crates/tui/AGENTS.md) the task actually touches.
    • Commits already landed, with SHAs.
    • Dirty worktree caveats, naming uncommitted files explicitly, and whose they are. This is the single most useful line in most handoffs.
    • The next slices, in priority order, each bounded the way cw-slice bounds one.
    • The verification gate for those slices — the smallest correct one from cw-gates, plus any known-flaky names.
    • Open decisions that genuinely belong to Hunter.
  4. Separate three states, and never blur them: done and verified (with the command output that proves it), suspected (a hypothesis, labeled), and blocked (with what unblocks it). If you did not run it, it is not done.

  5. Say what the branch is for. Local-only, pushed for backup, or intended to stay unpushed — the next agent cannot tell from git alone, and guessing wrong is how work gets force-pushed away.

  6. Record missing external receipts. If the task was local-only, say which evidence you could not gather (CI state, registry state, review threads) rather than inferring it. A named gap is useful; a confident guess is not.

Red flags / don't

  • Don't imply publication happened unless you verified registry, tag, or release state live.
  • Don't hand off a narrative. Prefer concrete paths, commands, and SHAs.
  • Don't summarize away the dirt. Unnamed uncommitted files get destroyed.
  • Don't hand the next agent decisions you could have made. Reserve Hunter-facing choices for product direction, irreversible actions, and visual judgments that need eyes.
  • Don't copy a previous handoff's state forward. Re-derive it; that is what step 2 is for.
  • Don't include secrets, tokens, or provider credentials in a handoff file.

Output

A single paste-ready block containing: refresh commands, authority line, files to read, landed SHAs, named dirty files, prioritized next slices, the verification gate, and the open decisions — with done / suspected / blocked visibly separated.

Version History

  • aedb88b Current 2026-09-09 04:22

Same Skill Collection

crates/tui/assets/skills/batch/SKILL.md
crates/tui/assets/skills/best-of-n/SKILL.md
crates/tui/assets/skills/contributor-onboarding/SKILL.md
crates/tui/assets/skills/dataviz/SKILL.md
crates/tui/assets/skills/debug/SKILL.md
crates/tui/assets/skills/delegate/SKILL.md
crates/tui/assets/skills/dependency-update/SKILL.md
crates/tui/assets/skills/docx/SKILL.md
crates/tui/assets/skills/feishu/SKILL.md
crates/tui/assets/skills/fleet-manager/SKILL.md
crates/tui/assets/skills/frontend-design/SKILL.md
crates/tui/assets/skills/handoff/SKILL.md
crates/tui/assets/skills/help/SKILL.md
crates/tui/assets/skills/implement/SKILL.md
crates/tui/assets/skills/interview/SKILL.md
crates/tui/assets/skills/mcp-builder/SKILL.md
crates/tui/assets/skills/mcp-discovery/SKILL.md
crates/tui/assets/skills/pdf/SKILL.md
crates/tui/assets/skills/plan/SKILL.md
crates/tui/assets/skills/plugin-creator/SKILL.md
crates/tui/assets/skills/pptx/SKILL.md
crates/tui/assets/skills/research/SKILL.md
crates/tui/assets/skills/review/SKILL.md
crates/tui/assets/skills/security-review/SKILL.md
crates/tui/assets/skills/simplify/SKILL.md
crates/tui/assets/skills/skill-creator/SKILL.md
crates/tui/assets/skills/skill-installer/SKILL.md
crates/tui/assets/skills/test/SKILL.md
crates/tui/assets/skills/v4-best-practices/SKILL.md
crates/tui/assets/skills/verify/SKILL.md
crates/tui/assets/skills/webapp-testing/SKILL.md
crates/tui/assets/skills/xlsx/SKILL.md
docs/skills/codew-release-qa-sweep/SKILL.md
docs/skills/cw-dogfood/SKILL.md
docs/skills/cw-gates/SKILL.md
docs/skills/cw-land/SKILL.md
docs/skills/cw-orient/SKILL.md
docs/skills/cw-slice/SKILL.md
docs/skills/gh-assign-issues/SKILL.md
docs/skills/gh-close-issues/SKILL.md
docs/skills/gh-compile-issues/SKILL.md
docs/skills/gh-credit-harvest/SKILL.md
docs/skills/gh-file-issue/SKILL.md
docs/skills/gh-find-prs/SKILL.md
docs/skills/gh-treasure-hunt/SKILL.md
crates/tui/assets/skills/documents/SKILL.md
crates/tui/assets/skills/presentations/SKILL.md
crates/tui/assets/skills/spreadsheets/SKILL.md

Metadata

Files
0
Version
aedb88b
Hash
33ddb57a
Indexed
2026-09-09 04:22

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 02:55
浙ICP备14020137号-1