一键导入
handoff
Prepare handoff: update HANDOFF/REPO_MAP, rotate logs, update .gitignore if needed, and create a safe handoff git commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare handoff: update HANDOFF/REPO_MAP, rotate logs, update .gitignore if needed, and create a safe handoff git commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | handoff |
| description | Prepare handoff: update HANDOFF/REPO_MAP, rotate logs, update .gitignore if needed, and create a safe handoff git commit. |
When invoked, do this in order.
A) Documentation and state (must do)
Update HANDOFF.md:
Update REPO_MAP.md only if needed:
Ensure .gitignore stays strict for artifacts and secrets.
B) Log rotation (must do)
agent_logs/YYYY-MM-DD_agentNN.md, where NN is 00, 01, 02, ... chosen as the next unused number for today.agent_logs/current.md -> that filename.agent_logs/INDEX.md:
- YYYY-MM-DD_agentNN.md — <short summary> (optional: commit <hash>)agent_logs/current.md.C) Safe handoff commit (must do, unless safety checks fail) Before committing, always show:
git statusgit diff --statNever commit artifacts or secrets (see .gitignore).
Commit message:
agentNN: handoff(<area>): <short description>agentNN from agent_logs/current.md (field id:). If missing, stop and ask the human.<area> from: workflow, docs, engine, viewer, runner, schemas, misc.