sync-and-build
Build and verify the ICN website. The website reads docs directly from icn/docs/ — no sync step needed.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build and verify the ICN website. The website reads docs directly from icn/docs/ — no sync step needed.
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 | sync-and-build |
| description | Build and verify the ICN website. The website reads docs directly from icn/docs/ — no sync step needed. |
| disable-model-invocation | true |
| truth_contract | {"canonical_sources":["ops/state/config/repo-map.json"],"live_load_required":["git diff --name-only HEAD~1 -- docs/","cd ${REPO_ROOT}/website && npm run build 2>&1 | tail -5"],"examples_only":[],"never_hardcode":["workspace paths (use git rev-parse --show-toplevel)","sync scripts (there are none — website reads docs/ via path.resolve directly)"]} |
Run the ICN website build pipeline. Execute each step and report results.
Architecture note:
icn/website/reads../docs/directly viapath.resolveat Astro build time. There is no sync script and no content to copy. Edits todocs/are live on the next build.
REPO_ROOT="$(git rev-parse --show-toplevel)"
git -C "${REPO_ROOT}" log --oneline -5 -- docs/
Report: last 5 commits that touched docs/ (or "no recent doc changes" if empty).
cd "${REPO_ROOT}/website" && npm ci 2>&1 | tail -5
Skip if node_modules/ already exists and no package.json changes.
cd "${REPO_ROOT}/website" && npm run build 2>&1
Report:
If build fails, stop here and report the error. Do not proceed to step 4.
grep -r 'href="/' "${REPO_ROOT}/website/src" --include="*.astro" -l 2>/dev/null | head -10
Report: list of pages with absolute hrefs (informational only, not blocking).
Report as:
Website build complete
Recent doc changes: N commits
Build: ✅ / ❌
Pages with absolute hrefs: N (informational)