verify
Run the correct verification commands for files changed in the current branch. Maps to ICN change routing matrix.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run the correct verification commands for files changed in the current branch. Maps to ICN change routing matrix.
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 | verify |
| description | Run the correct verification commands for files changed in the current branch. Maps to ICN change routing matrix. |
| argument-hint | [crate-name or --all] |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob |
| truth_contract | {"canonical_sources":["ops/state/truth/policy.json","ops/state/config/repo-map.json"],"live_load_required":["git diff --name-only origin/main...HEAD"],"examples_only":[]} |
Run verification checks appropriate to the files changed in the current branch.
REPO_ROOT="$(git rev-parse --show-toplevel)"
bash "${REPO_ROOT}/ops/scripts/drift-check.sh" 2>/dev/null | tail -3 || true
If drift-check reports FAIL → note it before running verification checks.
git diff --name-only origin/main...HEAD (or git diff --name-only HEAD for uncommitted changes)| Root | Path | Cargo commands |
|---|---|---|
| Monorepo root | /home/ubuntu/projects/icn | SDK, docs, deploy |
| Rust workspace | /home/ubuntu/projects/icn/icn | All cargo commands run here |
| Changed files | Required checks |
|---|---|
icn/crates/**/*.rs or icn/apps/**/*.rs | cd icn && cargo fmt --all --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test -p <touched-crates> |
icn/crates/icn-gateway/** | Also run: cargo test -p icn-gateway |
icn/crates/icn-kernel-api/** | Also run: cargo test -p icn-kernel-api |
sdk/typescript/** | cd sdk/typescript && npm ci && npm run build && npm test && npm run lint |
web/pilot-ui/** | cd web/pilot-ui && npm run test && npm run test:e2e |
deploy/** | Check for committed secrets: grep -rn 'password|secret|token' deploy/ --include='*.yml' --include='*.yaml' |
docs/** | Verify links exist, terminology consistency |
$ARGUMENTS specifies a crate name, only verify that crate$ARGUMENTS is --all, run the full suiteicn/ (the Cargo workspace root, contains Cargo.toml), not from the repo root.sdk/typescript/ and web/pilot-ui/ commands run from the monorepo root's subdirectories.cd sdk/typescript && npm run generate-types).