Command Palette

Search for a command to run...

Назад к скиллам
скилл № 40103

remy-inspect

Discover and run tests after code modification. Supports multi-angle defect prediction and coverage analysis. Recommended after large-scale edits or…

БесплатноЗапускает вложенные скрипты
MyPeacefulValentineот MyPeacefulValentine★ 28 звёзд на GitHub

Установить remy-inspect в Claude Code и Claude Desktop

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

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

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

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

Post-Verify Protocol

Post-implementation verification skill. Discovers existing tests, creates temporary tests when none exist, runs them, evaluates coverage and assertion quality, and drives a fix loop until all tests pass.

Supports three effort levels for multi-angle analysis:

  • low: Skip prediction/semantic audit; direct test discovery and execution (fastest).
  • medium (default): 2 prediction angles + 1 semantic audit angle (3 parallel agents).
  • high: 3 prediction angles + 3 semantic audit angles (6 parallel agents).

Relationship to TDD: TDD operates before implementation (RED→GREEN→REFACTOR). This skill operates after implementation to verify completed changes. They are complementary, not overlapping.

External Files

Path Convention: All paths below are relative to ~/.claude/. Use Read("~/.claude/skills/remy-inspect/...") to access them — they are NOT in the project working directory.

File Purpose
skills/remy-inspect/frameworks.json Test framework detection rules (Phase 2). User-extensible.
skills/remy-inspect/anti_patterns.json Assertion anti-pattern detection rules (Phase 7.1). User-extensible.
skills/remy-inspect/schemas/prediction_scenario.json Output schema for defect prediction agents (Phase 3).
skills/remy-inspect/schemas/audit_finding.json Output schema for semantic audit agents (Phase 7.2).
skills/remy-inspect/prompts/predict_input_boundary.md Prediction Angle A prompt template.
skills/remy-inspect/prompts/predict_error_path.md Prediction Angle B prompt template.
skills/remy-inspect/prompts/predict_state_interaction.md Prediction Angle C prompt template (high only).
skills/remy-inspect/prompts/audit_coverage_gap.md Audit Angle A prompt template.
skills/remy-inspect/prompts/audit_assertion_strength.md Audit Angle B prompt template (high only).
skills/remy-inspect/prompts/audit_test_isolation.md Audit Angle C prompt template (high only).
skills/remy-inspect/templates/test_python.py.j2 Jinja2 template for temporary Python tests (Phase 4).
skills/remy-inspect/templates/test_javascript.js.j2 Jinja2 template for temporary JavaScript tests (Phase 4).
skills/remy-inspect/templates/test_go.go.j2 Jinja2 template for temporary Go tests (Phase 4).
skills/remy-inspect/templates/test_c.c.j2 Jinja2 template for temporary C tests (multi-framework: kunit/cmocka/Unity/criterion/plain).
skills/remy-inspect/templates/report.md.j2 Jinja2 template for the final report (Phase 9).
skills/remy-inspect/render.py Template rendering helper. Uses Jinja2 when available, falls back to str.format().

Optional Dependency: Jinja2

render.py attempts import jinja2. If unavailable, all templates are rendered via built-in string formatting (functionally equivalent, but templates are not externally editable in fallback mode). Jinja2 is optional; install it with pip install jinja2.

0. Configuration

Environment Variable Default Description
POST_VERIFY_MAX_RETRIES -1 (unlimited) Maximum test-fix iterations. -1 = no limit. Positive integer = hard cap.
POST_VERIFY_EFFORT medium Fallback effort level when not specified as argument.
TEST_COVERAGE_THRESHOLD 80 Branch coverage percentage target. Shared with /remy-testgen.

Argument Parsing

/remy-inspect [effort] [target_files_or_functions...]
  1. If the first argument matches low, medium, or high (case-insensitive): use it as effort level, remaining args are targets.
  2. Otherwise: use POST_VERIFY_EFFORT env var (default medium), all args are targets.

Effort Level Matrix

Effort Prediction Angles Semantic Audit Angles Total Agents
low 0 (skip Phase 3) 0 (regex only in Phase 7) 0
medium 2 (A: Input Boundary, B: Error Path) 1 (A: Coverage Gap) 3
high 3 (A + B + C: State/Interaction) 3 (A + B: Assertion Strength + C: Test Isolation) 6

Report Persistence

Final reports are saved to .claude/temp_inspect/report_{timestamp}.md in the project directory via render.save_report(). This directory is created automatically if absent.


Phase 1: Scope Identification

Goal: Determine what changed and what needs testing.

  1. If arguments provided: Use them as the target scope (file paths or function names).
  2. If no arguments: Run git diff --name-only HEAD (or git diff --cached --name-only if staged). If not a git repo, ask the user to specify targets via AskUserQuestion.
  3. Extract change units: For each changed file, identify modified/added functions, classes, and methods by diffing against the previous version.
  4. Record: Build an internal change_set list: [{file, symbol, type}].

Output: Print the change set as a summary table to the user.


Phase 2: Test Discovery

Goal: Find

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

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

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

  1. 01Read
  2. 02Edit
  3. 03Write
  4. 04Grep
  5. 05Glob
  6. 06Bash
  7. 07AskUserQuestion
  8. 08Agent

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

  • README.md
  • README_zh.md
  • anti_patterns.json
  • frameworks.json
  • prompts/audit_assertion_strength.md
  • prompts/audit_coverage_gap.md
  • prompts/audit_test_isolation.md
  • prompts/predict_error_path.md
  • prompts/predict_input_boundary.md
  • prompts/predict_state_interaction.md
  • render.py
  • schemas/audit_finding.json
  • schemas/prediction_scenario.json
  • templates/report.md.j2
  • templates/test_c.c.j2
  • templates/test_go.go.j2
  • templates/test_javascript.js.j2
  • templates/test_python.py.j2

FAQ

Что делает скилл remy-inspect?

Discover and run tests after code modification. Supports multi-angle defect prediction and coverage analysis. Recommended after large-scale edits or accumulated working tree changes.

Как установить скилл remy-inspect?

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

Скилл remy-inspect запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить remy-inspect с