test-adequacy-review
Review whether tests provide meaningful evidence for the changed contract, important failures, boundaries, concurrency, integration behavior, and regression…
от Dadmin88★ 52 звезды на GitHub
Установить test-adequacy-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Test Adequacy Review
Use when reviewing a change whose correctness claim depends partly on automated tests.
Procedure
- Map the changed behavior and preserved contracts to test evidence. Ask what could be wrong even if every added test passes.
- Check that each material behavior is tested at the layer capable of proving it: pure logic at unit level, real persistence/protocol/framework semantics at integration level, consumer contracts at contract level, and assembled critical flows at end-to-end level when necessary.
- Review assertions for meaning. Tests should verify the outcome, invariant, error, side effect, state transition, or contract that matters rather than merely executing lines or snapshotting large structures without focused expectations.
- Review negative and boundary coverage: invalid input, empty/maximum values, missing resources, unauthorized access, conflicts, dependency failure, retries, cancellation, duplicate operations, time boundaries, and other cases implicated by the change.
- Review stateful and concurrent behavior where relevant. Tests should exercise transaction boundaries, stale updates, duplicate delivery, race conditions, idempotency, replay, or ordering when those are part of the risk.
- Check mocks and fakes. A mock is acceptable when the test intentionally isolates a dependency; it is inadequate when the behavior being claimed depends on the real database, browser, network contract, parser, queue, filesystem, or framework semantics that the mock replaces.
- Review regression linkage. Bug fixes should normally include a test that would fail for the original defect when the failure is automatable and stable.
- Review determinism and isolation. Flag tests that depend on sleep timing, order, global mutable state, external mutable services, shared fixtures, local timezone/locale, or random behavior without control.
- Use coverage data only as a clue to untested code paths. Do not treat a percentage threshold as proof that important behavior is covered.
- Distinguish missing test evidence from a proven implementation defect. A reviewer may block for absent evidence when the untested risk is material, but should state exactly what claim remains unproven.
Decision rules
- More tests are not automatically better; each test should buy confidence in a meaningful risk.
- A test that duplicates implementation details can make safe refactoring harder while missing the real contract.
- End-to-end tests are valuable for assembled behavior and expensive as a universal substitute for smaller tests.
- Test quality includes failure clarity: when a test breaks, the assertion should help identify which contract failed.
Quality gate
The review is complete when material changed and preserved contracts are mapped to appropriate evidence, important negative and stateful risks are covered, mocks do not erase the behavior being claimed, tests are deterministic enough to trust, and any blocking evidence gap is precise.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-adequacy-review?
Review whether tests provide meaningful evidence for the changed contract, important failures, boundaries, concurrency, integration behavior, and regression risk without rewarding brittle or superficial coverage.
Как установить скилл test-adequacy-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-adequacy-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…