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★ 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
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.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.One headline
*-debtinteger. The count of concrete, re-derivable HARD defects (plus coverage gaps, for the catalog scorecards). Driving it to zero is the goal; the*-debtis what folds into the control pane. SOFT signals lower the score but are never debt — they're judgment nudges, not work-list items.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.A control-pane payload. Every scorecard's
--jsonemits 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>andcorpus.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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…