[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79A381E68REW402AXTX07SF":3,"skill-same:01M79A381E68REW402AXTX07SF":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},"01M79A381E68REW402AXTX07SF","befund-preflight",null,"Verifies language detection, tool availability, smoke-parseability, house-rules presence, git\u002FCI presence, and doc presence, then assigns a Ready\u002FReady-with-gaps\u002FNot-ready verdict per downstream skill. Use when the user asks to \"check if this repo is ready for befund\", \"run preflight\", \"can befund analyze this codebase\", or before any other befund-* skill runs for the first time in a repo; also invoked at the start 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-preflight\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: befund-preflight\ndescription: Verifies language detection, tool availability, smoke-parseability, house-rules presence, git\u002FCI presence, and doc presence, then assigns a Ready\u002FReady-with-gaps\u002FNot-ready verdict per downstream skill. Use when the user asks to \"check if this repo is ready for befund\", \"run preflight\", \"can befund analyze this codebase\", or before any other befund-* skill runs for the first time in a repo; also invoked at the start of befund-autopilot's CHECK phase.\n---\n\n# befund-preflight\n\nDetermine whether this repository is ready for befund's analysis skills, and which\ndownstream skills can run at full strength versus degraded.\n\n## Step 0: Read settings and check the gate\n\nRun, from the plugin root:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" check-enabled --repo \u003Crepo_root> --skill befund-preflight\n```\n\nA non-zero exit means the skill is disabled in `.claude\u002Fbefund.local.md` -- stop and tell\nthe user plainly, quoting the stderr message. On success, the JSON on stdout carries the\nresolved settings (including `output_dir`, default `analysis\u002Fbefund`). Use that `output_dir` for\nevery output path in this skill, resolved through `resolve-output-path` (see Step 6) before\nany write.\n\n## Step 1: Run all 6 checks, unconditionally\n\nRule `preflight-runs-all-checks` requires every check below to run and report its own status,\neven when an earlier check fails. Do not short-circuit. Wrap each check in isolation (a failed\n`git` invocation, a missing manifest, a parse error) so one check's failure cannot prevent the\nnext from running:\n\n1. **languages** -- glob the repo for manifest files (`package.json`, `pyproject.toml`,\n   `go.mod`, `Cargo.toml`, `pom.xml`, etc.) and count files by extension. Call\n   `detect-languages --manifests \u003Cjson list of manifest basenames found> --extension-counts\n   \u003Cjson map of extension to count>`. This enforces the language-detection-threshold rule (an\n   extension only counts once >=3 files exist and no manifest already claimed that language in\n   pass 1) -- do not reimplement the threshold by hand.\n2. **tools** -- probe for a language's usual toolchain (e.g. `python3 --version`, `node\n   --version`, `go version`) for each detected language; record found\u002Fmissing per tool.\n3. **smoke_parse** -- for exactly one file per detected language (the smallest by line count is\n   a reasonable pick), attempt a lightweight parse: Python via `python3 -m py_compile`,\n   JavaScript\u002FTypeScript via `node --check` (or a bare syntax check), Go via `gofmt -l`, etc. Do\n   not smoke-parse more than one file per language -- that is this skill's own scope limit, not\n   a downstream skill's job.\n4. **house_rules** -- check for `.claude\u002Fhouse-rules.md`, falling back to `CLAUDE.md` with a\n   `best-effort` label if absent.\n5. **git_remotes_ci** -- check for a `.git` directory and at least one CI config file\n   (`.github\u002Fworkflows\u002F*`, `.gitlab-ci.yml`, `Jenkinsfile`, `.circleci\u002Fconfig.yml`,\n   `azure-pipelines.yml`). Status is `fail` when no `.git` directory is found, `partial` when\n   `.git` is present but no CI config file is found, and `pass` when both are present.\n6. **docs** -- check for `README.md`, `ARCHITECTURE.md`, `DECISIONS.md`, or ADR files.\n\nRecord each check's `name` (matching exactly: `languages`, `tools`, `smoke_parse`,\n`house_rules`, `git_remotes_ci`, `docs`) and `status` (`pass`, `partial`, or `fail`) regardless\nof outcome.\n\n## Step 2: Assign per-skill verdicts\n\nUsing the check results, assign each downstream skill a verdict in\n`{\"Ready\", \"Ready-with-gaps\", \"Not-ready\"}`:\n\n- `befund-ci-topology` is `Not-ready` if `git_remotes_ci`'s status is `fail` (no `.git`\n  directory found) -- the skill's own rule refuses to run outside git.\n- `befund-ui-audit` is `Ready-with-gaps` (never `Not-ready`) when no UI files are found --\n  it degrades to \"Not applicable\" itself, this skill just flags the gap in advance.\n- Any skill whose language was detected only via extension count (not manifest) is\n  `Ready-with-gaps`.\n- Everything else with a passing smoke-parse and detected language is `Ready`.\n\n## Step 3: Validate before writing\n\nBuild `preflight_summary.json` with top-level `checks` (list of the 6 results above) and\n`verdicts` (map of skill id to verdict), then validate it before writing:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" validate-artifact --kind preflight_summary --file \u003Cpath-or-inline-json>\n```\n\nThis rejects the artifact if any of the 6 required checks is missing or any verdict is outside\nthe three allowed values -- it is not enough to intend to run all 6 checks, the validator\nconfirms all 6 are actually present.\n\nTwo worked instances of `preflight_summary.json`. All 6 checks passing:\n\n```json\n{\n  \"checks\": [\n    {\"name\": \"languages\", \"status\": \"pass\"},\n    {\"name\": \"tools\", \"status\": \"pass\"},\n    {\"name\": \"smoke_parse\", \"status\": \"pass\"},\n    {\"name\": \"house_rules\", \"status\": \"pass\"},\n    {\"name\": \"git_remotes_ci\", \"status\": \"pass\"},\n    {\"name\": \"docs\", \"status\": \"pass\"}\n  ],\n  \"verdicts\": {\n    \"befund-arch-health\": \"Ready\",\n    \"befund-ci-topology\": \"Ready\",\n    \"befund-ui-audit\": \"Ready\"\n  }\n}\n```\n\nWith a gap -- no `.git` directory found, so `git_remotes_ci` is `fail` and\n`befund-ci-topology` drops to `Not-ready` per Step 2's rule, while unrelated skills stay\n`Ready`:\n\n```json\n{\n  \"checks\": [\n    {\"name\": \"languages\", \"status\": \"pass\"},\n    {\"name\": \"tools\", \"status\": \"pass\"},\n    {\"name\": \"smoke_parse\", \"status\": \"pass\"},\n    {\"name\": \"house_rules\", \"status\": \"pass\"},\n    {\"name\": \"git_remotes_ci\", \"status\": \"fail\"},\n    {\"name\": \"docs\", \"status\": \"pass\"}\n  ],\n  \"verdicts\": {\n    \"befund-arch-health\": \"Ready\",\n    \"befund-ci-topology\": \"Not-ready\",\n    \"befund-ui-audit\": \"Ready\"\n  }\n}\n```\n\n## Step 4: Write outputs\n\nResolve both output paths first:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename PREFLIGHT.md\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename preflight_summary.json\n```\n\nA non-zero exit here means the configured `output_dir` or filename escapes the plugin's write\nscope -- stop, do not write anywhere else instead. On success, write `PREFLIGHT.md` (a\nhuman-readable table of the 6 checks and verdicts) and `preflight_summary.json` to the resolved\npaths using the Write tool.\n\n## Read-only constraint\n\nThis skill never uses Write\u002FEdit for anything except the two output files above, and never runs\nBash with a mutating flag. All 6 checks are read-only inspection.\n","# befund-preflight\n\nDetermine whether this repository is ready for befund's analysis skills, and which\ndownstream skills can run at full strength versus degraded.\n\n## Step 0: Read settings and check the gate\n\nRun, from the plugin root:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" check-enabled --repo \u003Crepo_root> --skill befund-preflight\n```\n\nA non-zero exit means the skill is disabled in `.claude\u002Fbefund.local.md` -- stop and tell\nthe user plainly, quoting the stderr message. On success, the JSON on stdout carries the\nresolved settings (including `output_dir`, default `analysis\u002Fbefund`). Use that `output_dir` for\nevery output path in this skill, resolved through `resolve-output-path` (see Step 6) before\nany write.\n\n## Step 1: Run all 6 checks, unconditionally\n\nRule `preflight-runs-all-checks` requires every check below to run and report its own status,\neven when an earlier check fails. Do not short-circuit. Wrap each check in isolation (a failed\n`git` invocation, a missing manifest, a parse error) so one check's failure cannot prevent the\nnext from running:\n\n1. **languages** -- glob the repo for manifest files (`package.json`, `pyproject.toml`,\n   `go.mod`, `Cargo.toml`, `pom.xml`, etc.) and count files by extension. Call\n   `detect-languages --manifests \u003Cjson list of manifest basenames found> --extension-counts\n   \u003Cjson map of extension to count>`. This enforces the language-detection-threshold rule (an\n   extension only counts once >=3 files exist and no manifest already claimed that language in\n   pass 1) -- do not reimplement the threshold by hand.\n2. **tools** -- probe for a language's usual toolchain (e.g. `python3 --version`, `node\n   --version`, `go version`) for each detected language; record found\u002Fmissing per tool.\n3. **smoke_parse** -- for exactly one file per detected language (the smallest by line count is\n   a reasonable pick), attempt a lightweight parse: Python via `python3 -m py_compile`,\n   JavaScript\u002FTypeScript via `node --check` (or a bare syntax check), Go via `gofmt -l`, etc. Do\n   not smoke-parse more than one file per language -- that is this skill's own scope limit, not\n   a downstream skill's job.\n4. **house_rules** -- check for `.claude\u002Fhouse-rules.md`, falling back to `CLAUDE.md` with a\n   `best-effort` label if absent.\n5. **git_remotes_ci** -- check for a `.git` directory and at least one CI config file\n   (`.github\u002Fworkflows\u002F*`, `.gitlab-ci.yml`, `Jenkinsfile`, `.circleci\u002Fconfig.yml`,\n   `azure-pipelines.yml`). Status is `fail` when no `.git` directory is found, `partial` when\n   `.git` is present but no CI config file is found, and `pass` when both are present.\n6. **docs** -- check for `README.md`, `ARCHITECTURE.md`, `DECISIONS.md`, or ADR files.\n\nRecord each check's `name` (matching exactly: `languages`, `tools`, `smoke_parse`,\n`house_rules`, `git_remotes_ci`, `docs`) and `status` (`pass`, `partial`, or `fail`) regardless\nof outcome.\n\n## Step 2: Assign per-skill verdicts\n\nUsing the check results, assign each downstream skill a verdict in\n`{\"Ready\", \"Ready-with-gaps\", \"Not-ready\"}`:\n\n- `befund-ci-topology` is `Not-ready` if `git_remotes_ci`'s status is `fail` (no `.git`\n  directory found) -- the skill's own rule refuses to run outside git.\n- `befund-ui-audit` is `Ready-with-gaps` (never `Not-ready`) when no UI files are found --\n  it degrades to \"Not applicable\" itself, this skill just flags the gap in advance.\n- Any skill whose language was detected only via extension count (not manifest) is\n  `Ready-with-gaps`.\n- Everything else with a passing smoke-parse and detected language is `Ready`.\n\n## Step 3: Validate before writing\n\nBuild `preflight_summary.json` with top-level `checks` (list of the 6 results above) and\n`verdicts` (map of skill id to verdict), then validate it before writing:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" validate-artifact --kind preflight_summary --file \u003Cpath-or-inline-json>\n```\n\nThis rejects the artifact if any of the 6 required checks is missing or any verdict is outside\nthe three allowed values -- it is not enough to intend to run all 6 checks, the validator\nconfirms all 6 are actually present.\n\nTwo worked instances of `preflight_summary.json`. All 6 checks passing:\n\n```json\n{\n  \"checks\": [\n    {\"name\": \"languages\", \"status\": \"pass\"},\n    {\"name\": \"tools\", \"status\": \"pass\"},\n    {\"name\": \"smoke_parse\", \"status\": \"pass\"},\n    {\"name\": \"house_rules\", \"status\": \"pass\"},\n    {\"name\": \"git_remotes_ci\", \"status\": \"pass\"},\n    {\"name\": \"docs\", \"status\": \"pass\"}\n  ],\n  \"verdicts\": {\n    \"befund-arch-health\": \"Ready\",\n    \"befund-ci-topology\": \"Ready\",\n    \"befund-ui-audit\": \"Ready\"\n  }\n}\n```\n\nWith a gap -- no `.git` directory found, so `git_remotes_ci` is `fail` and\n`befund-ci-topology` drops to `Not-ready` per Step 2's rule, while unrelated skills stay\n`Ready`:\n\n```json\n{\n  \"checks\": [\n    {\"name\": \"languages\", \"status\": \"pass\"},\n    {\"name\": \"tools\", \"status\": \"pass\"},\n    {\"name\": \"smoke_parse\", \"status\": \"pass\"},\n    {\"name\": \"house_rules\", \"status\": \"pass\"},\n    {\"name\": \"git_remotes_ci\", \"status\": \"fail\"},\n    {\"name\": \"docs\", \"status\": \"pass\"}\n  ],\n  \"verdicts\": {\n    \"befund-arch-health\": \"Ready\",\n    \"befund-ci-topology\": \"Not-ready\",\n    \"befund-ui-audit\": \"Ready\"\n  }\n}\n```\n\n## Step 4: Write outputs\n\nResolve both output paths first:\n\n```\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename PREFLIGHT.md\npython3 -B \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fbefund_cli.py\" resolve-output-path --repo \u003Crepo_root> --filename preflight_summary.json\n```\n\nA non-zero exit here means the configured `output_dir` or filename escapes the plugin's write\nscope -- stop, do not write anywhere else instead. On success, write `PREFLIGHT.md` (a\nhuman-readable table of the 6 checks and verdicts) and `preflight_summary.json` to the resolved\npaths using the Write tool.\n\n## Read-only constraint\n\nThis skill never uses Write\u002FEdit for anything except the two output files above, and never runs\nBash with a mutating flag. All 6 checks are read-only inspection.\n",{"name":5,"description":7},"main","6158c1e4e112c06af2c7ac01b13b2ed7214c0fcf","plugins\u002Fbefund\u002Fskills\u002Fbefund-preflight",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-preflight",{"tool":39,"command":40},"bunx","bunx skills add Anselmoo\u002Fwerkstoff --skill befund-preflight",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Anselmoo\u002Fwerkstoff --skill befund-preflight","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnselmoo\u002Fwerkstoff\u002Fblob\u002Fmain\u002Fplugins\u002Fbefund\u002Fskills\u002Fbefund-preflight\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",[],[]]