[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79A22SCF8Y2ZYZ39V6CFW7M":3,"skill-same:01M79A22SCF8Y2ZYZ39V6CFW7M":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},"01M79A22SCF8Y2ZYZ39V6CFW7M","befund-code-idiom",null,"Judges idioms against the actual language version declared in the repo's manifest, never a fixed list, and categorizes each finding as modernization or smell. Use when the user asks to \"find modernization opportunities\", \"check for deprecated idioms\", \"find code smells\", or as part of befund-autopilot's CHECK phase.","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\u002Fbefund\u002Fskills\u002Fbefund-code-idiom\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: befund-code-idiom\ndescription: Judges idioms against the actual language version declared in the repo's manifest, never a fixed list, and categorizes each finding as modernization or smell. Use when the user asks to \"find modernization opportunities\", \"check for deprecated idioms\", \"find code smells\", or as part of befund-autopilot's CHECK phase.\n---\n\n# befund-code-idiom\n\nFind deprecated idioms the repo's own declared language version obsoletes, plus generic code\nsmells.\n\n## Step 0: Settings gate\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" check-enabled --repo \u003Crepo_root> --skill befund-code-idiom\n```\n\n## Step 1: Detect the actual version per language -- never assume one\n\nRule: judge idioms against the version the manifest actually declares, not a fixed list or\ntraining-data assumption:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" detect-language-version --repo \u003Crepo_root> --language python\n```\n\nRun once per detected language (reuse `detect-languages` from preflight\u002Fstage-map for the\nlist). A `null` result means the manifest declares no version constraint -- in that case, only\nflag idioms deprecated in EVERY version the language has ever shipped, never a version-specific\none, since there is nothing to judge against.\n\n## Step 2: Find findings, categorized\n\nDispatch `idiom-auditor` with the detected version per language and (if present)\n`.claude\u002Fhouse-rules.md` for repo-specific style context. Every finding MUST carry\n`category` in `{\"modernization\", \"smell\"}`:\n\n- `modernization`: a deprecated language\u002Flibrary idiom the detected version actually\n  obsoletes (e.g. `Optional[X]` when the manifest declares Python >=3.10 supports `X | None`).\n  Never flag an idiom the declared version does NOT obsolete.\n- `smell`: a generic quality issue (broad `except`, magic numbers, long functions, deep\n  nesting, missing types in an otherwise-typed module) that requires design judgment, not a\n  mechanical rewrite.\n\nFindings ambiguous enough that a mechanical fix could be wrong (e.g. the \"modern\" idiom would\nchange behavior in this codebase's edge case) MUST carry a `severityNote` -- this is the flag\n`befund-idiom-fix` uses later to skip auto-applying them.\n\nEvery `modernization` finding MUST also carry `kind` (an idiom-pattern slug, e.g.\n`optional-union-syntax`) -- `befund-idiom-fix` clusters remediation work by `(file, kind)`\nand cannot group findings that omit it.\n\n## Step 3: Verify\n\nUnless `skip_verification` is set, confirm each finding by re-reading the cited code and\nre-checking it against the detected version -- never trust the first pass.\n\n## Step 4: Validate and write\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" validate-artifact --kind code_idiom_summary --file \u003Cpath-or-inline-json>\n```\n\nThe validator rejects any finding whose `category` is outside `{modernization, smell}`.\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename CODE_IDIOM.md\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename code_idiom_summary.json\n```\n\n## Read-only constraint\n\nNever use Write\u002FEdit outside the resolved output paths, and never apply a finding here --\n`befund-idiom-fix` is the only skill authorized to act on `code_idiom_summary.json`.\n","# befund-code-idiom\n\nFind deprecated idioms the repo's own declared language version obsoletes, plus generic code\nsmells.\n\n## Step 0: Settings gate\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" check-enabled --repo \u003Crepo_root> --skill befund-code-idiom\n```\n\n## Step 1: Detect the actual version per language -- never assume one\n\nRule: judge idioms against the version the manifest actually declares, not a fixed list or\ntraining-data assumption:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" detect-language-version --repo \u003Crepo_root> --language python\n```\n\nRun once per detected language (reuse `detect-languages` from preflight\u002Fstage-map for the\nlist). A `null` result means the manifest declares no version constraint -- in that case, only\nflag idioms deprecated in EVERY version the language has ever shipped, never a version-specific\none, since there is nothing to judge against.\n\n## Step 2: Find findings, categorized\n\nDispatch `idiom-auditor` with the detected version per language and (if present)\n`.claude\u002Fhouse-rules.md` for repo-specific style context. Every finding MUST carry\n`category` in `{\"modernization\", \"smell\"}`:\n\n- `modernization`: a deprecated language\u002Flibrary idiom the detected version actually\n  obsoletes (e.g. `Optional[X]` when the manifest declares Python >=3.10 supports `X | None`).\n  Never flag an idiom the declared version does NOT obsolete.\n- `smell`: a generic quality issue (broad `except`, magic numbers, long functions, deep\n  nesting, missing types in an otherwise-typed module) that requires design judgment, not a\n  mechanical rewrite.\n\nFindings ambiguous enough that a mechanical fix could be wrong (e.g. the \"modern\" idiom would\nchange behavior in this codebase's edge case) MUST carry a `severityNote` -- this is the flag\n`befund-idiom-fix` uses later to skip auto-applying them.\n\nEvery `modernization` finding MUST also carry `kind` (an idiom-pattern slug, e.g.\n`optional-union-syntax`) -- `befund-idiom-fix` clusters remediation work by `(file, kind)`\nand cannot group findings that omit it.\n\n## Step 3: Verify\n\nUnless `skip_verification` is set, confirm each finding by re-reading the cited code and\nre-checking it against the detected version -- never trust the first pass.\n\n## Step 4: Validate and write\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" validate-artifact --kind code_idiom_summary --file \u003Cpath-or-inline-json>\n```\n\nThe validator rejects any finding whose `category` is outside `{modernization, smell}`.\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename CODE_IDIOM.md\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename code_idiom_summary.json\n```\n\n## Read-only constraint\n\nNever use Write\u002FEdit outside the resolved output paths, and never apply a finding here --\n`befund-idiom-fix` is the only skill authorized to act on `code_idiom_summary.json`.\n",{"name":5,"description":7},"main","6158c1e4e112c06af2c7ac01b13b2ed7214c0fcf","plugins\u002Fbefund\u002Fskills\u002Fbefund-code-idiom",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 befund-code-idiom",{"tool":39,"command":40},"bunx","bunx skills add Anselmoo\u002Fwerkstoff --skill befund-code-idiom",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Anselmoo\u002Fwerkstoff --skill befund-code-idiom","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fbefund\u002Fskills\u002Fbefund-code-idiom\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",[],[]]