[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79A4ESA8D5D07VV1HYBEDV5":3,"skill-same:01M79A4ESA8D5D07VV1HYBEDV5":61},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79A4ESA8D5D07VV1HYBEDV5","cli-scaffold-compiled",null,"Generate a production-grade CLI scaffold in a compiled language — Rust, Go, or .NET. Use when the user requests a CLI in one of those three languages. Not the entry point — scaffold-cli resolves the language and dispatches here; a raw request such as \"scaffold a new command-line tool in Rust\" should go to scaffold-cli first. Produces a lib+binary split where the core library has zero CLI-framework imports, packaging metadata for the language's idiomatic channel, and a snapshot test for --help. Loads the cli-architecture doctrine first, generates freeform from the per-language reference, then hands the scaffold to the cli-scaffold-verifier before presenting; fixes any fixable gaps and re-verifies.","Anselmoo\u002Fwerkstoff","Anselmoo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13209783?v=4","01M799YTB3D7RZ4P3B8CSR2X85","Anselm Hahn","01M799YTBRAM6719D9V0NRGB4R",1,"MIT","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fcli-scaffold\u002Fskills\u002Fcli-scaffold-compiled\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cli-scaffold-compiled\ndescription: Generate a production-grade CLI scaffold in a compiled language — Rust, Go, or .NET. Use when the user requests a CLI in one of those three languages. Not the entry point — scaffold-cli resolves the language and dispatches here; a raw request such as \"scaffold a new command-line tool in Rust\" should go to scaffold-cli first. Produces a lib+binary split where the core library has zero CLI-framework imports, packaging metadata for the language's idiomatic channel, and a snapshot test for --help. Loads the cli-architecture doctrine first, generates freeform from the per-language reference, then hands the scaffold to the cli-scaffold-verifier before presenting; fixes any fixable gaps and re-verifies.\n---\n\n# Compiled CLI scaffold (Rust \u002F Go \u002F .NET)\n\nYou generate a CLI in Rust, Go, or .NET. All rules come from the\n**`cli-architecture`** doctrine — load it first and follow it; this skill does\nnot restate it.\n\n## Precondition — invoked via scaffold-cli\n\nThis skill assumes `scaffold-cli` has already resolved the language and\ndispatched here with `paradigm: compiled` (Rust, Go, or .NET). If invoked\ndirectly and no resolved language was handed off, do not resolve it\nyourself — stop and tell the user to invoke `scaffold-cli` instead. If you\nmust confirm ambiguity, you may re-run\n`python3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Flang_router.py\" \"\u003Clanguage-as-given>\"`,\nbut only continue if its JSON `paradigm` is `compiled`; on `AMBIGUOUS:`,\n`UNSUPPORTED:`, or any other `paradigm`, refuse and name `scaffold-cli` as the\ncorrect entry point — mirroring `scaffold-cli`'s own AMBIGUOUS\u002FUNSUPPORTED\nhandling rather than scaffolding anyway.\n\n## Step 1 — Load doctrine\n\nLoad the `cli-architecture` skill. Do not generate anything before it is loaded.\n\n## Step 2 — Read the per-language reference\n\nRead the reference for the resolved language (each maps 1:1 onto the five pillars):\n\n- Rust → `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Frust.md`\n- Go → `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Fgo.md`\n- .NET → `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Fdotnet.md`\n\n## Step 3 — Resolve the write target (in code)\n\n```bash\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fwrite_scope.py\" \"\u003Capp-name>\"\n```\n\nWrite the scaffold **only** under the path it prints. If it exits non-zero, stop\nand ask for a valid app name — never write outside the declared output scope.\n\n## Step 4 — Generate the scaffold freeform\n\nFollowing the reference idioms (not stored boilerplate), generate:\n\n- the **lib + binary split**: a core library file with zero CLI-framework\n  imports, and a thin binary entry point that only parses, dispatches into the\n  core, formats output, and maps the frozen exit codes;\n- **packaging metadata** for the one idiomatic channel named in the reference;\n- a **snapshot test** for `--help`;\n- the discoverability, NO_COLOR, `--json`, `--no-input`, and stdout\u002Fstderr\n  behavior the doctrine requires;\n- a root **`cli-scaffold.manifest.json`** declaring the file roles (see the\n  doctrine for the schema) — the verifier reads this.\n\nIdentical requests must converge on the same structure.\n\n## Step 5 — Verify before presenting (mandatory)\n\nHand the scaffold to the **cli-scaffold-verifier** agent for a read-only check\nagainst the doctrine and reference. The verifier runs:\n\n```bash\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fverify_scaffold.py\" \"\u003Cscaffold-dir>\" \"\u003Clanguage>\"\n```\n\n- **Exit 0 (verdict `pass`)** → present the scaffold.\n- **Exit 1 (verdict `gaps`)** → read the JSON report path it prints. For each\n  finding with `disposition: fixable`, fix it and re-run the verifier. Only\n  findings marked `disposition: needs-human-judgment` are surfaced to the user\n  unmodified. The verifier bounds the loop itself: after\n  `MAX_FIX_ITERATIONS` it HALTs — if that happens, surface the remaining\n  findings to the user instead of looping.\n\nA report with both kinds of finding looks like this:\n\n```json\n{\n  \"verdict\": \"gaps\",\n  \"findings\": [\n    {\n      \"disposition\": \"fixable\",\n      \"rule\": \"snapshot-test-missing\",\n      \"detail\": \"No snapshot test found for `--help` output.\"\n    },\n    {\n      \"disposition\": \"needs-human-judgment\",\n      \"rule\": \"packaging-channel-ambiguous\",\n      \"detail\": \"Both a workspace Cargo.toml and a standalone one are plausible; pick one.\"\n    }\n  ]\n}\n```\n\nNever present a scaffold that still has fixable findings.\n\n## Step 6 — Render the architecture tree\n\nOnce verification passes, render the scaffold's real file tree, each file\ntagged with which five-pillar role it plays — derived from the same\n`cli-scaffold.manifest.json` keys the verifier just read, not re-invented:\n\n```bash\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbuild_architecture_tree.py\" \"\u003Cscaffold-dir>\" \\\n    --template \"${CLAUDE_PLUGIN_ROOT}\u002Fassets\u002Farchitecture-tree-viewer.html\" \\\n    --d3 \"${CLAUDE_PLUGIN_ROOT}\u002Fassets\u002Finline-d3.html\" \\\n    --tokens \"${CLAUDE_PLUGIN_ROOT}\u002Fassets\u002Ftokens.css\"\n```\n\nWrites `\u003Cscaffold-dir>\u002FARCHITECTURE.html` — inside the scaffold itself, since\nhere the output IS the deliverable, not a report about existing code.\nMention this path when presenting the scaffold.\n","# Compiled CLI scaffold (Rust \u002F Go \u002F .NET)\n\nYou generate a CLI in Rust, Go, or .NET. All rules come from the\n**`cli-architecture`** doctrine — load it first and follow it; this skill does\nnot restate it.\n\n## Precondition — invoked via scaffold-cli\n\nThis skill assumes `scaffold-cli` has already resolved the language and\ndispatched here with `paradigm: compiled` (Rust, Go, or .NET). If invoked\ndirectly and no resolved language was handed off, do not resolve it\nyourself — stop and tell the user to invoke `scaffold-cli` instead. If you\nmust confirm ambiguity, you may re-run\n`python3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Flang_router.py\" \"\u003Clanguage-as-given>\"`,\nbut only continue if its JSON `paradigm` is `compiled`; on `AMBIGUOUS:`,\n`UNSUPPORTED:`, or any other `paradigm`, refuse and name `scaffold-cli` as the\ncorrect entry point — mirroring `scaffold-cli`'s own AMBIGUOUS\u002FUNSUPPORTED\nhandling rather than scaffolding anyway.\n\n## Step 1 — Load doctrine\n\nLoad the `cli-architecture` skill. Do not generate anything before it is loaded.\n\n## Step 2 — Read the per-language reference\n\nRead the reference for the resolved language (each maps 1:1 onto the five pillars):\n\n- Rust → `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Frust.md`\n- Go → `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Fgo.md`\n- .NET → `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Fdotnet.md`\n\n## Step 3 — Resolve the write target (in code)\n\n```bash\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fwrite_scope.py\" \"\u003Capp-name>\"\n```\n\nWrite the scaffold **only** under the path it prints. If it exits non-zero, stop\nand ask for a valid app name — never write outside the declared output scope.\n\n## Step 4 — Generate the scaffold freeform\n\nFollowing the reference idioms (not stored boilerplate), generate:\n\n- the **lib + binary split**: a core library file with zero CLI-framework\n  imports, and a thin binary entry point that only parses, dispatches into the\n  core, formats output, and maps the frozen exit codes;\n- **packaging metadata** for the one idiomatic channel named in the reference;\n- a **snapshot test** for `--help`;\n- the discoverability, NO_COLOR, `--json`, `--no-input`, and stdout\u002Fstderr\n  behavior the doctrine requires;\n- a root **`cli-scaffold.manifest.json`** declaring the file roles (see the\n  doctrine for the schema) — the verifier reads this.\n\nIdentical requests must converge on the same structure.\n\n## Step 5 — Verify before presenting (mandatory)\n\nHand the scaffold to the **cli-scaffold-verifier** agent for a read-only check\nagainst the doctrine and reference. The verifier runs:\n\n```bash\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fverify_scaffold.py\" \"\u003Cscaffold-dir>\" \"\u003Clanguage>\"\n```\n\n- **Exit 0 (verdict `pass`)** → present the scaffold.\n- **Exit 1 (verdict `gaps`)** → read the JSON report path it prints. For each\n  finding with `disposition: fixable`, fix it and re-run the verifier. Only\n  findings marked `disposition: needs-human-judgment` are surfaced to the user\n  unmodified. The verifier bounds the loop itself: after\n  `MAX_FIX_ITERATIONS` it HALTs — if that happens, surface the remaining\n  findings to the user instead of looping.\n\nA report with both kinds of finding looks like this:\n\n```json\n{\n  \"verdict\": \"gaps\",\n  \"findings\": [\n    {\n      \"disposition\": \"fixable\",\n      \"rule\": \"snapshot-test-missing\",\n      \"detail\": \"No snapshot test found for `--help` output.\"\n    },\n    {\n      \"disposition\": \"needs-human-judgment\",\n      \"rule\": \"packaging-channel-ambiguous\",\n      \"detail\": \"Both a workspace Cargo.toml and a standalone one are plausible; pick one.\"\n    }\n  ]\n}\n```\n\nNever present a scaffold that still has fixable findings.\n\n## Step 6 — Render the architecture tree\n\nOnce verification passes, render the scaffold's real file tree, each file\ntagged with which five-pillar role it plays — derived from the same\n`cli-scaffold.manifest.json` keys the verifier just read, not re-invented:\n\n```bash\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbuild_architecture_tree.py\" \"\u003Cscaffold-dir>\" \\\n    --template \"${CLAUDE_PLUGIN_ROOT}\u002Fassets\u002Farchitecture-tree-viewer.html\" \\\n    --d3 \"${CLAUDE_PLUGIN_ROOT}\u002Fassets\u002Finline-d3.html\" \\\n    --tokens \"${CLAUDE_PLUGIN_ROOT}\u002Fassets\u002Ftokens.css\"\n```\n\nWrites `\u003Cscaffold-dir>\u002FARCHITECTURE.html` — inside the scaffold itself, since\nhere the output IS the deliverable, not a report about existing code.\nMention this path when presenting the scaffold.\n",{"name":5,"description":7},"main","6158c1e4e112c06af2c7ac01b13b2ed7214c0fcf","plugins\u002Fcli-scaffold\u002Fskills\u002Fcli-scaffold-compiled",0,"https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff","https:\u002F\u002Fanselmoo.github.io\u002Fwerkstoff\u002F","https:\u002F\u002Fgithub.com\u002FAnselmoo","Likes to Develop","2026-11-02 04:20:59",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Anselmoo\u002Fwerkstoff --skill cli-scaffold-compiled",{"tool":39,"command":40},"bunx","bunx skills add Anselmoo\u002Fwerkstoff --skill cli-scaffold-compiled",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Anselmoo\u002Fwerkstoff --skill cli-scaffold-compiled","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fcli-scaffold\u002Fskills\u002Fcli-scaffold-compiled\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fdotnet.md","REFERENCE","参考文档",2444,"https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fcli-scaffold\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Fdotnet.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fgo.md",2349,"https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fcli-scaffold\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Fgo.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Frust.md",2674,"https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fcli-scaffold\u002Fskills\u002Fcli-scaffold-compiled\u002Freferences\u002Frust.md",[62,69,76,81,86,91],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79AJTRBNBX03WWKYJ8ENM45","toy-check","A skill that checks things in the repository and reports what it finds.","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Ftest\u002Fworkflows\u002Ffixtures\u002Ftoy-plugin\u002Fskills\u002Ftoy-check\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79AJS292F3HTDRXWZVRSN5B","demo-check","Reports which generated files changed since the last generation run. Use when the user asks what drifted. Read-only; never edits a file.","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Ftest\u002Fplugins\u002Ffixtures\u002Fnacharbeit-uncompleted-run\u002Fplugins\u002Fdemo\u002Fskills\u002Fdemo-check\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79AJP4TFQXKT1AAK1WC1JYK","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Ftest\u002Fplugins\u002Ffixtures\u002Fnacharbeit-stale-lock\u002Fplugins\u002Fdemo\u002Fskills\u002Fdemo-check\u002FSKILL.md",[],[],{"skillNo":82,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AJM6Y50WP3G2BR4H0M60Z","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Ftest\u002Fplugins\u002Ffixtures\u002Fnacharbeit-preflight-mixed\u002Fplugins\u002Fdemo\u002Fskills\u002Fdemo-check\u002FSKILL.md",[],[],{"skillNo":87,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79AJGR6DMT8KCCK071V78XM","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Ftest\u002Fplugins\u002Ffixtures\u002Fnacharbeit-hooks-shape\u002Fplugins\u002Fdemo\u002Fskills\u002Fdemo-check\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79AJBJ4CHC4PZVWKERWF3HF","zirkel-verify-assumptions","Checks exactly ONE named assumption against real evidence in at most 3 steps and reports one outcome: confidence raised (>=90), reading changed, or still unresolved. Use to resolve a single load-bearing uncertainty — typically a blocking entry surfaced by zirkel-clarify-scope: \"verify this one assumption\", \"is it actually true that X\", \"check this before we rely on it\". For multiple uncertainties, invoke once per uncertainty — the step budget is never shared.","https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fzirkel\u002Fskills\u002Fzirkel-verify-assumptions\u002FSKILL.md",[],[]]