icn-preflight
Session startup — load canonical docs, latest handoff, produce session frame, then verify repo/branch/auth/toolchain/compile.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Session startup — load canonical docs, latest handoff, produce session frame, then verify repo/branch/auth/toolchain/compile.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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.
| name | icn-preflight |
| description | Session startup — load canonical docs, latest handoff, produce session frame, then verify repo/branch/auth/toolchain/compile. |
| user-invocable | true |
| allowed-tools | Bash, Read |
| truth_contract | {"canonical_sources":["docs/ai/ICN_CONSTITUTIONAL_CORE.md","docs/STATE.md","docs/PHASE_PROGRESS.md","docs/dev/"],"live_load_required":["git branch --show-current","gh auth status","rustc --version"],"examples_only":[],"note":"This skill reads rust-toolchain.toml for the expected toolchain version. Do not hardcode the version."} |
Session startup. Load canonical docs, produce session frame, then verify environment. Stop on first mismatch.
docs/ai/ICN_CONSTITUTIONAL_CORE.md (reasoning foundation — scan, do not restate).docs/STATE.md and docs/PHASE_PROGRESS.md (declared project truth).ls -t docs/dev/handoff-*.md 2>/dev/null | head -1. If no handoff files exist (fresh clone), note "no prior handoff found" and continue.Using the template from docs/ai/ICN_SESSION_FRAME_TEMPLATE.md, fill in at minimum:
This frame is required for non-trivial work. Skip only for single-file typo fixes.
pwd is under icn/ or a worktree. Print branch via git branch --show-current.gh auth status — stop if not authenticated.ss -tlnp 2>/dev/null | grep :8080 — report if gateway is listening. Warn if anything is on 8000.rustc --version — compare against icn/rust-toolchain.toml. Warn on mismatch.REPO_ROOT="$(git rev-parse --show-toplevel)" && cd "${REPO_ROOT}/icn" && cargo check --workspace 2>&1 | tail -1 — report pass/fail.One line per check. Prefix each with pass/fail/warn symbol. Stop on fatal mismatch (wrong repo, no auth). Example:
/icn-preflight
branch: main
gh: authenticated as mattdlong
port 8080: not listening (gateway not running)
port 8000: clear
toolchain: 1.88.0 (matches rust-toolchain.toml)
cargo check: ok
Do NOT run cargo build. Do NOT fix anything. Report only.