Command Palette

Search for a command to run...

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

scorecard

The generic scoring doctrine the whole fak scorecard family instantiates — how to BUILD a new deterministic, tree-cross-checked, debt-driving scorecard and…

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

Установить scorecard в Claude Code и Claude Desktop

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

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

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

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

scorecard — the generic scoring doctrine (build one, run any)

What this is. fak measures itself with a family of scorecards, one per surface a reviewer cares about. They look different on the outside but they are the same machine: a deterministic measurement that turns "is this surface getting better or worse" into one integer you can move and prove you moved. This skill is the shared doctrine — the anatomy every scorecard follows, the RSI loop every scorecard skill runs, and the recipe for adding a new one. The per-surface skills (quality-score, appeal-score, industry-score, agent-readiness, product-score, persona-score) are instances; this is the template they share.

The whole idea in one line: a scorecard reads reality, folds it into a *-debt integer the cross-check won't let you fake, and a paired skill drives that integer down by adding the real thing — never by gaming the detector.

Raw debt is an unbounded discovery ledger

Every <surface>_debt value is an unbounded non-negative integer: the exhaustive count of all currently detected HARD defects and coverage gaps in the named corpus under a named metric version. “Unbounded” means the schema and process impose no maximum; a finite repository still produces a finite count.

The 0–100 score and A–F grade are separate, bounded presentation signals. They must never replace, clamp, normalize away, sample, or top-N-truncate raw debt. A renderer may preview a work-list only if the machine payload still emits every defect and the preview labels both its limit and the full count. Zero means “metric version V found no debt in corpus C now,” not “no debt exists” or “stop discovering.” When a new check finds more debt, bump the metric version and preserve the prior snapshot so same-version improvement and cross-version discovery stay distinguishable.


Discover the live family; do not hard-code a roster

The registry printed by the first-class Go front door is the truth source:

fak score --help

Select the scorecard named by the task from that live registry and capture its machine-readable result before editing:

fak score <name> --json > <name>-before.json

Retire binding FAIL debt before advisory polish.

Do not preserve a fixed list in this skill: the registry grows. If a registered scorecard lacks --json, record that as a concrete gap rather than silently omitting it. The historical python tools/scorecard_control_pane.py path is a generation/debug fallback only; before trusting its generated pane, compare its discovered inputs with fak score --help.

The five laws every scorecard obeys

  1. Deterministic. Two clones at one commit score identically. No clock, no network, no randomness in the score. Read-only over the data; the only writes are a generated doc folder under --markdown-dir/--markdown.

  2. Cross-checked against reality — ungameable by editing data. A data-driven scorecard (industry / product / persona) keeps its rows in a JSON data dir, but every claim in a row is verified against the real tree: a path that must exist, a CLAIMS tag the concept actually carries, a command whose ./cmd/<dir> resolves, a doc that mentions a token. So you cannot drop debt by editing the data — you fix the real thing. A tree-reading scorecard (code / agent-readiness) reads the git-tracked tree directly, which is the same property by construction.

  3. One headline *-debt integer. The count of concrete, re-derivable HARD defects (plus coverage gaps, for the catalog scorecards). Driving it to zero is the goal; the *-debt is what folds into the control pane. SOFT signals lower the score but are never debt — they're judgment nudges, not work-list items.

  4. A pure core, an impure shell. The KPIs are pure functions over facts (kpi_*(...) -> {kpi, group, score, detail, defects, soft}); a thin disk/git shell gathers the facts and calls them. This is what makes the core unit-testable with fixtures and the live tree a single smoke test.

  5. A control-pane payload. Every scorecard's --json emits the same envelope so the fold and any loop runner can read it uniformly:

    { "schema": "...", "ok": false, "verdict": "ACTION", "finding": "...",
      "reason": "...", "next_action": "...",
      "corpus": { "score": 0, "grade": "A", "<surface>_debt": 0, ... },
      "kpis": [ ... ] }
    

    The control pane reads corpus.<debt> and corpus.grade; keep those keys.


Default portfolio contract for scoreboard-debt work

When a task names scoreboard debt, scorecard debt, score improvement, or a 2×/50% target, the individual card is not the whole acceptance surface. Run the canonical portfolio pane before edits and after the final candidate:

python tools/scorecard_control_pane.py --json > <allocated-scratch>/pane-before.json
# run the owning leaf scorecard with the sam
Полный SKILL.md на GitHub

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл scorecard?

The generic scoring doctrine the whole fak scorecard family instantiates — how to BUILD a new deterministic, tree-cross-checked, debt-driving scorecard and how to RUN any of them as a repeatable RSI pass. Every sibling (code-quality, docs, doc-appeal, seo, demo-quality, repo-hygiene, observability, learning, industry, agent-readiness, product, persona) is the same machine pointed at a different surface: pure KPIs over a data-dir or the git-tracked tree, cross-checked against reality so the score can't be gamed by editing data, folded into one *-debt. Use when this named workflow matches the task.

Как установить скилл scorecard?

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

Скилл scorecard запускает скрипты?

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

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

Сравнить scorecard с