[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79A27BVM488NP6FSH41FE4C":3,"skill-same:01M79A27BVM488NP6FSH41FE4C":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},"01M79A27BVM488NP6FSH41FE4C","befund-complexity-score",null,"Computes a relative complexity\u002Fattention-priority index per stage using the fixed formula 2.94 x (KSLOC)^1.10, and lists unmeasured stages plainly rather than inventing numbers. Use when the user asks \"which module needs attention first\", \"score complexity per stage\", \"what's our tech debt hotspot\", 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-complexity-score\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: befund-complexity-score\ndescription: Computes a relative complexity\u002Fattention-priority index per stage using the fixed formula 2.94 x (KSLOC)^1.10, and lists unmeasured stages plainly rather than inventing numbers. Use when the user asks \"which module needs attention first\", \"score complexity per stage\", \"what's our tech debt hotspot\", or as part of befund-autopilot's CHECK phase.\n---\n\n# befund-complexity-score\n\nCompute a relative complexity\u002Fattention-priority index per stage or module.\n\n## Step 0: Settings gate\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" check-enabled --repo \u003Crepo_root> --skill befund-complexity-score\n```\n\nThis skill has no Verify phase -- do not gate anything here on `skip_verification`; that\nsetting simply does not apply to a pure measurement.\n\n## Step 1: Determine the stage list\n\nPrefer `\u003Coutput_dir>\u002Fstage_map.json` if it exists (reuse `befund-stage-map`'s stages).\nOtherwise fall back to the detected-languages list from `detect-languages`, treating each\nlanguage's file set as one pseudo-stage.\n\n## Step 2: Measure each stage\n\nDispatch `complexity-surveyor` per stage to measure SLOC, file count, and cyclomatic complexity\n(via whatever tool is available for that language -- `radon`, `lizard`, `gocyclo`, etc.). If no\ntool is available for a stage's language, the surveyor reports `-1`\u002F`0` per its own refusal\nlist rather than fabricating a plausible-looking number -- when that happens, mark the stage\n`unmeasured: true` in the output and list it plainly in `COMPLEXITY_SCORE.md` instead of\ncomputing an index for it.\n\n## Step 3: Apply the exact formula -- no substitutes\n\nRule `complexity-score-formula`: the index MUST be `2.94 x (KSLOC)^1.10` and nothing else.\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" complexity-index --ksloc \u003Cstage_sloc \u002F 1000>\n```\n\nUse this for every measured stage rather than restating the constants inline -- the formula\nlives in one place (`scripts\u002Flib\u002Fformulas.py`) so no per-skill copy can drift from it.\n\n## Step 4: Validate and write\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" validate-artifact --kind complexity_score_summary --file \u003Cpath-or-inline-json>\n```\n\nThe validator recomputes `2.94 x (KSLOC)^1.10` for every non-`unmeasured` stage and rejects the\nartifact if the persisted `complexity_index` does not match to within floating-point tolerance\n-- a hand-typed or LLM-guessed number cannot pass.\n\nA `complexity_score_summary.json` stage entry looks like this -- one measured, one not:\n\n```json\n{\n  \"stages\": [\n    {\"stage\": \"api\", \"sloc\": 4200, \"complexity_index\": 187.3, \"unmeasured\": false},\n    {\"stage\": \"legacy-perl\", \"sloc\": 0, \"complexity_index\": null, \"unmeasured\": true}\n  ]\n}\n```\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename COMPLEXITY_SCORE.md\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename complexity_score_summary.json\n```\n\n## Read-only constraint\n\nNever use Write\u002FEdit outside the resolved output paths.\n","# befund-complexity-score\n\nCompute a relative complexity\u002Fattention-priority index per stage or module.\n\n## Step 0: Settings gate\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" check-enabled --repo \u003Crepo_root> --skill befund-complexity-score\n```\n\nThis skill has no Verify phase -- do not gate anything here on `skip_verification`; that\nsetting simply does not apply to a pure measurement.\n\n## Step 1: Determine the stage list\n\nPrefer `\u003Coutput_dir>\u002Fstage_map.json` if it exists (reuse `befund-stage-map`'s stages).\nOtherwise fall back to the detected-languages list from `detect-languages`, treating each\nlanguage's file set as one pseudo-stage.\n\n## Step 2: Measure each stage\n\nDispatch `complexity-surveyor` per stage to measure SLOC, file count, and cyclomatic complexity\n(via whatever tool is available for that language -- `radon`, `lizard`, `gocyclo`, etc.). If no\ntool is available for a stage's language, the surveyor reports `-1`\u002F`0` per its own refusal\nlist rather than fabricating a plausible-looking number -- when that happens, mark the stage\n`unmeasured: true` in the output and list it plainly in `COMPLEXITY_SCORE.md` instead of\ncomputing an index for it.\n\n## Step 3: Apply the exact formula -- no substitutes\n\nRule `complexity-score-formula`: the index MUST be `2.94 x (KSLOC)^1.10` and nothing else.\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" complexity-index --ksloc \u003Cstage_sloc \u002F 1000>\n```\n\nUse this for every measured stage rather than restating the constants inline -- the formula\nlives in one place (`scripts\u002Flib\u002Fformulas.py`) so no per-skill copy can drift from it.\n\n## Step 4: Validate and write\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" validate-artifact --kind complexity_score_summary --file \u003Cpath-or-inline-json>\n```\n\nThe validator recomputes `2.94 x (KSLOC)^1.10` for every non-`unmeasured` stage and rejects the\nartifact if the persisted `complexity_index` does not match to within floating-point tolerance\n-- a hand-typed or LLM-guessed number cannot pass.\n\nA `complexity_score_summary.json` stage entry looks like this -- one measured, one not:\n\n```json\n{\n  \"stages\": [\n    {\"stage\": \"api\", \"sloc\": 4200, \"complexity_index\": 187.3, \"unmeasured\": false},\n    {\"stage\": \"legacy-perl\", \"sloc\": 0, \"complexity_index\": null, \"unmeasured\": true}\n  ]\n}\n```\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename COMPLEXITY_SCORE.md\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename complexity_score_summary.json\n```\n\n## Read-only constraint\n\nNever use Write\u002FEdit outside the resolved output paths.\n",{"name":5,"description":7},"main","6158c1e4e112c06af2c7ac01b13b2ed7214c0fcf","plugins\u002Fbefund\u002Fskills\u002Fbefund-complexity-score",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-complexity-score",{"tool":39,"command":40},"bunx","bunx skills add Anselmoo\u002Fwerkstoff --skill befund-complexity-score",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Anselmoo\u002Fwerkstoff --skill befund-complexity-score","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fbefund\u002Fskills\u002Fbefund-complexity-score\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",[],[]]