Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

test-design-reviewer

БесплатноБез исполняемых скриптовНе проверен

Review test quality using Dave Farley's eight properties of good tests. Use when assessing a test file or suite for understandability, maintainability…

citypaulот citypaul★ 764 звезды на GitHub

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

Test Design Reviewer

Review tests as executable specifications and safety evidence. Read the tests before the implementation so their public story can stand on its own, then inspect the production boundary and repository constraints needed to judge the claims accurately.

Properties

Property Inspect Strong evidence
Understandable Names, arrange/act/assert flow, domain vocabulary The behavior and failure are clear without reconstructing internals
Maintainable Coupling, duplication, fixtures, public boundaries Behavior-preserving refactors do not require unrelated test rewrites
Repeatable Time, randomness, concurrency, network, shared resources Repeated and parallel runs have controlled inputs and cleanup
Atomic Shared state, ordering, cleanup, failure isolation A test can run alone and its failure identifies one behavior
Necessary Distinct risk or contract protected Removing the test would remove meaningful evidence
Granular Scope of behavior and diagnostic quality Assertions describe one coherent outcome; related assertions may stay together
Fast Measured feedback time at the appropriate layer The suite is fast enough for its intended feedback loop
First Evidence of test-first development A captured RED run, development trace, or history demonstrates the test failed for the expected reason before production behavior changed

Rating

Rate each property Strong, Mixed, Weak, or Not assessed.

  • Use exact file locations and observed evidence.
  • Do not calculate an aggregate score; unequal risks and repository contexts make a weighted number falsely precise.
  • Mark First Not assessed when only the final tree is available. Static test shape cannot prove chronology.
  • Mark Fast Not assessed unless execution evidence or trustworthy timing is available.
  • Prefer the smallest change that strengthens observable behavior. Do not demand one assertion per test, one test per file, or unit tests where a higher-level contract is the honest evidence boundary.

Review Process

  1. Establish the claimed behavior, test layer, repository policy, and relevant risk.
  2. Read the tests without implementation and record what a failure would mean.
  3. Inspect the public production boundary, fixtures, and configured runner.
  4. Run focused tests or timing only when authorized and useful; report exactly what ran.
  5. Rate every property with evidence, including Not assessed where evidence is absent.
  6. Rank only actionable findings by severity and impact. Include the smallest credible fix.
  7. Separate test defects from production-design seams and local policy preferences.

Output

## Test design review: [scope]

| Property | Rating | Evidence |
|---|---|---|
| Understandable | Strong/Mixed/Weak/Not assessed | [file:line and reason] |
| Maintainable | ... | ... |
| Repeatable | ... | ... |
| Atomic | ... | ... |
| Necessary | ... | ... |
| Granular | ... | ... |
| Fast | ... | ... |
| First | ... | ... |

### Findings

1. **[severity] — [problem]** (`path:line`)
   Impact: [observable risk].
   Smallest fix: [action].

### Validation gaps

- [Anything not assessed and the evidence needed]

No findings is a valid result; do not invent work to populate the section.

Source And Attribution

The eight properties are drawn from Dave Farley's Properties of Good Tests. This version is a fresh, evidence-based implementation rather than a textual adaptation of an external skill. Read references/source-notes.md for the exact historical provenance and unresolved permission issue in older releases.

Полный SKILL.md на GitHub

Установить test-design-reviewer в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/source-notes.md

FAQ

Что делает скилл test-design-reviewer?

Review test quality using Dave Farley's eight properties of good tests. Use when assessing a test file or suite for understandability, maintainability, repeatability, atomicity, necessity, granularity, speed, and evidence of test-first development.

Как установить скилл test-design-reviewer?

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

Скилл test-design-reviewer запускает скрипты?

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

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

Сравнить test-design-reviewer с