handover
Skill0 starsChanged 3 months agoMITView on GitHub
Sepiš ready-to-paste prompt pre novou Claude Code session co navazuje na aktuální práci. Default inline (≤2000 znaků); pokud kontext příliš velký, vytvoř handover soubor v ~/.claude/plans/ + reference v inline promptu. Use when user invokes /handover.
- Reads credentials
51 other projects use a version of this.
Adopted by
Most recently taken up by
- thiagobluhm/o1memtheir own version, first seen Nov 8, 2026
- hmislk/hmistheir own version, first seen Nov 2, 2026
- loonylabs-dev/claude-setuptheir own version, first seen Nov 1, 2026
- oubakiou/skillstheir own version, first seen Nov 1, 2026
- vrppaul/claude-reviewtheir own version, first seen Nov 1, 2026
- konlue/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use harness-init, incident and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
steptianSkillharness-init
初始化 .harness 开发框架,集成代码修改影响范围评估和测试覆盖建议功能。触发词:'初始化新项目'、'harness init'、'更新 harness'、'分析影响范围'、'评估修改影响'
Also in 3 projects that use this
JkudjoSkillincident
Production incident response — structured triage, hypothesis tree, safe remediation, incident record
Also in 3 projects that use this
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 3 projects that use this
GoogleSkillto-tickets
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 3 projects that use this
MicrosoftSkillcaveman
Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules
Also in 3 projects that use this
Other versions51 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 51
- me2resh/apexyard★ 542same name
- hmislk/hmis★ 244same name
- chenklein26-maker/Harness-Starter★ 119same name
- k1ein-chen/Harness-Starter★ 119same name
- eai-org/agent-toolkit★ 85same name
- manusco/resonance★ 38same name
- chacosoldier/compabob★ 34same name
- randommonicle/claude-skills★ 27same name
- L-X-T/ng-agentic-skills★ 13same name
- marcogalluccio/company-brain-os★ 7same name
41 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- featureSkill
- mergeSkill
- night-shiftSkill
- zaznamenejSkill
The file
Files
/handover — handover do nové session
Sesumarizuj aktuální session tak, že fresh Claude Code session dokáže navázat bez ztráty kontextu, jen z prompt textu (a optionálně 1 handover souboru).
Cíl: owner zavře tuhle session, otevře novou, paste-ne prompt, AI ví přesně co dělat — bez "co jsme dělali?" round-tripu.
Vstup
/handover— autodetect next task z conversation context (TodoWrite list, recent tool uses, just-shipped PRs, owner's last messages)/handover <hint>— owner manually nasměruje, např./handover pokračuje na #54 export do CSVnebo/handover begin next wave
Pokud conversation context je ambiguous (multiple plausible next tasks, žádný TodoWrite, žádný obvious "next" signal) A hint chybí → použij AskUserQuestion s 2-3 návrhy. Jinak produce direct.
Sběr kontextu (proveď nejdřív, paralelně přes single message)
🚦 Máš-li read-only subagenta na sběr git stavu, deleguj kroky 1 + 3–6 na něj. /handover se často invokuje u konce kontextu — přesně tehdy, kdy je každý krok nejdražší; agent vrátí commity, PRs, issues a worktree sweep jako hotové tabulky v jednom kroku. Bez agenta spusť příkazy sám, paralelně:
git log --oneline -10— recent commitsgit branch --show-current+git status -s— current state (tohle si dojdi vždy sám — je to stav TÉHLE session)git worktree list— active parallel work- Sibling worktree health sweep: pro každou non-current worktree (mimo main repo root) →
git -C <path> status --porcelain+git -C <path> stash list | wc -l. Stale WIP v sibling worktree se snadno přehlédne — staged změny, které přežijí PR ship, se najdou jen forenzně. Pokud non-empty, zachyť do sekce 3.7 níže. gh pr list --state merged --limit 5 --json number,title,mergedAt --repo <owner>/<repo>— recent ships- (volitelné)
gh issue list --state open --limit 8 --label severity:warn --repo <owner>/<repo>— open work
Repo path = current working dir. Owner/repo extract z git remote -v pokud potřeba.
⚠️ Vlastní psaní handover promptu nedeleguj — potřebuje kontext session (co se zkoušelo, co owner zamítl, kde jsi zůstal), který agent nemá a z gitu ho nevyčte.
Output strategy
DEFAULT = inline only (single fenced ```markdown block, ≤3500 znaků). Owner zkopíruje do nové session.
Soubor JEN když:
- inline prompt by byl >3500 znaků
- foundation skip-list má >8 položek (heavy multi-area context)
- next task má >5 file/pattern references (heavy planning state)
- session běžela v non-main worktree S 3+ pending issues (worktree context + pending list spotřebuje 1000+ znaků)
Heavy-context projekty: pokud má repo rozsáhlý historický index (velký docs/HISTORY.md) + mnoho aktivních worktrees, prefer file mode jako default i pod thresholdem — reálné handovery tam bývají >2 KB (timeline refs + worktree context + memory hints + multi-PR continuity).
Soubor path: ~/.claude/plans/handover-YYYY-MM-DD-<slug>.md (slug = 3-5 word kebab-case z hlavního tématu, lowercase, ascii only).
V inline prompt reference handover soubor přes Plný kontext: @~/.claude/plans/handover-YYYY-MM-DD-<slug>.md (@ syntax = Claude file mention, fresh session auto-loadne).
Prompt struktura
Sections top-to-bottom (fresh session čte v pořadí):
1. Stav (1-2 věty)
"Předchozí session právě dokončila [hlavní výstup]. Repo state: [clean / pending X / atd]."
Konkrétní, ne fluffy. Příklad:
"Předchozí session shippnula epik #42 follow-up — 3 PRs (#51, #52, #53) merged + deployed, feature flag dormant. Main je clean."
Timeline-awareness: pokud repo má historický index (např. docs/HISTORY.md s číslovanými milestones), odkaž na poslední položku — je to primary continuity index, bez něj je handover decoupled od project timeline. Detekce: [ -f docs/HISTORY.md ] → embed odkaz na poslední sekci.
Uncommitted state: pokud git status -s ukáže staged / untracked → cite je v Stav explicit ("3 untracked probe scriptů v scripts/, žádné staged"). Fresh session jinak začne na clean tree a nezachytí WIP z této session.
2. Foundation skip-list
"Tyto patterns/files NEMUSÍŠ re-investigovat — jsou correct po aktuální práci:"
- Cesta + 1-line popis (helper signature, flag name, cache tag, atd.)
- 3-8 bullets max. To nejvíc užitečné, NE všechno.
Příklad:
lib/services/user-export.ts—buildUserExport({orgId})vrací stream řádků, flagUSER_EXPORTdormant, tagcache:user-export- Cache tag pattern: register v
lib/cache-tags.ts+ usewithOrgCacheHOF (compile-time tag check)
3. Pending follow-ups (volitelné)
"Odložené out of this session:"
- Issue / flag flip / gate refs + důvod proč pauznuté + kdy odemknout
Vynech sekci pokud nic není.
3.5. Worktree context (CONDITIONAL — když session běžela v non-main worktree)
git worktree list ukázal že session NEbyla v hlavní worktree (cwd uvnitř .claude/worktrees/<name>/)? Pak fresh session musí otevřít stejný worktree, jinak loaduje špatný kontext (sibling branches, .env.local PORT, registr).
Embed:
Worktree:
<name>(branchworktree-<name>nebofeature/<name>) Open in fresh session:claude --worktree <name>(CLI) neboEnterWorktree(<name>)(in-session) Cwd po otevření:.claude/worktrees/<name>/
Projekty s mnoha paralelními worktrees — cwd je load-bearing, ne implicitní. Vynech sekci pokud session běžela v main (git worktree list ukáže jen jeden řádek nebo cwd je hlavní path).
3.7. Sibling worktree health (CONDITIONAL — když ne-current worktree má pending state)
Pokud krok 4 sběru kontextu odhalil non-empty status / stash v sibling worktree → embed warning:
Sibling worktree pending:
<name>— N WIP files (M staged, K untracked) — co tam je:<top 3 paths><name>— N stash entries (poslední:<stash@{0} message>)Action pre fresh session: zvážit zda WIP commit / discard / ponechat pro pokračování. Pokud má zůstat pro budoucí pokračování → pojmenovat:
git -C <wt-path> stash push -m "<wt-name> WIP YYYY-MM-DD — <kontext>"PŘED handover, jinak fresh session nebo SessionStart hook vyhodí cryptic warning bez kontextu.
Vynech sekci pokud všechny sibling worktrees clean.
4. Next concrete task (CORE — vždy)
"Tvůj příští úkol: [konkrétní akce]"
- Goal (1 sentence)
- Files to start with — explicit paths
- Patterns to reuse — explicit references co fungovalo v předchozí práci
- Known gotchas — pre-warnings z aktuální session (footguns, API quirks, flag coupling)
To je nejdůležitější sekce. Pokud něco vynecháš, NIKDY ne tuto.
5. Memory hints (volitelné, max 3)
Relevantní memory entries z ~/.claude/memory/MEMORY.md — odkaz na slug, ne plný obsah (fresh session ho auto-loadne).
Konvence
- Tone = clinical, technical. AI prompt, ne human chat.
- Code refs = markdown link
[name](path). - Issue/PR refs =
#N(clickable v GitHub). - Dates = YYYY-MM-DD absolute, ne "yesterday".
- Don't repeat CLAUDE.md — fresh session ho auto-loadne, redundance plýtvá místem.
- Lean — Section 4 (next task) je core; Sekce 2+3 jsou shortcuts; Section 1+5 jsou bonus.
Po vytvoření
Vypiš inline prompt jako fenced code block aby owner mohl jedním kliknutím copy-paste-ovat. Žádný surrounding chitchat — owner ví co dostal.
Pokud jsi vytvořil i handover soubor, vypiš path zvlášť (mimo code block) aby owner věděl co máš dispozice.
Příklad výstupu
```markdown
# Handover — 2026-06-07 (pokračuje na #54 export do CSV)
Předchozí session shippnula epik #42 — PRs #51 / #52 / #53 merged + deployed, feature flag dormant. Main je clean.
## Foundation (skip re-investigation)
- [`lib/services/user-export.ts`](lib/services/user-export.ts) — `buildUserExport({orgId})` vrací stream řádků, flag `USER_EXPORT` dormant. Tag `cache:user-export`.
- Cache tag pattern: register v `lib/cache-tags.ts` + use `withOrgCache` HOF.
- Feature flag pattern: `lib/feature-flags.ts` FLAGS const + JSDoc per flag + `.env.example` entry.
## Pending
- 2× flag dormant, flip po ověření continuity gate: `USER_EXPORT`, `BULK_DELETE`.
- Issue #50 admin alert — kanál doručení odložen.
## Next task: #54 Export do CSV (M, 2-3 dny)
**Goal**: Nová akce "Export" v `/dashboard/users` — stáhne CSV přes `buildUserExport`, respektuje aktivní filtry.
**Files to start with**:
- `lib/services/user-export.ts` — foundation consumer
- `app/dashboard/users/_actions/` — kde žijí server akce
- `lib/services/user-list.ts` — pattern pro list query + filtry
**Patterns to reuse**: cache tag + flag + Suspense widget z předchozí vlny (3× recently shipped, viz #51/#52/#53).
**Gotchas**: export běží mimo request cache — velké orgy (>50k řádků) streamuj, nepuš celý list do paměti.
**Memory**: relevantní slugy z `~/.claude/memory/MEMORY.md` (odkaz na slug, ne plný obsah).
Spusť přes `/feature export-csv — <full goal sentence>`.
```(End of skill.)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

