handoff
Write a session handoff to docs/dev/ using the structured template with truth-plane labeling.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Write a session handoff to docs/dev/ using the structured template with truth-plane labeling.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | handoff |
| description | Write a session handoff to docs/dev/ using the structured template with truth-plane labeling. |
| argument-hint | [--push] |
| user-invocable | true |
| allowed-tools | Bash, Read, Write, Grep |
| truth_contract | {"canonical_sources":["docs/dev/HANDOFF_TEMPLATE.md","docs/ai/ICN_SESSION_FRAME_TEMPLATE.md"],"live_load_required":["git branch --show-current","git log --oneline -10","gh pr list --json number,title,headRefName --limit 5"],"examples_only":[],"never_hardcode":["sprint number","PR numbers or branch names","session date (read from system)"]} |
Write a session handoff note so the next session (or next agent) can resume without context loss.
Run in parallel:
git branch --show-current
git log --oneline -10
git status --short
git stash list
Also:
# Open PRs on this branch (if gh available)
gh pr list --head $(git branch --show-current) --json number,title,state 2>/dev/null || echo "gh not available"
# Uncommitted TODOs added in this session
git diff origin/main...HEAD 2>/dev/null | grep '^+.*// TODO' | head -20
// TODO, // FIXME, or // HACK lines added on this branchTarget: docs/dev/handoff-YYYY-MM-DD.md
Where YYYY-MM-DD = today's date (date +%Y-%m-%d).
If a file for today already exists, use suffix: handoff-YYYY-MM-DD-b.md.
Use the structured template from docs/dev/HANDOFF_TEMPLATE.md. Each section explicitly labels its truth type. At minimum include:
git stash list should be empty — stash or commit before ending$ARGUMENTS includes --push AND working tree is clean: run /push to push the branchPrint:
Handoff written to docs/dev/handoff-YYYY-MM-DD.md
Branch: <name> | Commits: <n> | Open PRs: <n> | Open threads: <n>
docs/dev/ doesn't exist, create it.ICN development companion for the InterCooperative Network Rust monorepo. Use when working on ICN code, docs, deployment, or protocol design. Provides crate-aware routing to specialist agents (icn-architect, icn-economist, icn-ops), enforces project conventions, and understands the current sprint state, cluster topology, and demo flow status. Triggers on: any ICN crate names, "cooperative contract", "mutual credit", "governance", "gossip", "K3s", "icn-dev", "ops/mcp", "Sprint", "demo flow", "CCL", "federation", "DID", "ledger", "trust graph", "icnd", "icnctl".
Full sprint-batch or stacked-PR integration pipeline. Owns merge order, rebases, local gates, and main sync.
Full sprint-batch or stacked-PR integration pipeline. Owns merge order, rebases, local gates, and main sync.
Show full ICN development status dashboard — active sessions, sprint tasks, worktree freshness, CI state, and cluster health
ICN session preflight. This skill should be used when the user explicitly invokes "/icn-agent-pack:preflight", or asks to "run preflight", "orient me on ICN", or "check the ICN session environment". Loads canonical docs and the latest handoff, then verifies branch, gh auth, ports, toolchain, and a light cargo check. Read-only; reports, never fixes.
ICN repo navigator / knowledge graph. This skill should be used when the user explicitly invokes "/icn-agent-pack:navigator", or asks to "map the repo", "build/refresh the knowledge graph", "trace this concept to its source", or "show the conceptual map / impact map". Begins the living repository knowledge-graph and conceptual-map workflow, grounded in the icn-ops MCP tools and (future) generated graph artifacts.