review-test-style
БесплатноБез исполняемых скриптовНе проверенReview touched tests and test-adjacent code for style, Result-returning patterns, panic helpers, unwrap/expect use, and obvious coverage gaps. Use when a…
от encero-systems★ 75 звёзд на GitHubОб этом скилле
Review Test Style — Incan Compiler
Purpose
/review-test-style is a narrow report-only reviewer for touched tests and code changes that imply missing test coverage.
Own:
- panic helpers and panic-style control flow in touched tests
- unwrap/expect in tests
- fallible tests not returning
Result - obvious missing targeted coverage for new behavior
Do not own:
- rustdoc prose
- docs truthfulness
- architecture
- final branch-clean judgment
Output artifact
Write a slice report at:
.agents/state/review-report.test-style.md
Do not write to the canonical .agents/state/review-report.md.
Workflow
- Review the touched tests and the code changes that should have tests.
- Flag:
.unwrap()/.expect()in testspanic!-driven helper/control flow whereResult+ assertions would be clearer- missing targeted tests for new CLI, lifecycle, or semantic behavior
- stale contract expectations or missing execution coverage when behavior changed end-to-end
- Only flag a coverage gap when the new behavior or branch is not exercised anywhere in the touched tests. If integration coverage already exercises the behavior, do not demand redundant parser/unit duplication without a concrete reason.
- Keep this pass focused on test quality and coverage, not general code quality.
- Check
AGENTS.md's budget: the whole suite (contract cases, Rust unit tests, and Incan test functions) stays under about 3,000 tests. Extend an existing case before adding one; add only when no same-area case can carry the behavior. Never add a case per bug: name the guarded bug in# behavior:. A library case has one producer Loaf carrying every declaration it needs. - Check verification evidence against
workspaces/contracts/README.md: smallest case or area selectors during development, affected whole families at commit points, and no regression of baseline passing cases. The fast local gate ismake pre-commit; Oven owns execution, and Cargo commands are not supported.
Slice report shape
Keep slice reports findings-first. Only list clean surfaces when they are materially useful to the orchestrator.
# Review Slice Report
- role: test-style
- worker: <agent-id or stable label>
- status: in_progress | clean | blocked
## Scope
- assigned files:
- workspaces/oven/src/test_unit_codegen.incn
## Findings
- [ ] warning | test-gap | panic helper | loaves/toolchain/incan-cli/src/lib.rs:84
Test helper uses panic-oriented control flow instead of `Result` + assertions.
## Reviewed Clean Surfaces
- workspaces/oven/src/test_unit_codegen.incn — touched unit coverage reviewed; no additional findings
If there are no findings, say so explicitly.
Установить review-test-style в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-test-style?
Review touched tests and test-adjacent code for style, Result-returning patterns, panic helpers, unwrap/expect use, and obvious coverage gaps. Use when a broad review needs a dedicated test pass or when the user asks for test-review specifically.
Как установить скилл review-test-style?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-test-style запускает скрипты?
Нет, скилл состоит только из инструкций (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