ワンクリックで
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 職業分類に基づく
Create a safe checkpoint git commit on the current branch (auto-message; include agent log + safe untracked files; avoid secrets and bulky artifacts; track runs/**/{summary,report}.md only).
Deterministic onboarding for this repo (read minimal index files first, then bounded discovery).
| name | handoff |
| description | Prepare handoff: update HANDOFF/REPO_MAP, rotate logs, update .gitignore if needed, and create a safe handoff git commit. |
This is the repo-local handoff skill. It intentionally avoids hyphens in the skill name so it can be invoked as $handoff.
When invoked, do this in order.
A) Documentation and state (must do)
Update HANDOFF.md:
Update REPO_MAP.md only if needed:
Ensure .gitignore is updated so that:
.env, *.pem, *.key)Ensure README "For agents" section still points to the right files.
B) Log rotation (must do)
agent_logs/YYYY-MM-DD_agentNN.md, where NN is 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 using the standard template.C) Safe handoff commit (must do, unless safety checks fail) Constraints:
dev) for checkpoints and handoff.git push, git commit --amend, git rebase, git reset --hard, git clean -fdx, or modify git remotes.Before committing, always run and show output:
git statusgit diff --statSafety checks:
Secrets check (blockers):
.env, *.pem, *.key, id_rsa, id_ed25519, credentials files, or anything that looks like a key/token.Large file check (blockers):
Staging approach:
Commit message:
handoff: <short description> [<agent number>]After committing:
git status again.HANDOFF.md.D) Final reporting (must do)
HANDOFF.md, REPO_MAP.md, .gitignore if changed)