[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KM27QVYGSCAN6J2Z1H0H8T":3,"skill-same:01M6KM27QVYGSCAN6J2Z1H0H8T":103},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":66},"01M6KM27QVYGSCAN6J2Z1H0H8T","architecture-topology-report",null,"Build a self-contained HTML report for a workspace's package dependency topology: either score it against a named target architecture, or (when no target is supplied) produce a raw topology inventory. Use when someone wants a topology report, a dependency-graph or package-graph audit, a layering\u002Fcycle check, or to see how close a monorepo is to a stated architectural end-state (e.g. an objective's target, an ADR's layering rules).","nseng-ai\u002Fns","nseng-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273792438?v=4","01M6KKN105A07WPV2TZKZXZGQF","nseng.ai","01M6KKN14MDSR9VF9739AWXG8M",2,"MIT","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"report","architecture topology report","topology","architecture","use","objective","for","true","end","self","either","cycle","package","check","Rules","monorepo","adr","html report","inventory","produce","2026-11-10 10:12:30",false,"---\nname: architecture-topology-report\ndisable-model-invocation: true\ndescription: >-\n  Build a self-contained HTML report for a workspace's package dependency topology: either\n  score it against a named target architecture, or (when no target is supplied) produce a raw\n  topology inventory. Use when someone wants a topology report, a dependency-graph or\n  package-graph audit, a layering\u002Fcycle check, or to see how close a monorepo is to a stated\n  architectural end-state (e.g. an objective's target, an ADR's layering rules).\nmetadata:\n  internal: true\n---\n\n# Architecture Topology Report\n\nProduce an **architecture topology report**: the actual runtime package dependency graph of a\nworkspace, rendered as an editorial HTML report. It has two modes:\n\n1. **Raw inventory mode** (no target named — the default):\n   render and summarize the graph as-is — cycles, declared-tier violations, fan-in\u002Fout, `\u002Fapi`\n   seams, kit consumers, orphans, and other manifest-derived facts. This path needs **no agent\n   reasoning at all**: `scripts\u002Ftopology` extracts the graph and renders a complete report from a\n   deterministically synthesized spec.\n2. **Target scorecard mode** (when a target is named): measure the graph against a *stated\n   target architecture* — \"how well are we tracking toward the architecture we said we wanted?\"\n   (not \"find me refactors\" — that is the sibling `review-improve-codebase-architecture` skill). This\n   is the only path that needs the agent, because the target invariants and editorial judgement\n   are irreducible.\n\n## Instant path — no target (just run the app)\n\nIf the user wants a topology report, dependency-graph audit, package-graph inventory, or a raw\nlayering\u002Fcycle check **without** a named target, do not author anything. Run the launcher from\nthe workspace root:\n\n```bash\nskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Ftopology          # extract, render, open\nskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Ftopology --no-open # render only; prints the path\n```\n\nIt extracts the graph and renders a full report — verdict, declared-tier stack, interactive D3\ngraph, factual scorecard, finding cards, and a \"first deeper-read\" keystone — from a spec\nsynthesized straight from the JSON (`scripts\u002Fsynthesize-spec.mjs`). Pass through any `extract-graph` flag for a different workspace\n(`--root`, `--kit`, `--api-needle`, `--src-dir`) or `--repo \u003Cname>` to override the header\ntitle. Relay the printed HTML path to the user.\n\nOnly drop to the agent (the target path below) when the user names a target architecture.\n\n## Target-scorecard path — a target was named\n\nThis is the only path where the agent authors content. A clean run is ~4 turns and **one** graph\nextraction:\n\n1. **One parallel batch:** run `extract-graph.mjs --pretty --out \u003Ctmp>\u002Fgraph.json` (caches the\n   JSON *and* prints the facts); read the supplied target docs (`objective.md` \u002F `roadmap.md` \u002F\n   `orientation.md` + any named ADRs); read `scripts\u002Fexample-spec.mjs` and only the\n   \"Spec contract\" table in `references\u002FHTML-REPORT.md`.\n2. **≤2 targeted greps** for the few things the JSON can't see.\n3. Write the spec, making the scorecard rows the target invariants.\n4. `build-report.mjs --graph \u003Ctmp>\u002Fgraph.json --spec \u003Cspec> --open`.\n\nThe detailed steps below expand each of these. (Steps 1–4 also describe the mechanics the\nlauncher automates for you in raw mode — read them when you need to understand or extend what\nthe synthesized spec contains.)\n\n### 1. Load the target architecture, if supplied\n\nIf the user named a target, read the document(s) that define the intended end-state. If the\nuser named an objective, read its `objective.md` (the \"Architecture Model\" and \"Completion\nCriteria\" sections carry the invariants), `roadmap.md` (what is done vs. pending), and\n`orientation.md` (the standing rule). Follow ADR references — the target invariants usually\nlive there.\n\nExtract the target into a checklist of **invariants** — testable statements like \"the\ndependency graph is acyclic\", \"below-SDK packages hold no domain\", \"every extension\nexposes a command face\", \"package X must delete to zero\". These become the report's\nscorecard rows. Use the project's own vocabulary (from `CONTEXT.md` and the target doc)\nfor layer and seam names — don't invent your own.\n\nIf no target is supplied, run the launcher (the *Instant path* above).\n\n### 2. Extract the real topology\n\nRun the bundled script; it emits JSON with everything structural:\n\n```bash\nnode \u003Cskill-dir>\u002Fscripts\u002Fextract-graph.mjs --pretty --out \u003Ctmp>\u002Fgraph.json\n```\n\n`--out` tees the JSON to a file as well as stdout, so step 4 can pass `--graph \u003Ctmp>\u002Fgraph.json`\nand skip a second extraction — one invocation surfaces the facts *and* caches them.\n\nDefaults are tuned for ns (`--root ts\u002Fpackages`, `--kit @nseng-ai\u002Fextension-kit`,\n`--api-needle api`). Override the flags for a different workspace. The script reports, over\n**runtime edges only** (`dependencies` + `peerDependencies`):\n\n- `cycles` — strongly-connected components of size > 1. `[]` means acyclic. This is the\n  headline test for \"is the dependency graph clean\".\n- `fanOut` \u002F `fanIn` — ranked. The top fan-out package is usually the intended\n  highest-level consumer; high fan-in marks the load-bearing infra.\n- `exposesApi` — which packages ship an `\u002Fapi`-style export (the curated-seam convention).\n- `apiOnly` — packages that expose *only* an API with no command\u002Fmain face (an anomaly if\n  the target says every extension needs a command face).\n- `kitConsumers` — packages depending on the named substrate\u002Fkit (a proxy for \"migrated to\n  the gateway-injected pattern\").\n- `orphans` — zero runtime fan-in; unwired leaves, often the furthest from the model.\n- `packages[name].loc` — approximate source size (meaningful TypeScript lines under the\n  package's `src`, tests\u002Fblank\u002F`\u002F\u002F` excluded).\n- `topologyCircles` \u002F `circleGraph` — source topology circles discovered from root\n  `src\u002F*.ts` files plus one circle per `src\u002F\u003Ccomponent>\u002F` directory. Override the\n  source folder with `--src-dir`.\n\nThe script reads each workspace package's declared `ns.tier`, validates it against the\ncanonical tier taxonomy derived from the style-guard package tier data, emits `packages[name].tier`, and\nreports computed `tierViolations` over runtime package edges — each tagged `severity: \"hard\"`,\nor `\"debt\"` when the offending edge is on the allowlist. It does not write the editorial\nverdict. In target mode, map the measured facts to the target's invariants yourself (the\nlauncher's synthesizer does this mapping for raw mode). When you need finer detail than package-level manifest edges, prefer the extracted\n`circleGraph` first; use targeted source greps only for questions the static circle graph does not\nclassify, such as whether an extension import is intentionally through `\u002Fapi` or an internal-looking\nsubpath.\n\n**This JSON is the evidence base** — it already answers most scorecard rows (`cycles`,\n`tierViolations`, `kitConsumers`, `exposesApi`, `apiOnly`, `orphans`,\n`fanOut`\u002F`fanIn`) directly. Read it once and lean on it; don't drift into open-ended\ninvestigation. Only two kinds of question need a grep: **subpath cleanliness** (`\u002Fapi` vs.\ninternals, as above) and **non-manifest facts** (e.g. is a guard wired into the default\nvalidation lane?). Cap it at a couple of targeted greps — this is evidence *confirmation*, not\ninvestigation. A topology report reads manifests, never behavior, so **never run the test suite\nor `just` to gather evidence**; read the relevant config \u002F justfile files directly instead.\n\n### 3. Map facts to invariants or inventory rows\n\nIn target mode, for each target invariant, find the supporting fact and assign a status. Keep\nstatuses honest and few: `holds` (green), `partial` \u002F `N of M` (amber), `open` \u002F `blocked` \u002F\n`gap` (red). Cite the concrete evidence (the cycle members, the consumer count, the leaking\nsubpaths) — a status with no evidence is noise.\n\nRaw inventory mode does this mapping deterministically (in `scripts\u002Fsynthesize-spec.mjs`): it\nturns `cycles`, hard\u002Fdebt `tierViolations`, top fan-in\u002Ffan-out, `exposesApi`\u002F`apiOnly`,\n`kitConsumers`, and `orphans` into factual scorecard rows with descriptive statuses (`none`,\n`N packages`, `top fan-out`, …), renders the notable facts as finding cards, and picks a \"first\ndeeper-read\" keystone (the largest\u002Fmost-connected\u002Fcyclic\u002Ftier-violating node). You only do this\nby hand in target mode; if a raw report needs a reading the synthesizer omits, extend that\nmodule rather than authoring a one-off spec.\n\nIn target mode, look specifically for:\n\n- **Cycles** — every SCC is debt against an acyclicity invariant, even ones the target doc\n  explicitly defers.\n- **Migration distance vs. drift** — distance is \"not yet migrated\"; drift is \"actively wrong\".\n  Keep them distinct, and lean on the metadata-encoded `severity: \"hard\"` vs. `\"debt\"` split.\n- **The keystone** — name the single move that unblocks the most invariants at once.\n\n### 4. Render the HTML report\n\n**Use the bundled generator — do not hand-build the HTML.** `scripts\u002Fbuild-report.mjs`\nowns everything mechanical and repeated (the D3 renderer, the HTML scaffold, every\nsection's markup, the `{nodes, links}` assembly, declared-tier lookup, cycle-edge marking,\nfan-in\u002Fout). You author only a compact **content spec** — optional tier overrides plus the\neditorial judgement (verdict, scorecard rows, finding cards, keystone) — and the script\nrenders the page, writes it to the OS temp dir, and (with `--open`) opens it.\n\n```bash\n# (a) inspect the declared tier map, or copy entries only when you need overrides:\nnode \u003Cskill-dir>\u002Fscripts\u002Fbuild-report.mjs --tiers-template            # prints declared {pkg: tier}\n# (b) write a spec module (see references\u002FHTML-REPORT.md \"Spec contract\"), then render:\nnode \u003Cskill-dir>\u002Fscripts\u002Fbuild-report.mjs --graph \u003Ctmp>\u002Fgraph.json --spec \u002Fabs\u002Fpath\u002Freport-spec.mjs --open\n```\n\nAlways pass `--graph \u003Ctmp>\u002Fgraph.json` (the cache from step 2) so the generator renders from the\nalready-extracted graph instead of re-running `extract-graph.mjs`. It still falls back to\nauto-extraction when `--graph` is absent (pass through `--root`\u002F`--kit`\u002F… for a different\nworkspace). `--spec` is **optional**: omit it and `build-report.mjs` synthesizes the raw\ninventory spec deterministically (this is exactly what the `topology` launcher does) — supply\n`--spec` only for a target scorecard. It prints the absolute output path; relay it to the user.\nThe only per-run thinking is the spec: whether any package tier needs an explicit report-only\noverride, and the invariant analysis from step 3.\n\nTo author the spec, work from `scripts\u002Fexample-spec.mjs` (a complete, validated template)\nplus the \"Spec contract\" table in\n[references\u002FHTML-REPORT.md](references\u002FHTML-REPORT.md) — the rest of that reference is the\ngenerator-owned D3 scaffold and design rationale, which you don't need to read to write a spec.\nThe full field list and section sequence live there if you need them. The generator mixes an\ninteractive D3 graph, Mermaid cycle diagrams, and hand-built Tailwind sections; presentation\ndetail is generator-owned — see `references\u002FHTML-REPORT.md`. Tier presentation comes from\ndeclared `ns.tier`.\n\nOnly drop to a hand-built page (the raw scaffold is still in the reference) if a report needs\na register the spec does not express — and prefer extending `build-report.mjs` over a one-off.\n\n### 5. Summarize in chat\n\nGive the user the path, the scorecard\u002Finventory verdict in a compact table, the keystone\nrecommendation (target mode) or first deeper-read recommendation (raw inventory mode), and any\nsharp loose ends (an orphan extension, an api-only package, a declared tier violation, a debt\nedge from a package that is supposed to disappear when a target says so). Offer to drill into\nany finding.\n","# Architecture Topology Report\n\nProduce an **architecture topology report**: the actual runtime package dependency graph of a\nworkspace, rendered as an editorial HTML report. It has two modes:\n\n1. **Raw inventory mode** (no target named — the default):\n   render and summarize the graph as-is — cycles, declared-tier violations, fan-in\u002Fout, `\u002Fapi`\n   seams, kit consumers, orphans, and other manifest-derived facts. This path needs **no agent\n   reasoning at all**: `scripts\u002Ftopology` extracts the graph and renders a complete report from a\n   deterministically synthesized spec.\n2. **Target scorecard mode** (when a target is named): measure the graph against a *stated\n   target architecture* — \"how well are we tracking toward the architecture we said we wanted?\"\n   (not \"find me refactors\" — that is the sibling `review-improve-codebase-architecture` skill). This\n   is the only path that needs the agent, because the target invariants and editorial judgement\n   are irreducible.\n\n## Instant path — no target (just run the app)\n\nIf the user wants a topology report, dependency-graph audit, package-graph inventory, or a raw\nlayering\u002Fcycle check **without** a named target, do not author anything. Run the launcher from\nthe workspace root:\n\n```bash\nskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Ftopology          # extract, render, open\nskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Ftopology --no-open # render only; prints the path\n```\n\nIt extracts the graph and renders a full report — verdict, declared-tier stack, interactive D3\ngraph, factual scorecard, finding cards, and a \"first deeper-read\" keystone — from a spec\nsynthesized straight from the JSON (`scripts\u002Fsynthesize-spec.mjs`). Pass through any `extract-graph` flag for a different workspace\n(`--root`, `--kit`, `--api-needle`, `--src-dir`) or `--repo \u003Cname>` to override the header\ntitle. Relay the printed HTML path to the user.\n\nOnly drop to the agent (the target path below) when the user names a target architecture.\n\n## Target-scorecard path — a target was named\n\nThis is the only path where the agent authors content. A clean run is ~4 turns and **one** graph\nextraction:\n\n1. **One parallel batch:** run `extract-graph.mjs --pretty --out \u003Ctmp>\u002Fgraph.json` (caches the\n   JSON *and* prints the facts); read the supplied target docs (`objective.md` \u002F `roadmap.md` \u002F\n   `orientation.md` + any named ADRs); read `scripts\u002Fexample-spec.mjs` and only the\n   \"Spec contract\" table in `references\u002FHTML-REPORT.md`.\n2. **≤2 targeted greps** for the few things the JSON can't see.\n3. Write the spec, making the scorecard rows the target invariants.\n4. `build-report.mjs --graph \u003Ctmp>\u002Fgraph.json --spec \u003Cspec> --open`.\n\nThe detailed steps below expand each of these. (Steps 1–4 also describe the mechanics the\nlauncher automates for you in raw mode — read them when you need to understand or extend what\nthe synthesized spec contains.)\n\n### 1. Load the target architecture, if supplied\n\nIf the user named a target, read the document(s) that define the intended end-state. If the\nuser named an objective, read its `objective.md` (the \"Architecture Model\" and \"Completion\nCriteria\" sections carry the invariants), `roadmap.md` (what is done vs. pending), and\n`orientation.md` (the standing rule). Follow ADR references — the target invariants usually\nlive there.\n\nExtract the target into a checklist of **invariants** — testable statements like \"the\ndependency graph is acyclic\", \"below-SDK packages hold no domain\", \"every extension\nexposes a command face\", \"package X must delete to zero\". These become the report's\nscorecard rows. Use the project's own vocabulary (from `CONTEXT.md` and the target doc)\nfor layer and seam names — don't invent your own.\n\nIf no target is supplied, run the launcher (the *Instant path* above).\n\n### 2. Extract the real topology\n\nRun the bundled script; it emits JSON with everything structural:\n\n```bash\nnode \u003Cskill-dir>\u002Fscripts\u002Fextract-graph.mjs --pretty --out \u003Ctmp>\u002Fgraph.json\n```\n\n`--out` tees the JSON to a file as well as stdout, so step 4 can pass `--graph \u003Ctmp>\u002Fgraph.json`\nand skip a second extraction — one invocation surfaces the facts *and* caches them.\n\nDefaults are tuned for ns (`--root ts\u002Fpackages`, `--kit @nseng-ai\u002Fextension-kit`,\n`--api-needle api`). Override the flags for a different workspace. The script reports, over\n**runtime edges only** (`dependencies` + `peerDependencies`):\n\n- `cycles` — strongly-connected components of size > 1. `[]` means acyclic. This is the\n  headline test for \"is the dependency graph clean\".\n- `fanOut` \u002F `fanIn` — ranked. The top fan-out package is usually the intended\n  highest-level consumer; high fan-in marks the load-bearing infra.\n- `exposesApi` — which packages ship an `\u002Fapi`-style export (the curated-seam convention).\n- `apiOnly` — packages that expose *only* an API with no command\u002Fmain face (an anomaly if\n  the target says every extension needs a command face).\n- `kitConsumers` — packages depending on the named substrate\u002Fkit (a proxy for \"migrated to\n  the gateway-injected pattern\").\n- `orphans` — zero runtime fan-in; unwired leaves, often the furthest from the model.\n- `packages[name].loc` — approximate source size (meaningful TypeScript lines under the\n  package's `src`, tests\u002Fblank\u002F`\u002F\u002F` excluded).\n- `topologyCircles` \u002F `circleGraph` — source topology circles discovered from root\n  `src\u002F*.ts` files plus one circle per `src\u002F\u003Ccomponent>\u002F` directory. Override the\n  source folder with `--src-dir`.\n\nThe script reads each workspace package's declared `ns.tier`, validates it against the\ncanonical tier taxonomy derived from the style-guard package tier data, emits `packages[name].tier`, and\nreports computed `tierViolations` over runtime package edges — each tagged `severity: \"hard\"`,\nor `\"debt\"` when the offending edge is on the allowlist. It does not write the editorial\nverdict. In target mode, map the measured facts to the target's invariants yourself (the\nlauncher's synthesizer does this mapping for raw mode). When you need finer detail than package-level manifest edges, prefer the extracted\n`circleGraph` first; use targeted source greps only for questions the static circle graph does not\nclassify, such as whether an extension import is intentionally through `\u002Fapi` or an internal-looking\nsubpath.\n\n**This JSON is the evidence base** — it already answers most scorecard rows (`cycles`,\n`tierViolations`, `kitConsumers`, `exposesApi`, `apiOnly`, `orphans`,\n`fanOut`\u002F`fanIn`) directly. Read it once and lean on it; don't drift into open-ended\ninvestigation. Only two kinds of question need a grep: **subpath cleanliness** (`\u002Fapi` vs.\ninternals, as above) and **non-manifest facts** (e.g. is a guard wired into the default\nvalidation lane?). Cap it at a couple of targeted greps — this is evidence *confirmation*, not\ninvestigation. A topology report reads manifests, never behavior, so **never run the test suite\nor `just` to gather evidence**; read the relevant config \u002F justfile files directly instead.\n\n### 3. Map facts to invariants or inventory rows\n\nIn target mode, for each target invariant, find the supporting fact and assign a status. Keep\nstatuses honest and few: `holds` (green), `partial` \u002F `N of M` (amber), `open` \u002F `blocked` \u002F\n`gap` (red). Cite the concrete evidence (the cycle members, the consumer count, the leaking\nsubpaths) — a status with no evidence is noise.\n\nRaw inventory mode does this mapping deterministically (in `scripts\u002Fsynthesize-spec.mjs`): it\nturns `cycles`, hard\u002Fdebt `tierViolations`, top fan-in\u002Ffan-out, `exposesApi`\u002F`apiOnly`,\n`kitConsumers`, and `orphans` into factual scorecard rows with descriptive statuses (`none`,\n`N packages`, `top fan-out`, …), renders the notable facts as finding cards, and picks a \"first\ndeeper-read\" keystone (the largest\u002Fmost-connected\u002Fcyclic\u002Ftier-violating node). You only do this\nby hand in target mode; if a raw report needs a reading the synthesizer omits, extend that\nmodule rather than authoring a one-off spec.\n\nIn target mode, look specifically for:\n\n- **Cycles** — every SCC is debt against an acyclicity invariant, even ones the target doc\n  explicitly defers.\n- **Migration distance vs. drift** — distance is \"not yet migrated\"; drift is \"actively wrong\".\n  Keep them distinct, and lean on the metadata-encoded `severity: \"hard\"` vs. `\"debt\"` split.\n- **The keystone** — name the single move that unblocks the most invariants at once.\n\n### 4. Render the HTML report\n\n**Use the bundled generator — do not hand-build the HTML.** `scripts\u002Fbuild-report.mjs`\nowns everything mechanical and repeated (the D3 renderer, the HTML scaffold, every\nsection's markup, the `{nodes, links}` assembly, declared-tier lookup, cycle-edge marking,\nfan-in\u002Fout). You author only a compact **content spec** — optional tier overrides plus the\neditorial judgement (verdict, scorecard rows, finding cards, keystone) — and the script\nrenders the page, writes it to the OS temp dir, and (with `--open`) opens it.\n\n```bash\n# (a) inspect the declared tier map, or copy entries only when you need overrides:\nnode \u003Cskill-dir>\u002Fscripts\u002Fbuild-report.mjs --tiers-template            # prints declared {pkg: tier}\n# (b) write a spec module (see references\u002FHTML-REPORT.md \"Spec contract\"), then render:\nnode \u003Cskill-dir>\u002Fscripts\u002Fbuild-report.mjs --graph \u003Ctmp>\u002Fgraph.json --spec \u002Fabs\u002Fpath\u002Freport-spec.mjs --open\n```\n\nAlways pass `--graph \u003Ctmp>\u002Fgraph.json` (the cache from step 2) so the generator renders from the\nalready-extracted graph instead of re-running `extract-graph.mjs`. It still falls back to\nauto-extraction when `--graph` is absent (pass through `--root`\u002F`--kit`\u002F… for a different\nworkspace). `--spec` is **optional**: omit it and `build-report.mjs` synthesizes the raw\ninventory spec deterministically (this is exactly what the `topology` launcher does) — supply\n`--spec` only for a target scorecard. It prints the absolute output path; relay it to the user.\nThe only per-run thinking is the spec: whether any package tier needs an explicit report-only\noverride, and the invariant analysis from step 3.\n\nTo author the spec, work from `scripts\u002Fexample-spec.mjs` (a complete, validated template)\nplus the \"Spec contract\" table in\n[references\u002FHTML-REPORT.md](references\u002FHTML-REPORT.md) — the rest of that reference is the\ngenerator-owned D3 scaffold and design rationale, which you don't need to read to write a spec.\nThe full field list and section sequence live there if you need them. The generator mixes an\ninteractive D3 graph, Mermaid cycle diagrams, and hand-built Tailwind sections; presentation\ndetail is generator-owned — see `references\u002FHTML-REPORT.md`. Tier presentation comes from\ndeclared `ns.tier`.\n\nOnly drop to a hand-built page (the raw scaffold is still in the reference) if a report needs\na register the spec does not express — and prefer extending `build-report.mjs` over a one-off.\n\n### 5. Summarize in chat\n\nGive the user the path, the scorecard\u002Finventory verdict in a compact table, the keystone\nrecommendation (target mode) or first deeper-read recommendation (raw inventory mode), and any\nsharp loose ends (an orphan extension, an api-only package, a declared tier violation, a debt\nedge from a package that is supposed to disappear when a target says so). Offer to drill into\nany finding.\n",{"name":5,"metadata":44,"description":7,"disable-model-invocation":45},{"internal":45},true,"master","44a56f0d543f274b42239091b35fe4d23855f6b3","skills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report",0,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns","https:\u002F\u002Fgithub.com\u002Fnseng-ai","Keeping the clankers in check: Nonslop Engineering for AI","2026-10-02 12:48:53",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":45},[56,59,62],{"tool":57,"command":58},"npx","npx skills add nseng-ai\u002Fns --skill architecture-topology-report",{"tool":60,"command":61},"bunx","bunx skills add nseng-ai\u002Fns --skill architecture-topology-report",{"tool":63,"command":64},"pnpm","pnpm dlx skills add nseng-ai\u002Fns --skill architecture-topology-report","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002FSKILL.md",[67,73,77,83,87,91,95,99],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"agents\u002Fopenai.yaml","REFERENCE","参考文档",43,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fagents\u002Fopenai.yaml",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002FHTML-REPORT.md",25398,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Freferences\u002FHTML-REPORT.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fbuild-report.mjs","SCRIPT","脚本",44479,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Fbuild-report.mjs",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fexample-spec.mjs",18311,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Fexample-spec.mjs",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fextract-graph.mjs",16427,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Fextract-graph.mjs",{"path":92,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fsynthesize-spec.mjs",20151,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Fsynthesize-spec.mjs",{"path":96,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Ftiers.mjs",2301,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Ftiers.mjs",{"path":100,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Ftopology",1106,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Freview-system\u002Farchitecture-topology-report\u002Fscripts\u002Ftopology",[104,126,148,168,191,202],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6KM3VZ7JC4S6R4KATJ368EH","pr-make-accountable","Interview a PR author to establish shared understanding of intent and design decisions, then co-author the What \u002F Why \u002F Changes PR body with opt-in Requested reviewer focus.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Fpublic\u002Fprs\u002Fpr-make-accountable\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,119,120,121,122,123,26,124,125],"pr","make","pr make accountable","design","why","reviewer","decisions","interview","intent","focus","shared","co","with","changes","pr body",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M6KM3NZCZ86VJ91RSVTRGTJW","typescript-style","Opinionated style guide for strict, portable TypeScript. Use when writing, designing, or reviewing TypeScript: type design, boundary validation, error handling, module architecture, and review discipline.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Ftypescript-style\u002FSKILL.md",[],[133,134,135,114,136,137,22,138,139,140,33,141,23,142,143,144,145,146,147,25],"typescript","style","typescript style","writing","review","core","error handling","system","README","error-handling","study","module","error","case-study","style guide",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":39},"01M6KM3HNY4WY42KMYRPS6KEJZ","typescript-fake-driven-testing","TypeScript fake-driven testing architecture. Use when writing or reviewing TS code with external dependencies, gateway interfaces, real adapters, in-memory fakes, or CLI scenario tests.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Ftypescript-fake-driven-testing\u002FSKILL.md",[],[155,133,156,157,158,136,159,160,22,161,162,23,163,164,165,166,123,167],"testing","driven","fake driven testing","typescript fake driven testing","cli","memory","code","gateway","dependencies","tests","scenario","Adapters","in-memory",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":39},"01M6KM3AXC2539PENYVZJYKCP9","ns-typescript","TypeScript overlay for ns-style projects. Use when editing or reviewing TS in this repo: tsconfig baseline, pnpm\u002FVitest\u002Foxlint\u002Foxfmt\u002Fnative tsc commands, relative .ts imports, workspace subpath exports, and the exactOptionalPropertyTypes spread idiom. Repo-specific enforcement (test lanes, time seams, style guard) lives in the host repo's AGENTS.md.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Fns-typescript\u002FSKILL.md",[],[133,175,176,177,178,179,180,181,23,182,183,184,185,134,186,187,188,25,189,190],"ns typescript","test","guard","vitest","projects","editing","repo","enforcement","references","time","host","oxlint","import","native","alternatives","imports",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":39},"01M6KM36Y5KZ5V48M58MT42AHM","ns-typescript-style-tripwire","Invoke the ns TypeScript style Tripwire against a supplied diff or current branch.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Fns-typescript-style-tripwire\u002FSKILL.md",[],[133,198,134,199,200,201,26],"tripwire","ns typescript style tripwire","branch","diff",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":208,"publishedAt":39},"01M6KM313HANS0AV181X37ZM45","skill-management","Manage skills with `npx skills`: add, edit, remove, rename, update, or list skills (local or GitHub), and the nested `skills\u002F\u003Cdisposition>\u002F...\u002F\u003Cname>\u002F` \u002F flat `.agents\u002Fskills\u002F` layout conventions.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Fskill-system\u002Fskill-management\u002FSKILL.md",[],[209,210,211,212,213,201,214,215,57,216,217,123,218,219,220,221,222,223,26,224],"management","skill management","github","Bash","remove","nested","manage","local","cat","ln","ls","mkdir","mv","readlink","rg","lock"]