[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79A8HSSCEZDCA8FN6TBVHE3":3,"skill-same:01M79A8HSSCEZDCA8FN6TBVHE3":47},{"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},"01M79A8HSSCEZDCA8FN6TBVHE3","lehre-decompose",null,"Use on a blank page, after lehre-preflight reports greenfield, to turn a stated project intent into build units, the seams between them, and an enforced build order. Trigger on 'start this project properly', 'initialize this repo', 'break this down into pieces and connect them', 'what should I build first', or 'lehre decompose'. Produces units whose order is denied at the tool-call layer, not a plan anyone can skip.","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\u002Flehre\u002Fskills\u002Flehre-decompose\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lehre-decompose\ndescription: \"Use on a blank page, after lehre-preflight reports greenfield, to turn a stated project intent into build units, the seams between them, and an enforced build order. Trigger on 'start this project properly', 'initialize this repo', 'break this down into pieces and connect them', 'what should I build first', or 'lehre decompose'. Produces units whose order is denied at the tool-call layer, not a plan anyone can skip.\"\n---\n\nTurn \"I want to build X\" into units, seams, and an order that is **enforced**.\nA dependency-ordered plan nobody is held to is the looseness this plugin exists\nto remove.\n\n## Steps\n\n1. **Refuse to guess the intent.** If the user has not said what the project is\n   for, ask once — what it does, who calls it, what it must not do. Do not\n   invent a domain from the repository name. Record their answer verbatim; it\n   becomes the `intent-derived` provenance for every rule `lehre-codify` writes\n   next.\n\n2. **Dispatch `spec-decomposer`, one concern per dispatch, in parallel.** Give\n   each dispatch exactly one concern from the stated intent. Each returns\n   candidate units with the paths they own and what they must not know about.\n   Dispatching one agent over the whole intent produces a flat list with\n   invented seams; the parallelism is what keeps the concerns independent.\n\n3. **Derive the seams, not just the pieces.** For every pair of units that must\n   interact, name the seam: what crosses it, in which direction, and which side\n   owns the type. A unit list with no seams is a folder layout, not an\n   architecture — and it is the seams that become `python-import` rules.\n\n4. **Order by seam direction, then declare it.** A unit depends on every unit\n   whose seam it consumes. Contracts before the things written against them;\n   transport last, so it cannot shape the domain. Reject any ordering that needs\n   a cycle — `lehre_core` refuses a cyclic graph at validation time anyway, and\n   catching it here is cheaper than catching it at the first denial. If no\n   acyclic ordering exists, return to step 3 and re-derive the seams — a cycle\n   usually means a seam was drawn in the wrong direction or two units were\n   split along the wrong boundary; if re-deriving still cannot break the cycle,\n   surface the conflicting units and their seams to the user instead of forcing\n   an order.\n\n5. **Dispatch `decomposition-critic` over the whole candidate unit set**, with the\n   user's intent quoted verbatim. It hunts for `depends_on` edges no seam supports,\n   `owns` and `must_not_know` claims the intent does not back, invented\n   technologies, `utils`-style buckets, and overlapping `paths`. Revise or drop what\n   it refutes, and re-dispatch it over the revised set; do not argue with it on the\n   strength of your own derivation. These units are about to gate real writes, and\n   nothing after this step checks them. If the dispatch errors or is unreachable,\n   stop and report — do not write the units unreviewed.\n\n6. **Write the units into `.lehre\u002Fruleset.json`.** If the file does not exist,\n   create it with `\"rules\": []` — `lehre-codify` fills those in. Record the\n   user's intent **verbatim** in the top-level `intent` field, and each unit's\n   `owns` and `must_not_know` alongside its `paths` and `depends_on`. These are\n   persisted rather than remembered because `lehre-validate` dispatches\n   `spec-fidelity-auditor` against them in a later session, and a recollection\n   of what the user asked for is not evidence. Then:\n\n   ```bash\n   python3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Flehre_cli.py\" validate\n   ```\n\n   If validation fails, fix the units; never leave an invalid ruleset on disk,\n   because the hook fails closed and will deny every write until it parses.\n\n7. **Show the user what is now enforced**, and say plainly that writing into a\n   later unit will be **refused** until the earlier one passes `lehre-validate`.\n   This is the moment to surface it, not the moment of the first denial.\n\n## Output format\n\n```\nintent (verbatim, becomes rule provenance)\n  \"A CLI that ingests CSV exports from three vendors, normalises them to one\n   schema, and writes Parquet. Must never mutate the input files.\"\n\nreviewed by decomposition-critic: 5 units, 1 edge dropped (writer -> adapters: no seam\n  carries anything between them), 1 bucket unit (helpers) refused\n\nunits and seams\n  1  contracts   src\u002Fcontracts\u002F*   depends on: —\n       owns   the normalised row schema and the VendorAdapter protocol\n       seam   -> adapters, domain   (types flow out; nothing flows in)\n  2  adapters    src\u002Fadapters\u002F*    depends on: contracts\n       owns   one module per vendor, each implementing VendorAdapter\n       seam   \u003C- contracts (protocol)   -> domain (normalised rows only)\n       must not know   the output format, or that Parquet exists\n  3  domain      src\u002Fdomain\u002F*      depends on: contracts\n       owns   normalisation, validation, the never-mutate-input invariant\n       must not know   which vendor a row came from\n  4  writer      src\u002Fwriter\u002F*      depends on: contracts\n       owns   Parquet emission\n  5  cli         src\u002Fcli\u002F*         depends on: adapters, domain, writer\n       owns   argument parsing, exit codes\n       built last, so transport concerns cannot leak inward\n\nenforced build order\n  contracts -> (adapters | domain | writer) -> cli\n  adapters, domain and writer are independent — they may be built in parallel.\n\nnow in force\n  A write into src\u002Fcli\u002F* is DENIED until adapters, domain and writer each pass\n  lehre-validate. Escape hatch: LEHRE_DISABLE_GUARD=1.\n\nnext: lehre-codify — the units exist; the rules that govern them do not yet.\n```\n\n## Rules\n\n- **Name what each unit must not know.** That sentence is what becomes an\n  enforceable `python-import` rule. A unit description with no negative space\n  produces no enforceable rule.\n- **Independent units must be reported as independent.** Serialising units that\n  have no seam between them invents a dependency and slows every later build for\n  no reason.\n- **Never mark a unit done here.** Only `lehre-validate` writes a done-marker.\n- Units may be revised later, but revising a unit whose dependents are already\n  validated invalidates them — say so before doing it.\n\n## Resources\n\n- `references\u002Fruleset-schema.md` — the unit fields this skill writes (`id`, `paths`,\n  `depends_on`, `owns`, `must_not_know`, `reason`) and the top-level `intent` field, plus\n  why the done-marker belongs to `lehre-validate` alone. Read it before writing units.\n","Turn \"I want to build X\" into units, seams, and an order that is **enforced**.\nA dependency-ordered plan nobody is held to is the looseness this plugin exists\nto remove.\n\n## Steps\n\n1. **Refuse to guess the intent.** If the user has not said what the project is\n   for, ask once — what it does, who calls it, what it must not do. Do not\n   invent a domain from the repository name. Record their answer verbatim; it\n   becomes the `intent-derived` provenance for every rule `lehre-codify` writes\n   next.\n\n2. **Dispatch `spec-decomposer`, one concern per dispatch, in parallel.** Give\n   each dispatch exactly one concern from the stated intent. Each returns\n   candidate units with the paths they own and what they must not know about.\n   Dispatching one agent over the whole intent produces a flat list with\n   invented seams; the parallelism is what keeps the concerns independent.\n\n3. **Derive the seams, not just the pieces.** For every pair of units that must\n   interact, name the seam: what crosses it, in which direction, and which side\n   owns the type. A unit list with no seams is a folder layout, not an\n   architecture — and it is the seams that become `python-import` rules.\n\n4. **Order by seam direction, then declare it.** A unit depends on every unit\n   whose seam it consumes. Contracts before the things written against them;\n   transport last, so it cannot shape the domain. Reject any ordering that needs\n   a cycle — `lehre_core` refuses a cyclic graph at validation time anyway, and\n   catching it here is cheaper than catching it at the first denial. If no\n   acyclic ordering exists, return to step 3 and re-derive the seams — a cycle\n   usually means a seam was drawn in the wrong direction or two units were\n   split along the wrong boundary; if re-deriving still cannot break the cycle,\n   surface the conflicting units and their seams to the user instead of forcing\n   an order.\n\n5. **Dispatch `decomposition-critic` over the whole candidate unit set**, with the\n   user's intent quoted verbatim. It hunts for `depends_on` edges no seam supports,\n   `owns` and `must_not_know` claims the intent does not back, invented\n   technologies, `utils`-style buckets, and overlapping `paths`. Revise or drop what\n   it refutes, and re-dispatch it over the revised set; do not argue with it on the\n   strength of your own derivation. These units are about to gate real writes, and\n   nothing after this step checks them. If the dispatch errors or is unreachable,\n   stop and report — do not write the units unreviewed.\n\n6. **Write the units into `.lehre\u002Fruleset.json`.** If the file does not exist,\n   create it with `\"rules\": []` — `lehre-codify` fills those in. Record the\n   user's intent **verbatim** in the top-level `intent` field, and each unit's\n   `owns` and `must_not_know` alongside its `paths` and `depends_on`. These are\n   persisted rather than remembered because `lehre-validate` dispatches\n   `spec-fidelity-auditor` against them in a later session, and a recollection\n   of what the user asked for is not evidence. Then:\n\n   ```bash\n   python3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Flehre_cli.py\" validate\n   ```\n\n   If validation fails, fix the units; never leave an invalid ruleset on disk,\n   because the hook fails closed and will deny every write until it parses.\n\n7. **Show the user what is now enforced**, and say plainly that writing into a\n   later unit will be **refused** until the earlier one passes `lehre-validate`.\n   This is the moment to surface it, not the moment of the first denial.\n\n## Output format\n\n```\nintent (verbatim, becomes rule provenance)\n  \"A CLI that ingests CSV exports from three vendors, normalises them to one\n   schema, and writes Parquet. Must never mutate the input files.\"\n\nreviewed by decomposition-critic: 5 units, 1 edge dropped (writer -> adapters: no seam\n  carries anything between them), 1 bucket unit (helpers) refused\n\nunits and seams\n  1  contracts   src\u002Fcontracts\u002F*   depends on: —\n       owns   the normalised row schema and the VendorAdapter protocol\n       seam   -> adapters, domain   (types flow out; nothing flows in)\n  2  adapters    src\u002Fadapters\u002F*    depends on: contracts\n       owns   one module per vendor, each implementing VendorAdapter\n       seam   \u003C- contracts (protocol)   -> domain (normalised rows only)\n       must not know   the output format, or that Parquet exists\n  3  domain      src\u002Fdomain\u002F*      depends on: contracts\n       owns   normalisation, validation, the never-mutate-input invariant\n       must not know   which vendor a row came from\n  4  writer      src\u002Fwriter\u002F*      depends on: contracts\n       owns   Parquet emission\n  5  cli         src\u002Fcli\u002F*         depends on: adapters, domain, writer\n       owns   argument parsing, exit codes\n       built last, so transport concerns cannot leak inward\n\nenforced build order\n  contracts -> (adapters | domain | writer) -> cli\n  adapters, domain and writer are independent — they may be built in parallel.\n\nnow in force\n  A write into src\u002Fcli\u002F* is DENIED until adapters, domain and writer each pass\n  lehre-validate. Escape hatch: LEHRE_DISABLE_GUARD=1.\n\nnext: lehre-codify — the units exist; the rules that govern them do not yet.\n```\n\n## Rules\n\n- **Name what each unit must not know.** That sentence is what becomes an\n  enforceable `python-import` rule. A unit description with no negative space\n  produces no enforceable rule.\n- **Independent units must be reported as independent.** Serialising units that\n  have no seam between them invents a dependency and slows every later build for\n  no reason.\n- **Never mark a unit done here.** Only `lehre-validate` writes a done-marker.\n- Units may be revised later, but revising a unit whose dependents are already\n  validated invalidates them — say so before doing it.\n\n## Resources\n\n- `references\u002Fruleset-schema.md` — the unit fields this skill writes (`id`, `paths`,\n  `depends_on`, `owns`, `must_not_know`, `reason`) and the top-level `intent` field, plus\n  why the done-marker belongs to `lehre-validate` alone. Read it before writing units.\n",{"name":5,"description":7},"main","6158c1e4e112c06af2c7ac01b13b2ed7214c0fcf","plugins\u002Flehre\u002Fskills\u002Flehre-decompose",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 lehre-decompose",{"tool":39,"command":40},"bunx","bunx skills add Anselmoo\u002Fwerkstoff --skill lehre-decompose",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Anselmoo\u002Fwerkstoff --skill lehre-decompose","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Flehre\u002Fskills\u002Flehre-decompose\u002FSKILL.md",true,[],[48,55,62,67,72,77],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"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":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"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":63,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"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":68,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"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":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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",[],[]]