review-harness-spec — скилл для Claude Code
Проверяет рецепт .harness/spec.yaml перед запуском тестов и генератора. Находит ошибки связей и пробелы в чеклисте оценок.
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a claude-codeЧто делает review-harness-spec
Скилл анализирует конфигурацию hedera-harness по двум направлениям: технические связи файлов и чеклист проверки. Сначала он находит .harness/spec.yaml и сверяет пути к PRD и валидаторам. Старые спецификации версий 1 и 2 скилл проверять откажется: он потребует обновить файл под schemaVersion: 3 или выполнить hedera-harness init.
Для проверки связей запускается скрипт check-spec.sh, который вызывает hedera-harness doctor --recipe-only и сопоставляет файлы проекта. Если CLI harness отсутствует или устарел, результат аудита связей помечается как частичный.
Полноту сценариев скилл оценивает по чеклисту требований. Он проверяет, чтобы каждый пользовательский сценарий из PRD вёл к конкретной проверке, а в рецепте не оставалось лишних полей вроде skills:. В финале выводится структурированный отчёт со списком блокирующих проблем.
Какие задачи решает
- проверить конфигурацию .harness/spec.yaml перед запуском генератора
- найти расхождения между сценариями в PRD и чеклистом оценки
- проконтролировать схему рецепта на соответствие schemaVersion: 3
- выявить лишние параметры и сломанные пути к валидаторам
Примеры запросов агенту
- Проверь рецепт harness в .harness/spec.yaml перед запуском.
- Запусти аудит спеки harness и покажи блокирующие ошибки.
Как установить review-harness-spec
1Через Skills CLI (Vercel)
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a claude-code2Вручную: положить файлы
~/.claude/skills/review-harness-spec/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/review-harness-spec/
1Через Skills CLI (Vercel)
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a codex2Вручную: положить файлы
.agents/skills/review-harness-spec/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a cursor2Вручную: положить файлы
.cursor/skills/review-harness-spec/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install hedera-dev/hedera-skills review-harness-spec2Вручную: положить файлы
.github/skills/review-harness-spec/SKILL.md1Через Skills CLI (Vercel)
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a gemini-cli2Командой платформы
gemini skills install https://github.com/hedera-dev/hedera-skills --path plugins/hedera-harness/skills/review-harness-specВручную: положить файлы
.devin/skills/review-harness-spec/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о review-harness-spec
Как установить review-harness-spec в Claude Code?
Выполните команду npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a claude-code.
Что делает review-harness-spec?
Скилл проверяет рецепт .harness/spec.yaml на корректность схемы, целостность путей и полноту чеклистов перед запуском генерации.
С какими версиями схем работает этот скилл?
Скилл рассчитан строго на schemaVersion: 3. Если в рецепте указана версия 1 или 2, процесс остановится с требованием обновить структуру файла.
Исходный текст
SKILL.md · Apache-2.0
--- name: review-harness-spec description: Audit an existing hedera-harness recipe for wiring and evaluate-checklist problems before a run. Use when the user wants a harness recipe reviewed before running it. --- # Review Harness Spec Audit a hedera-harness **recipe** on disk along two axes. Catch mistakes the harness only surfaces after a generator attempt is already burning. Load the shared vocabulary first: read [`../harness-spec-anatomy/SKILL.md`](../harness-spec-anatomy/SKILL.md) and its [GLOSSARY.md](../harness-spec-anatomy/GLOSSARY.md). Targets **hedera-harness schemaVersion 3**. Authoring-only skill. Recipes do not list skills. ## Step 1: Locate the recipe The recipe is `.harness/spec.yaml` under the project root. Read every file it resolves to, remembering that v3 **defaults** most paths — an absent key is not a missing file: | Key | Default when absent | |-----|---------------------| | `prd` | `.harness/prd.md` (a list means **increments**) | | `eval` | absent (EVALUATE off). A list must be 1:1 with `prd:` | | `validators.static` | `.harness/validators/static.json` | | `validators.commands` | `.harness/validators/yarn.json` | If the recipe file is missing, stop and ask. If `schemaVersion` is absent, `1`, or `2`, stop and recommend rewriting to v3 (`contract:` → `eval:`, drop `skills:`, set `schemaVersion: 3`) — or regenerate with `hedera-harness init`. `migrate` is gone. Review the rewritten recipe, not the stale original. ## Step 2: Wiring axis ```bash bash <path-to>/harness-spec-anatomy/scripts/check-spec.sh <project-root> ``` `<project-root>` is the directory containing `.harness/`. The script runs `hedera-harness doctor --recipe-only` for schema validity, then adds cross-file coherence checks. Report its findings **verbatim** under `## Wiring`. If it reports the schema was **not** validated (harness CLI missing or too old), say so explicitly in the report — the wiring axis is then partial, not passed. ## Step 3: Eval axis Judgment only — what a script cannot see. Work through [references/review-checklist.md](references/review-checklist.md). Cover at least: - Every PRD journey maps to ≥ 1 assertion in the matching **evaluate checklist** - Every assertion traces back to a PRD journey (no orphans / scope creep) - Severity budget sane (prefer ≤ 2 `critical`) - **Needles** pin real scripts, not brittle implementation strings - Playwright stage stays thin; deep UX lives in the checklist - No `skills:` key (product plugins are discovered; the generator picks) - The recipe is not padded with values that merely restate a default - For **increments**: each one leaves the app green, they are ordered by dependency, and `eval:` is 1:1 with `prd:` Report under `## Eval`. Do **not** merge or rerank with Wiring — a **recipe** can be perfectly wired and still grade the wrong thing. ## Step 4: Emit the report ```markdown # Harness Recipe Review — <slug> ## Summary - **Schema**: v3 | stale (rewrite first) - **Stage ambition**: ASSERT | +SMOKE | +EVALUATE | +CHAIN - **Increments**: single PRD | N ordered (eval paired: yes / no / scalar) - **Ready to run ASSERT?**: yes / no - **Wiring findings**: N (schema validated: yes / no) - **Eval findings**: N ## Wiring - [script output or hand-checked findings] ## Eval ### Blocker - [id] <what> — <where> — <fix> ### Warning - [id] <what> — <where> — <fix> ### OK - [id] <what> ``` ## Step 5: Handoff If ready for ASSERT: ```bash hedera-harness run .harness/spec.yaml --max-attempts 3 # or: yarn harness:run ``` ## Additional resources - [references/review-checklist.md](references/review-checklist.md) - Companion: `/create-harness-spec` - Vocabulary: `/harness-spec-anatomy`
© hedera-dev · Apache-2.0 · hedera-dev/hedera-skills