handoff

Featured

Use when user types /handoff. Session 交接管理:有 in-progress 工作時寫入交接,沒有時整理 HANDOFF.md + 推薦 outstanding。

Web & Frontend 45 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
55
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

<!-- 🔒 LOCKED — managed by clade · auto-generated by sync-to-codex; edit source in .claude/ then re-run sync --> # /handoff 雙模 session 交接管理:模式由「當前是否有未交辦工作」自動決定。 ## Step 1 — 偵測模式 「Session」=**當前這個 chat session**,不是 working tree / git state / 檔案系統狀態。User 經常並行多開 AI Agent session 工作,所以 `git status` 髒污、`tasks/<date>-*.md` 內 unchecked 項、active spectra change 的 unchecked tasks **都可能來自別的 session**,不能拿來判斷當前 session ��否有未交辦工作。 **Mode A — 當前 chat session 有未交辦工作**(任一條成立即 Mode A): - `TaskList` 顯示當前 session 任何 `in_progress` 或 `pending` task(TaskList 是 per-session 工具狀態,可信) - 當前 chat 對話脈絡明顯顯示 user 正在 mid-task(我剛在做某事還沒收尾、user 剛交辦一個多步驟工作做到一半) - Stop hook 攔住但 acceptance 未滿足 + 處於 [[worktree-default]] §8 死鎖(cwd 在 main + main 已 dirty)且當前 session 已自評不適合走 §7 分支 A(context 不寬裕 / 剩餘 work 不小 / 無法 selective stash) **Mode B — 當前 chat session 沒有要交辦的**:以上皆否(即使 working tree 髒、tasks/ 有別 session 的 unchecked、spectra changes 有別 session 的 active work,都仍是 Mode B —— 那些屬於別 session 的責任)。 **禁止訊號**(這些都不算「當前 session」狀態): - ❌ `git status --short` 有 dirty file - ❌ `tasks/<YYYY-MM-DD-HHMM>-*.md` 存在或有 unchecked 項 - ❌ `openspec/changes/<name>/tasks.md` 有 unchecked 項 - ❌ `HANDOFF.md` 有 In Progress 段落 宣布偵測結果一句話:「偵測到 Mode A(理由:當前 session TaskList 有 N 個 in-progress / 對話脈絡顯示 mid-task on X)」或「偵測到 Mode B(當前 session 清空)」。 ## Step 1.5 — 路徑解析 invariant(Mode A / B 共用) `HANDOFF.md` / `docs/tech-debt.md` / `openspec/ROADMAP.md` 是「跨 change 全局狀態」,**不該** per-worktree 分裂。`/handoff` 若在 linked worktree 內跑、寫到 cwd-相對的 `HANDOFF.md`,得等 sq...

Details

Author
YuDefine
Repository
YuDefine/nuxt-supabase-starter
Created
7 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

handover

Use when a session is too long, context is nearly full, or work must continue in a fresh session or another tool — the user says "handover"、「交接」、「換 session」、「開新 session 接手」、"context 快滿了", or asks to transfer the current task elsewhere.

0 Updated 1 months ago
Clementtang
AI & Automation Listed

session-handoff

Use when work must be handed from this AI coding session to another session on the same machine, or to a later session of the same person. Session handoff / context handoff: produce a fixed three-line header (state / what you do next / what you decide) plus a six-section HANDOFF.md so the receiver sees 'fixed or not fixed?' at a glance. 触发词:「另一个 session」「转给那个 session」「你把这个发给 XX session」「交接」“收工交接”“写个交接”「HANDOFF」。English triggers: “hand this off to the other session”, “write a handoff”, “end-of-shift handoff”, “continue this in my next session”. 不适用:派子代理/并行任务(parallel-agent dispatch)、给人发消息(audience-tailored message)、会话超时/重连(不是交接)。

1 Updated 1 weeks ago
aaronartistzhang-afk
AI & Automation Listed

handoff

当另一个 agent 或 session 要接管任务或继续未完成工作时,生成最小充分交接。触发语:/handoff、「把任务交给下一个 agent」「生成 handoff」「让另一个 session 继续」、session 转移、任务所有权转移,或当前上下文退化时重开一个干净 session(交接给未来的自己)。持久 artifact 用引用不用复制,输出前抹掉 secrets。

10 Updated 2 weeks ago
keli-wen