Command Palette

Search for a command to run...

Назад к скиллам
скилл № 24482

score-2x

Drive one scorecard surface's raw debt down 2× with `fak score <name> --json`, rescore to prove the drop, and extend discovery under a new metric version…

БесплатноБез исполняемых скриптов
anthony-chaudharyот anthony-chaudhary★ 50 звёзд на GitHub

Установить score-2x в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/score-2x — drive raw debt 2×, then extend discovery

What this is. Every *-score skill measures one surface and retires its debt worst-first. This is the loop around all of them — the process the operator described in one line: "fresh score on X. work issues that improve it 2× if possible. rescore. if the score is too high, refresh and make the metric harder." The per-surface skills are the instruments; this is the conductor. Its distinctive move — the one no single scorecard skill owns — is continuous discovery: a grade A or raw debt of zero is only the current result for a named metric version and corpus, never proof that the surface is debt-free.

This is the Goodhart defense made into a routine. Raw debt is an unbounded, non-negative, exhaustive ledger of every currently detected HARD defect and coverage gap. A bounded 0–100 score or A–F grade may summarize that ledger for presentation, but must never cap, normalize away, sample, or top-N-truncate the raw count or work-list. Debt ratchets down through real fixes; discovery expands under an explicit new metric version while old results remain comparable.

The shape: pick a surface + record the metric version, corpus, and baseline → retire raw debt to halve it (genuine fixes only) → rescore with --compare to prove the drop → ship the 2× or extend discovery under a new version → commit ONLY that lane by explicit path.

This skill writes nothing on its own beyond the genuine fixes, the regenerated snapshot, and — on the harden branch — the threshold/KPI edit plus the re-pinned tools/scorecard_baseline.json. It never weakens a check to score, and never hardens a metric in a way that can't be defended as a genuinely higher standard.


Step 0 — Pick the surface (and read its instrument)

The primary front door is the native Go dispatcher fak score <name> --json (fak score list prints all 40 grouped scorecards, including code-quality, conflation, agent-readiness, milestone, negframe, token-defaults, issue-hygiene, repo-hygiene, sota-coverage, lightgap, product, …). The shared doctrine is scorecard and the unified ratchet is fak scorecard control-pane. Python scripts in tools/*_scorecard.py remain only as fallback for surfaces not yet routed through fak score (such as tools/industry_scorecard.py, tools/persona_readiness_scorecard.py, tools/steerability_scorecard.py, and tools/doc_appeal_scorecard.py).

  • A surface named? Use fak score <name> --json (or its Python fallback if not in fak score list).

  • No surface? Run the native control pane to see the portfolio, then pick the surface with the most room — the worst grade / heaviest *-debt, unless a surface is already at grade A (then it's a harden candidate, Step 4):

    fak scorecard control-pane            # portfolio: every metric's debt + grade + trend
    

Open that surface's *-score SKILL.md and obey its anti-gaming rules — they are surface-specific (don't write a vacuous test for tests debt; don't delete a // TODO for hygiene; don't weaken a guard for ship_integrity). This loop never overrides the instrument's own honesty rules; it sequences them.

Step 1 — Fresh score: record the baseline

Capture the machine payload BEFORE touching anything. The whole point is to prove a delta, so you need the before-number on disk, not in your head. Use UTF-8-safe capture (PowerShell > writes UTF-16LE and mangles glyphs; use Out-File -Encoding utf8 in PowerShell or > in Bash):

# PowerShell (UTF-8 safe)
fak score <name> --json | Out-File -Encoding utf8 _scratch/<name>-before.json
# Bash
fak score <name> --json > /tmp/<name>-base.json

(For surfaces not yet under fak score, run python tools/<x>_scorecard.py --json with the same UTF-8-safe capture.)

Read corpus.score, corpus.grade, corpus.<x>_debt, and corpus.breakdown (per-KPI debt, worst first). The per-KPI defects arrays ARE the work-list. Write down debt = N, score = S, grade = G, metric version V, and corpus identity C. If N == 0, there is no arithmetic 2× target for this version; skip to Step 4 to audit and extend discovery. Grade A does not close the ledger.

Step 2 — Retire debt worst-first to HALVE it (genuine fixes only)

Rank candidate KPIs/defects by expected_debt_drop / time_cost (highest debt retired per unit of edit/verify time first, breaking ties toward the heaviest KPI breakdown[0]). The bar for a 2× pass is halving the actionable HARD debt (N → ≤N/2) — doubling a 70-ish score is impossible since it caps at 100, so the honest "2×" always lives on the debt axis. 3× is N → ≤⌈(N+2)/3⌉ (the --compare ladder computes both targets for you).

Trajectory-grounded anti-churn rules

  • Prefer native fak verbs (fak score, fak scorecard control-pane, fak scoreboard) over raw shell/Python pipelin
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Bash
  3. 03Write
  4. 04Edit
  5. 05Grep
  6. 06Glob

FAQ

Что делает скилл score-2x?

Drive one scorecard surface's raw debt down 2× with `fak score <name> --json`, rescore to prove the drop, and extend discovery under a new metric version without capping debt. Use when this workflow matches the task.

Как установить скилл score-2x?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл score-2x запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить score-2x с