[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77HHF09RY7ETWET5HVBWE1K":3,"skill-same:01M77HHF09RY7ETWET5HVBWE1K":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":48},"01M77HHF09RY7ETWET5HVBWE1K","quality-score",null,"One repeatable RSI pass over CODE quality — the code-side counterpart of refresh-readme. Runs the code-quality scorecard (tools\u002Fcode_quality_scorecard.py), reads the code-debt work-list, retires debt worst-first using ONLY the safe, genuine classes (gofmt, real tests for untested packages, safe god-function extraction), re-measures to PROVE the number dropped, grounds the ship in DOS (dos commit-audit on the new commit, dos review for the ship_integrity KPI), and commits by explicit path. Use to baseline code quality, drive the code-2x program (halve code-debt, then. Use when this named workflow matches the task.","anthony-chaudhary\u002Ffak","anthony-chaudhary","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18080164?v=4","01M77GSKCAEKV3JS07J40B94DY","Anthony Chaudhary","01M77GSKD26Z7F4FQQD4VA30VX",48,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquality-score\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: quality-score\ndescription: One repeatable RSI pass over CODE quality — the code-side counterpart of refresh-readme. Runs the code-quality scorecard (tools\u002Fcode_quality_scorecard.py), reads the code-debt work-list, retires debt worst-first using ONLY the safe, genuine classes (gofmt, real tests for untested packages, safe god-function extraction), re-measures to PROVE the number dropped, grounds the ship in DOS (dos commit-audit on the new commit, dos review for the ship_integrity KPI), and commits by explicit path. Use to baseline code quality, drive the code-2x program (halve code-debt, then. Use when this named workflow matches the task.\ndisable-model-invocation: false\nuser-invocable: true\nallowed-tools: Read, Bash, Write, Edit, Grep, Glob\nargument-hint: \"[--no-toolchain] [--no-dos] [--target N]  (no args = full measure + one improvement iteration)\"\n---\n\n# \u002Fquality-score — make \"better code\" provable, then prove it moved\n\n> **What this does.** The docs have a measuring stick (`docs_scorecard.py` +\n> `\u002Frefresh-readme`); until this skill, the *Go code* had none — so \"cleaner\n> code\", \"better architecture\", \"more tested\" were unfalsifiable claims with no\n> number to move. This is the code's checking layer. It makes \"improve the\n> code\" a **repeatable, evidence-grounded pass**: measure the code-debt, retire\n> it worst-first with safe genuine fixes, then re-measure to prove the number\n> dropped — and ground the proof in DOS, not in a sentence.\n\nThe shape: **run the scorecard → read the code-debt work-list → retire debt\nworst-first (safe classes only) → re-measure and prove the drop → DOS-witness\nthe commit → commit ONLY your lane by explicit path.**\n\nThe headline metric is **code-debt**: the count of concrete, re-derivable HARD\ndefects across ten KPIs. The program target is the **code-2x**: halve code-debt,\nthen halve again — recursive self-improvement with a number that can't lie,\nbecause every unit is re-derived from disk and the Go toolchain on each pass.\n\n---\n\n## The measure (ten KPIs, each 0–100, deterministic — same tree → same score)\n\n`tools\u002Fcode_quality_scorecard.py` folds these into a composite score + the\ncode-debt integer. **HARD** KPIs emit code-debt (they gate `ok`); **SOFT** KPIs\nscore but never gate.\n\n| KPI | HARD\u002FSOFT | one unit of code-debt is… |\n|---|---|---|\n| `build` | HARD | `go build .\u002F...` does not exit 0 |\n| `vet` | HARD | a `go vet .\u002F...` diagnostic |\n| `format` | HARD | a file `gofmt -l` reports as unformatted |\n| `deps` | HARD | an external require in `go.mod` (or a present `go.sum`) — the zero-dep invariant broke |\n| `honesty` | HARD | a `- [` line in `CLAIMS.md` not carrying exactly one `[SHIPPED]\u002F[SIMULATED]\u002F[STUB]` tag |\n| `architecture` | HARD | an *egregious* god-file (>1500 lines) or god-function (>200 lines) |\n| `tests` | HARD | a non-trivial package (≥4 funcs) with zero `_test.go` |\n| `ship_integrity` | HARD | a RESIDUAL commit in `dos review` — a claim the diff could not witness |\n| `godoc` | **SOFT** | an undocumented exported symbol (advisory — see anti-gaming) |\n| `hygiene` | **SOFT** | a `TODO\u002FFIXME\u002FHACK\u002FXXX` marker in shipped code (advisory — see anti-gaming) |\n\n**`godoc` and `hygiene` are SOFT on purpose.** The cheap way to move either is\n*gaming, not quality*: doc-comment spam (`\u002F\u002F X does X`) for godoc, and DELETING\na `\u002F\u002F TODO` (hiding the gap, not closing it) for hygiene — and this repo keeps\nan honest `[STUB]` ledger where a \"TODO: implement\" marker is a *feature* of\nthat honesty. They score (a doc-poor or marker-heavy tree grades lower) but they\nnever gate, so the pass is never rewarded for cosmetic churn. Same WARN\u002FHARD\nsplit `docs_scorecard` draws for jargon.\n\n---\n\n## Step 1 — Run the scorecard (it builds your work-list)\n\nFrom the repo root:\n\n```bash\npython tools\u002Fcode_quality_scorecard.py            # human scorecard (per-KPI + work-list)\npython tools\u002Fcode_quality_scorecard.py --json     # machine payload (the loop uses this)\n```\n\nIt exits non-zero whenever code-debt > 0. Read `corpus.score`, `corpus.code_debt`,\nand `corpus.breakdown` (per-KPI debt, worst first). The per-KPI `defects` arrays\nARE the work-list.\n\nFast\u002Fstatic-only mode (skips `go build`\u002F`vet`\u002F`gofmt`): `--no-toolchain`. Skip\nthe DOS probe: `--no-dos`. The default (full) is what you commit against.\n\n**Record the baseline.** Before touching anything, write down `code_debt = N` and\n`score = S`. The whole point is to prove the delta, so you need the before-number.\n\n## Step 2 — Retire code-debt worst-first, using SAFE GENUINE classes only\n\nAttack the heaviest KPI first (`corpus.breakdown[0]`), but only via fixes that\nare *safe on a shared trunk* and *genuine* (they improve the code, not just the\nnumber). In rough order of safety:\n\n- **`format` (safest).** `gofmt -w \u003Cthe flagged files>`. Semantics-preserving;\n  `go build .\u002F...` stays green. Confirm only those files are clean and not\n  peer-modified first (`git status --short \u003Cfiles>`).\n- **`tests` (safe + high-value).** For each untested package, find a PURE,\n  deterministic function (math, parsing, formatting, scoring — no GPU, network,\n  or model-file) and write ONE real, table-driven test with assertions that can\n  actually FAIL. Same package clause (`package main` for `cmd\u002F*`). **Be honest:**\n  if a package is only a `main()` wiring flags + I\u002FO into already-tested\n  `internal\u002F` packages, it has no testable seam — leave it and say so. A\n  fabricated `assert true` test is worse than no test, and it is exactly the\n  gaming the SOFT KPIs exist to refuse. Validate (Step 3) before trusting it.\n- **`vet` \u002F `build`.** Fix the diagnostic at its cause; never silence it.\n- **`architecture` (RISKY — care).** Extract a god-function's body into a\n  testable helper (which also retires a `tests` unit). This is real refactoring:\n  do it in ONE lane, keep behavior identical, and validate hard. If you can't do\n  it safely this pass, leave it for a focused pass — do NOT half-do a refactor.\n- **`ship_integrity`.** A RESIDUAL is usually a *historical* commit (e.g. a\n  regenerated binary asset the diff can't witness); it ages out of the window as\n  the trunk advances. You don't \"fix\" someone else's past commit — you ensure\n  YOUR commits are diff-witnessed (Step 5), so you never *add* residual.\n\nNever edit the frozen ABI (`internal\u002Fabi`) or add a dependency to move a number.\n\n## Step 3 — Validate every change (the honesty gate)\n\nNative `go test` is OS-blocked on the Windows dev box, so validate under WSL:\n\n```bash\ngo build .\u002F...                                   # compiles (catches structural breaks)\ngo vet .\u002F...                                     # typechecks incl. _test.go files\nwsl -e bash -lc 'cd \u002Fmnt\u002Fc\u002Fwork\u002Ffak && go test .\u002F\u003Cchanged-pkg>\u002F... -count=1'\n```\n\nA new test you have not RUN is not done — it might not even compile. Run it.\nIf it fails or won't build, fix or drop it; never ship a red\u002Funcompiling test.\nRe-run `gofmt -l \u003Cyour new files>` — your additions must be gofmt-clean (the\n`format` KPI will catch them next pass otherwise).\n\n## Step 4 — Re-measure and PROVE the drop\n\n```bash\npython tools\u002Fcode_quality_scorecard.py --json\n```\n\nConfirm `code_debt` dropped from N toward your target and `score` rose. State the\ndelta plainly: `code-debt N → M (−k), score S → S'`. The code-2x bar for a pass\nis **halving the actionable hard-debt** (doubling a 70-ish score is impossible —\nit caps at 100, so the honest \"2×\" lives on the debt axis, the way the docs\nprogram states \"cut doc-debt 100×\"). Regenerate the committed snapshot:\n\n```bash\npython tools\u002Fcode_quality_scorecard.py --markdown --stamp YYYY-MM-DD > docs\u002FCODE-QUALITY-SCORECARD.md\n```\n\n(Use the Bash tool's `>` — it preserves UTF-8. A PowerShell `>` re-encodes to\nUTF-16 and mangles the `·`\u002F`×`\u002F`—` glyphs.)\n\n## Step 5 — Ground the ship in DOS, then commit ONLY your lane\n\nThe `ship_integrity` KPI already reads `dos review` — but witness YOUR OWN\ncommit too, so \"I fixed it\" is backed by evidence the committing agent can't\nauthor:\n\n```bash\nfak sync reconcile --apply\nfak commit --path \u003Cyour explicit paths> -m \"\u003Cconventional subject>\" -m \"\u003Cbody: N→M debt, what changed>\" -m \"(fak \u003Cleaf>)\"\ndos commit-audit HEAD                             # MUST print [diff-witnessed] \u002F verdict OK\nfak sync push\n```\n\n- **Subject honesty.** New tests + fmt → `test(\u003Cscope>):` or `style(fmt):`. A\n  refactor that changes structure → `refactor(\u003Cscope>):`. Don't use `feat(`\u002F`fix(`\n  for a test\u002Fformat pass — keep the prefix honest to what changed. End every\n  ship commit with a `(fak \u003Cleaf>)` trailer so the `dos verify` referee binds it.\n- **`dos commit-audit HEAD` is the gate.** If it says `subject-only` \u002F\n  CLAIM_UNWITNESSED, your diff doesn't back your subject — reword the subject to\n  what the diff actually did (or add the missing change). A `[diff-witnessed]`\n  verdict is the green light. This is the same rung the `ship_integrity` KPI\n  scores, applied to your own work.\n- **Shared-trunk discipline.** Stay on `main` (the `OFF_TRUNK` guard refuses a\n  branch). Commit by explicit path via `fak commit --path`. If a peer's `MERGE_HEAD` is set\n  (`cannot do a partial commit during a merge`): wait for it to clear, then\n  re-try the pathspec commit. Never force-push.\n\n---\n\n## The RSI loop (why this is a self-improvement skill, not a one-shot)\n\nEach pass: measure → retire the heaviest safe debt → prove the drop → commit\nwitnessed. Run it again next pass and the *new* heaviest KPI surfaces — the loop\nwalks the debt down monotonically because the number is re-derived from disk\nevery time, so it can't drift or be talked past. Halve, then halve again. On a\n`\u002Floop` cadence it keeps the kernel from re-accreting debt between releases.\n\nThe discipline that makes it RSI and not vibes: **every pass moves a number that\nis grounded in evidence the agent did not author** — the Go toolchain's exit\ncodes (`build`\u002F`vet`\u002F`format`), a `go test` red→green under WSL (`tests`), and\n`dos review` \u002F `dos commit-audit` (`ship_integrity`). The score is the gauge;\nthe witnesses are why you can trust it moved.\n\n## Anti-gaming laws (internalize these — the measure is only as honest as the pass)\n\n1. **Never write a vacuous test to drop `tests` debt.** A test must be able to\n   FAIL on a real regression. No testable seam → leave it and say so.\n2. **Never delete a `\u002F\u002F TODO` to \"improve\" `hygiene`.** It's SOFT for this exact\n   reason — close the gap or leave the honest marker.\n3. **Never spam doc comments to move `godoc`.** Also SOFT, also on purpose.\n4. **Never silence a `vet` diagnostic or `\u002F\u002Fnolint` past it.** Fix the cause.\n5. **Never add a dependency or touch the frozen ABI** to move a number.\n6. **Re-measure with the FULL scorecard** (not `--no-toolchain`) before claiming\n   a drop, and **`dos commit-audit` your commit** before claiming it shipped.\n\n## When to run this\n\n- To **baseline** code quality (first run records score + code-debt).\n- To drive the **code-2x program** — one halving per focused pass.\n- After a burst of new `cmd\u002F*` tools or benchmarks (they land untested → `tests`\n  debt spikes; this pass retires it genuinely).\n- On a `\u002Floop` cadence to keep the kernel from rotting between releases.\n\nThe scorecard is read-only; this skill's only writes are your genuine fixes,\n`docs\u002FCODE-QUALITY-SCORECARD.md`, and the tool itself. It never edits the frozen\nABI and never games a SOFT KPI.\n","# \u002Fquality-score — make \"better code\" provable, then prove it moved\n\n> **What this does.** The docs have a measuring stick (`docs_scorecard.py` +\n> `\u002Frefresh-readme`); until this skill, the *Go code* had none — so \"cleaner\n> code\", \"better architecture\", \"more tested\" were unfalsifiable claims with no\n> number to move. This is the code's checking layer. It makes \"improve the\n> code\" a **repeatable, evidence-grounded pass**: measure the code-debt, retire\n> it worst-first with safe genuine fixes, then re-measure to prove the number\n> dropped — and ground the proof in DOS, not in a sentence.\n\nThe shape: **run the scorecard → read the code-debt work-list → retire debt\nworst-first (safe classes only) → re-measure and prove the drop → DOS-witness\nthe commit → commit ONLY your lane by explicit path.**\n\nThe headline metric is **code-debt**: the count of concrete, re-derivable HARD\ndefects across ten KPIs. The program target is the **code-2x**: halve code-debt,\nthen halve again — recursive self-improvement with a number that can't lie,\nbecause every unit is re-derived from disk and the Go toolchain on each pass.\n\n---\n\n## The measure (ten KPIs, each 0–100, deterministic — same tree → same score)\n\n`tools\u002Fcode_quality_scorecard.py` folds these into a composite score + the\ncode-debt integer. **HARD** KPIs emit code-debt (they gate `ok`); **SOFT** KPIs\nscore but never gate.\n\n| KPI | HARD\u002FSOFT | one unit of code-debt is… |\n|---|---|---|\n| `build` | HARD | `go build .\u002F...` does not exit 0 |\n| `vet` | HARD | a `go vet .\u002F...` diagnostic |\n| `format` | HARD | a file `gofmt -l` reports as unformatted |\n| `deps` | HARD | an external require in `go.mod` (or a present `go.sum`) — the zero-dep invariant broke |\n| `honesty` | HARD | a `- [` line in `CLAIMS.md` not carrying exactly one `[SHIPPED]\u002F[SIMULATED]\u002F[STUB]` tag |\n| `architecture` | HARD | an *egregious* god-file (>1500 lines) or god-function (>200 lines) |\n| `tests` | HARD | a non-trivial package (≥4 funcs) with zero `_test.go` |\n| `ship_integrity` | HARD | a RESIDUAL commit in `dos review` — a claim the diff could not witness |\n| `godoc` | **SOFT** | an undocumented exported symbol (advisory — see anti-gaming) |\n| `hygiene` | **SOFT** | a `TODO\u002FFIXME\u002FHACK\u002FXXX` marker in shipped code (advisory — see anti-gaming) |\n\n**`godoc` and `hygiene` are SOFT on purpose.** The cheap way to move either is\n*gaming, not quality*: doc-comment spam (`\u002F\u002F X does X`) for godoc, and DELETING\na `\u002F\u002F TODO` (hiding the gap, not closing it) for hygiene — and this repo keeps\nan honest `[STUB]` ledger where a \"TODO: implement\" marker is a *feature* of\nthat honesty. They score (a doc-poor or marker-heavy tree grades lower) but they\nnever gate, so the pass is never rewarded for cosmetic churn. Same WARN\u002FHARD\nsplit `docs_scorecard` draws for jargon.\n\n---\n\n## Step 1 — Run the scorecard (it builds your work-list)\n\nFrom the repo root:\n\n```bash\npython tools\u002Fcode_quality_scorecard.py            # human scorecard (per-KPI + work-list)\npython tools\u002Fcode_quality_scorecard.py --json     # machine payload (the loop uses this)\n```\n\nIt exits non-zero whenever code-debt > 0. Read `corpus.score`, `corpus.code_debt`,\nand `corpus.breakdown` (per-KPI debt, worst first). The per-KPI `defects` arrays\nARE the work-list.\n\nFast\u002Fstatic-only mode (skips `go build`\u002F`vet`\u002F`gofmt`): `--no-toolchain`. Skip\nthe DOS probe: `--no-dos`. The default (full) is what you commit against.\n\n**Record the baseline.** Before touching anything, write down `code_debt = N` and\n`score = S`. The whole point is to prove the delta, so you need the before-number.\n\n## Step 2 — Retire code-debt worst-first, using SAFE GENUINE classes only\n\nAttack the heaviest KPI first (`corpus.breakdown[0]`), but only via fixes that\nare *safe on a shared trunk* and *genuine* (they improve the code, not just the\nnumber). In rough order of safety:\n\n- **`format` (safest).** `gofmt -w \u003Cthe flagged files>`. Semantics-preserving;\n  `go build .\u002F...` stays green. Confirm only those files are clean and not\n  peer-modified first (`git status --short \u003Cfiles>`).\n- **`tests` (safe + high-value).** For each untested package, find a PURE,\n  deterministic function (math, parsing, formatting, scoring — no GPU, network,\n  or model-file) and write ONE real, table-driven test with assertions that can\n  actually FAIL. Same package clause (`package main` for `cmd\u002F*`). **Be honest:**\n  if a package is only a `main()` wiring flags + I\u002FO into already-tested\n  `internal\u002F` packages, it has no testable seam — leave it and say so. A\n  fabricated `assert true` test is worse than no test, and it is exactly the\n  gaming the SOFT KPIs exist to refuse. Validate (Step 3) before trusting it.\n- **`vet` \u002F `build`.** Fix the diagnostic at its cause; never silence it.\n- **`architecture` (RISKY — care).** Extract a god-function's body into a\n  testable helper (which also retires a `tests` unit). This is real refactoring:\n  do it in ONE lane, keep behavior identical, and validate hard. If you can't do\n  it safely this pass, leave it for a focused pass — do NOT half-do a refactor.\n- **`ship_integrity`.** A RESIDUAL is usually a *historical* commit (e.g. a\n  regenerated binary asset the diff can't witness); it ages out of the window as\n  the trunk advances. You don't \"fix\" someone else's past commit — you ensure\n  YOUR commits are diff-witnessed (Step 5), so you never *add* residual.\n\nNever edit the frozen ABI (`internal\u002Fabi`) or add a dependency to move a number.\n\n## Step 3 — Validate every change (the honesty gate)\n\nNative `go test` is OS-blocked on the Windows dev box, so validate under WSL:\n\n```bash\ngo build .\u002F...                                   # compiles (catches structural breaks)\ngo vet .\u002F...                                     # typechecks incl. _test.go files\nwsl -e bash -lc 'cd \u002Fmnt\u002Fc\u002Fwork\u002Ffak && go test .\u002F\u003Cchanged-pkg>\u002F... -count=1'\n```\n\nA new test you have not RUN is not done — it might not even compile. Run it.\nIf it fails or won't build, fix or drop it; never ship a red\u002Funcompiling test.\nRe-run `gofmt -l \u003Cyour new files>` — your additions must be gofmt-clean (the\n`format` KPI will catch them next pass otherwise).\n\n## Step 4 — Re-measure and PROVE the drop\n\n```bash\npython tools\u002Fcode_quality_scorecard.py --json\n```\n\nConfirm `code_debt` dropped from N toward your target and `score` rose. State the\ndelta plainly: `code-debt N → M (−k), score S → S'`. The code-2x bar for a pass\nis **halving the actionable hard-debt** (doubling a 70-ish score is impossible —\nit caps at 100, so the honest \"2×\" lives on the debt axis, the way the docs\nprogram states \"cut doc-debt 100×\"). Regenerate the committed snapshot:\n\n```bash\npython tools\u002Fcode_quality_scorecard.py --markdown --stamp YYYY-MM-DD > docs\u002FCODE-QUALITY-SCORECARD.md\n```\n\n(Use the Bash tool's `>` — it preserves UTF-8. A PowerShell `>` re-encodes to\nUTF-16 and mangles the `·`\u002F`×`\u002F`—` glyphs.)\n\n## Step 5 — Ground the ship in DOS, then commit ONLY your lane\n\nThe `ship_integrity` KPI already reads `dos review` — but witness YOUR OWN\ncommit too, so \"I fixed it\" is backed by evidence the committing agent can't\nauthor:\n\n```bash\nfak sync reconcile --apply\nfak commit --path \u003Cyour explicit paths> -m \"\u003Cconventional subject>\" -m \"\u003Cbody: N→M debt, what changed>\" -m \"(fak \u003Cleaf>)\"\ndos commit-audit HEAD                             # MUST print [diff-witnessed] \u002F verdict OK\nfak sync push\n```\n\n- **Subject honesty.** New tests + fmt → `test(\u003Cscope>):` or `style(fmt):`. A\n  refactor that changes structure → `refactor(\u003Cscope>):`. Don't use `feat(`\u002F`fix(`\n  for a test\u002Fformat pass — keep the prefix honest to what changed. End every\n  ship commit with a `(fak \u003Cleaf>)` trailer so the `dos verify` referee binds it.\n- **`dos commit-audit HEAD` is the gate.** If it says `subject-only` \u002F\n  CLAIM_UNWITNESSED, your diff doesn't back your subject — reword the subject to\n  what the diff actually did (or add the missing change). A `[diff-witnessed]`\n  verdict is the green light. This is the same rung the `ship_integrity` KPI\n  scores, applied to your own work.\n- **Shared-trunk discipline.** Stay on `main` (the `OFF_TRUNK` guard refuses a\n  branch). Commit by explicit path via `fak commit --path`. If a peer's `MERGE_HEAD` is set\n  (`cannot do a partial commit during a merge`): wait for it to clear, then\n  re-try the pathspec commit. Never force-push.\n\n---\n\n## The RSI loop (why this is a self-improvement skill, not a one-shot)\n\nEach pass: measure → retire the heaviest safe debt → prove the drop → commit\nwitnessed. Run it again next pass and the *new* heaviest KPI surfaces — the loop\nwalks the debt down monotonically because the number is re-derived from disk\nevery time, so it can't drift or be talked past. Halve, then halve again. On a\n`\u002Floop` cadence it keeps the kernel from re-accreting debt between releases.\n\nThe discipline that makes it RSI and not vibes: **every pass moves a number that\nis grounded in evidence the agent did not author** — the Go toolchain's exit\ncodes (`build`\u002F`vet`\u002F`format`), a `go test` red→green under WSL (`tests`), and\n`dos review` \u002F `dos commit-audit` (`ship_integrity`). The score is the gauge;\nthe witnesses are why you can trust it moved.\n\n## Anti-gaming laws (internalize these — the measure is only as honest as the pass)\n\n1. **Never write a vacuous test to drop `tests` debt.** A test must be able to\n   FAIL on a real regression. No testable seam → leave it and say so.\n2. **Never delete a `\u002F\u002F TODO` to \"improve\" `hygiene`.** It's SOFT for this exact\n   reason — close the gap or leave the honest marker.\n3. **Never spam doc comments to move `godoc`.** Also SOFT, also on purpose.\n4. **Never silence a `vet` diagnostic or `\u002F\u002Fnolint` past it.** Fix the cause.\n5. **Never add a dependency or touch the frozen ABI** to move a number.\n6. **Re-measure with the FULL scorecard** (not `--no-toolchain`) before claiming\n   a drop, and **`dos commit-audit` your commit** before claiming it shipped.\n\n## When to run this\n\n- To **baseline** code quality (first run records score + code-debt).\n- To drive the **code-2x program** — one halving per focused pass.\n- After a burst of new `cmd\u002F*` tools or benchmarks (they land untested → `tests`\n  debt spikes; this pass retires it genuinely).\n- On a `\u002Floop` cadence to keep the kernel from rotting between releases.\n\nThe scorecard is read-only; this skill's only writes are your genuine fixes,\n`docs\u002FCODE-QUALITY-SCORECARD.md`, and the tool itself. It never edits the frozen\nABI and never games a SOFT KPI.\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25,"user-invocable":26,"disable-model-invocation":20},"Read, Bash, Write, Edit, Grep, Glob","[--no-toolchain] [--no-dos] [--target N]  (no args = full measure + one improvement iteration)",true,"main","f565b7b7db63e79649f3a02c08108132a86c5d05",".claude\u002Fskills\u002Fquality-score",16,"https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak","https:\u002F\u002Fanthony-chaudhary.github.io\u002Ffak\u002Fshowcase.html","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary","https:\u002F\u002Flinkedin.com\u002Fin\u002Fanthonychaudhary","2026-11-15 03:06:00",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":26},[38,41,44],{"tool":39,"command":40},"npx","npx skills add anthony-chaudhary\u002Ffak --skill quality-score",{"tool":42,"command":43},"bunx","bunx skills add anthony-chaudhary\u002Ffak --skill quality-score",{"tool":45,"command":46},"pnpm","pnpm dlx skills add anthony-chaudhary\u002Ffak --skill quality-score","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquality-score\u002FSKILL.md",[],[50,57,66,73,80,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M78V4059KRP2T88YR6Z05MJQ","serve-receipt","On-demand research protocol + deterministic receipt for serving a Hugging Face model on a concrete GPU target — fan out research lanes (model facts\u002Ffiles, engine support matrix, serving recipes, KV\u002Fstate memory math), compute the tiered feasibility verdict with `fak serve-receipt` (never narrated math), and emit a witnessed launch receipt. Use when asked for an \"initial config\", \"serving receipt\", or \"how do I serve \u003Cmodel> on \u003CGPUs>\".","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fserve-receipt\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M77HRGKQV2CJ2K6ZFN4YQ32K","caveman","Ultra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says \"caveman mode\", \"talk like caveman\", \"use caveman\", \"less tokens\", \"be brief\", or invokes \u002Fcaveman. Also auto-triggers when token efficiency is requested.","MIT","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fsyspromptmmu\u002Fthird_party\u002Fcaveman\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fsyspromptmmu\u002Fthird_party\u002Fcaveman\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M77HRAY3Y3BE7APN5PVJF7NV","quality-report","Score the repo quality and emit a report card.","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplans\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fquality-report\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M77HR9807KHAX13DG9PW2K2Q","ctx-overlay","Compact the context window and prune the memory store when a session grows too long.","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplans\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fctx-overlay\u002FSKILL.md",[],[],{"skillNo":81,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M77HR7XQ9X8F2CY9Z4F2ZEZ3","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplanlint\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fquality-report\u002FSKILL.md",[],[],{"skillNo":86,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M77HR5BVKCTR1WNJGRBSDNX7","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplanlint\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fctx-overlay\u002FSKILL.md",[],[]]