test-design-scorecard
БесплатноБез исполняемых скриптовНе проверенUse for any question or task about giving feedback on someone's tests or measuring a team's test quality over time, such as coaching a junior engineer or a…
от testland★ 18 звёзд на GitHubОб этом скилле
test-design-scorecard
What this owns, and what it does not
This scorecard owns the grading layer: a 1 to 5 scale, the per-level anchors on each axis, the arithmetic that turns per-axis scores into a file score, and the feedback shape that makes a score actionable instead of demoralising.
It deliberately does not own:
| Not owned | Where it lives |
|---|---|
| The conventions themselves (what AAA is, why one logical assertion, the naming patterns) | A separate conventions catalog, for example test-code-conventions. Reference the rule; do not restate it here. |
| The merge decision | An adversarial pass/fail review of the same conventions. That review answers "does this block?"; this scorecard answers "how is this trending?" |
| Assertion specificity, mocking technique, selector fragility | Reviews scoped to those concerns. They are excluded from the composite on purpose (see "Axes deliberately excluded"). |
Read the boundary this way: if two reviewers could disagree about what the rule is, that belongs in the conventions catalog. If they agree on the rule and disagree about how well this file follows it, that is what the anchors below exist to settle.
The scorecard never emits a verdict. A file scoring 2.1 still ships. The score is the input to a conversation and to next sprint's focus.
When to use
- Onboarding a new engineer who needs a graded, non-punitive read of their test design.
- A team deliberately ramping up test discipline and wanting a score that is comparable across files, reviewers, and sprints.
- A quarterly per-author trend where the output is a conversation, not a merge verdict.
How to use
- Confirm this is a coaching read, not a gate. If the output must block a merge, stop and use an adversarial pass/fail review instead.
- Score each applicable axis (Axes 1 to 6) as a whole number against its anchors; apply the 2-vs-4 tiebreaker when a file sits between two anchors.
- Mark unmeasurable axes
n/a(setup time with no timings) rather than guessing - do not score them 3 or 5. - Compute the file score: drop the
n/aaxes, average the rest unweighted, round to one decimal, and record the divisor (3.8 / 5 (5 axes)). - Write growth-framed feedback per the Feedback rules: strengths first, at most two growth items, each naming the current score, the target, and one concrete edit.
- For per-PR and per-author rollups, apply the trend conventions in references/trend-and-rollup-reporting.md.
The 1 to 5 scale is a practitioner convention
The five-point scale, the anchor wording, and the numeric thresholds in the setup-time axis are conventions fixed by this scorecard so that scores are comparable across files, reviewers, and sprints. They are not drawn from any standard, and no standards body defines a "3 out of 5" test. What is sourced is the underlying design guidance each anchor encodes, cited inline per axis.
| Score | Meaning |
|---|---|
| 5 | The design intent is obvious to a reader who has never seen the file. |
| 4 | Intent is clear; one stylistic step short of exemplary. |
| 3 | A reader recovers the intent by reading the body carefully. |
| 2 | The reader has to reconstruct intent from evidence outside the test. |
| 1 | Intent is not recoverable from the test at all. |
Score whole numbers per axis. Only the composite carries a decimal.
Axis 1 - AAA phase separation
Grounded in the Four-Phase Test: "Clearly identifying the four phases makes the intent of the test much easier to see" (Four-Phase Test). The three-phase naming comes from Bill Wake: "Arrange: Set up the object to be tested. Act: Act on the object (through some mutator). Assert: Make claims about the object" (Arrange-Act-Assert).
| Score | Anchor |
|---|---|
| 5 | Phases visually separated (blank line or // Arrange style comment) and exactly one Act. |
| 4 | Exactly one Act, phases separable at a glance, no explicit markers. |
| 3 | One Act, but arrange lines appear after it; the reader reorders mentally. |
| 2 | Two or more Acts with verification between them. |
| 1 | No phase boundary at all: a script of interleaved actions and checks. |
Settling 2 vs 4: count the Acts. One Act the reader can point to is a floor of 4 regardless of comment style. More than one Act is a ceiling of 2, because per the same source it "will be self-evident if we have multiple exercise SUT phases separated by result verification phases" (Four-Phase Test), and that is the split-into-two-tests signal, not a formatting nit.
Axis 2 - Single-responsibility
Grounded in the Eager Test cause of Assertion Roulette: "verifying many test conditions in a single Test Method", whose tell is that the author "wants to modify the Test Automation Framew
Установить test-design-scorecard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл test-design-scorecard?
Use for any question or task about giving feedback on someone's tests or measuring a team's test quality over time, such as coaching a junior engineer or a quarterly per-author trend, rather than a merge verdict. Scores tests 1-5 on six design axes with explicit anchors and writes growth-framed feedback.
Как установить скилл test-design-scorecard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-design-scorecard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic