Command Palette

Search for a command to run...

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

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от 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

  1. Review the touched tests and the code changes that should have tests.
  2. Flag:
    • .unwrap() / .expect() in tests
    • panic!-driven helper/control flow where Result + 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
  3. 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.
  4. Keep this pass focused on test quality and coverage, not general code quality.
  5. 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.
  6. 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 is make 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.

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

Установить 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), без исполняемых скриптов.

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

Сравнить review-test-style с