Skip to main content
skill CX Codex

review-harness-spec — Claude Code skill: what it does, how to install

Audits .harness/spec.yaml recipes for wiring defects and evaluate checklist coverage before running tests.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a claude-code
Open on GitHub

What review-harness-spec does

The skill inspects a hedera-harness recipe across two axes: wiring and evaluation criteria. It inspects .harness/spec.yaml and maps default paths such as .harness/prd.md or static validators. Older recipes on schema versions 1 or 2 cause the skill to stop immediately, requiring an upgrade to schemaVersion: 3 via hedera-harness init.

To audit wiring, it runs check-spec.sh, invoking hedera-harness doctor --recipe-only alongside cross-file consistency checks. If the local harness CLI is missing or outdated, the output flags the wiring check as partial rather than passed.

Evaluation coverage is audited against PRD user journeys. The skill checks that every PRD assertion maps to test criteria, flags redundant keys like skills:, and watches the critical issue budget. The output is a Markdown report listing blockers and warnings before execution.

What it helps with

  • audit .harness/spec.yaml before running generator attempts
  • map PRD user journeys to evaluate checklist assertions
  • validate schema compliance against schemaVersion: 3
  • detect missing recipe files and broken validator paths

Example prompts for the agent

  • Audit my harness recipe in .harness/spec.yaml.
  • Review the harness spec and check the evaluate checklist.

How to install review-harness-spec

1Skills CLI (Vercel)

npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a claude-code

2Manually: put the files in place

~/.claude/skills/review-harness-spec/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/review-harness-spec/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about review-harness-spec

How to install review-harness-spec in Claude Code?

Run npx skills add hedera-dev/hedera-skills --skill review-harness-spec -a claude-code.

What does review-harness-spec do?

It audits hedera-harness recipes for schema validity, cross-file wiring, and evaluation checklist completeness before execution.

Which schema versions does this skill support?

It targets schemaVersion: 3. If it detects version 1 or 2, it halts and instructs you to rewrite the recipe.

Source text

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

Similar skills

All skills for Testing and QA →

From the same set24

hss-system-contract Guides assistants in building scheduled transactions via the Hedera Schedule Service contract at 0x16b. Useful for Solidity developers automating calls or token creation. CX Codex +1 461installs create-harness-spec Turns a Hedera feature idea into a runnable hedera-harness recipe: PRD, spec file and validators. Useful when you need a spec you can actually run. CX Codex +1 465installs hiero-cli Equips coding agents to interact with the Hedera network via hcli. Useful for minting tokens, deploying contracts, sending HBAR, and handling x402 paywalls. CX Codex +1 460installs harness-spec-anatomy Defines what a hedera-harness recipe is made of: the files, the v3 defaults, the run stages and the blind evaluate-checklist rule. For anyone authoring or auditing recipes. CX Codex +1 464installs x402-payments An agent skill for gating HTTP resources behind HBAR payments with x402: a 402 challenge, a signed transfer, then verify and settle through your own facilitator. CX Codex +1 462installs layerzero-messaging A skill for building LayerZero V2 bridges between Hedera and EVM chains: OFT/OApp setup, Endpoint V2 wiring, ULN, DVN and sends via quoteSend. CX Codex +1 460installs axelar-gmp Guides cross-chain contract calls between Hedera and EVM networks via Axelar GMP. Useful for setting up gateway calls, receivers, and HSS loops. CX Codex +1 454installs chainlink-data-feeds Helps safely read Chainlink AggregatorV3 price feeds on Hedera testnet (296) and mainnet (295), validate round staleness, and normalize decimals. CX Codex +1 444installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor