Logo di Harness Spec Anatomy

Harness Spec Anatomy

Organizzazione
hedera-dev
harness-spec-anatomy

Shared vocabulary for hedera-harness recipes — the files, the v3 defaults, the stages, and the blind/evaluate-checklist rule. Use when authoring or auditing a harness recipe, or when another skill needs the recipe vocabulary.

Panoramica

Pubblicato dahedera-dev
Repositoryhedera-skills
Nome della skillharness-spec-anatomy
Stelle
37
Fork
18
File inclusi
6
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 6

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da hedera-dev su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Harness Spec Anatomy in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/hedera-dev/hedera-skills/tree/master/plugins/hedera-harness/skills/harness-spec-anatomy
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hedera-dev/hedera-skills.git /tmp/hedera-skills
mkdir -p .claude/skills
cp -r /tmp/hedera-skills/plugins/hedera-harness/skills/harness-spec-anatomy .claude/skills/harness-spec-anatomy
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Harness Spec Anatomy in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Harness Spec Anatomy non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Harness Spec Anatomy non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Harness Spec Anatomy

Single source of truth for what a hedera-harness recipe is. Action skills (/create-harness-spec, /review-harness-spec) reach here for vocabulary; they own workflow. Use the bold terms from GLOSSARY.md exactly.

Targets hedera-harness schemaVersion 3. Older recipes hard-fail at load. There is no migrate command — rewrite to v3, or regenerate with hedera-harness init and reapply edits.

These skills are for authoring — not for generator runs. Recipes do not list skills. Each run discovers product plugins from hedera-skills (native-services-js, system-contracts, cross-chain, dev-intelligence) and the generator picks what the PRD needs. Keep authoring skills out of that set; they stay Cursor / Claude Code marketplace plugins.

Layout

One layout: .harness/ inside a scaffolded app (from hedera-harness init or Scaffold HBAR). The workspace is the project itself. Paths in the recipe file are relative to the project root.

FileRequired?Default pathConsumed by
Recipe fileYes.harness/spec.yamlHarness CLI
PRDYes.harness/prd.md (or a prd: list)Generator
Static validatorASSERT.harness/validators/static.jsonStatic validator
Command validatorASSERT.harness/validators/yarn.jsonCommand validator
Playwright smokeSMOKE.harness/validators/playwright-smoke.yamlPlaywright stage
Evaluate checklistEVALUATE.harness/eval.json (or an eval: list)EVALUATE validator

Every path above is a default. Omit the key and the harness uses it; name a key only to point somewhere else. Artifacts always land in .harness/runs/, which is not configurable.

Handoff: yarn harness:run or hedera-harness run .harness/spec.yaml.

What the recipe file must carry

Only four things are required:

yaml
schemaVersion: 3
name: my-feature
description: What you want the agent to build in this project.

baseline:
  commands:
    - name: install          # required, and used for install fingerprinting
      command: yarn install
    - name: build
      command: yarn next:build

Everything else — prd, validators.*, maxAttempts, agent, constraints, forbiddenFiles, secretScan, requiredFiles — is defaulted or detected. A v3 recipe that sets none of them is complete and correct. Compact bodies and the full commented template: references/spec-files.md.

baseline is not validators.commands. Baseline proves the project was healthy before generation; validators.commands grades it after. A command named install is mandatory in baseline.

Defaults worth knowing

KeyDefault
agentclaude — omit unless the user wants cursor
prd.harness/prd.md; a list delivers ordered increments
evalabsent (EVALUATE off). Scalar grades every slice; list must be 1:1 with prd:
maxAttempts3
constraints.packageManagerdetected from package.json / lockfiles
constraints.forbiddenCommandsevery package manager that is not the one in use
forbiddenFiles / secretScan.env plus one per workspace
requiredFilesempty — the validators are the gate

Unknown keys are ignored with a warning, so a typo degrades rather than crashes. Treat any such warning as a finding.

Stages

Enable in order. Default is ASSERT only, so the first run stays cheap.

StageRecipe file fieldsWhat it checks
ASSERTvalidators.static, validators.commands, requiredFiles, forbiddenFiles, secretScanFiles, JSON/text, secrets, install/lint/build
SMOKEvalidators.playwrightDev server boots; routes HTTP OK; console / forbidden text
EVALUATEeval + validator.enabled: trueAgent grades numbered assertions in the evaluate checklist
CHAINchainValidation (+ EVALUATE)Ephemeral ECDSA test signer; real txs; mirror verify

Full enable order, host prerequisites, and YAML blocks: references/stage-strategy.md.

Cross-file coherence

The v3 defaults removed most path-level coupling. What still must agree:

Keep in syncWhy
Evaluate checklist routes ↔ Playwright routes ↔ PRD deliverable routesThe validator visits what the PRD promised
Every PRD journey ↔ ≥ 1 assertion in the matching checklistUnverified journeys pass silently
Every assertion ↔ a PRD journeyOrphan assertions are scope creep
prd: list ↔ eval: list (when both are lists)Must be 1:1; only the active pair is vendored per increment
forbiddenFiles ↔ static fileAssertions.forbiddenTwo gates, one intent
constraints.packageManager ↔ static assertion on package.jsonOnly if you override the detected value
eval ↔ validator.enabled: trueEither alone is a misconfigured recipe
Assertion executableWithTestSigner ↔ chainValidation.enabledFlagged assertions are inert without CHAIN

templateMetadata.name is the host template identity and may differ from the feature slug in name. That is not a finding.

Blind / evaluate-checklist rule

Keep the run blind. The PRD carries journeys and outcomes; numbered assertions live in the evaluate checklist. See GLOSSARY.md and references/prd-and-journeys.md.

Drift-sensitive loader fields

When the harness renames these, update this skill and its evals in the same change set:

schemaVersion, agent, baseline, prd, eval, validators.static, validators.commands, validators.playwright, validator, chainValidation, constraints, templateMetadata, requiredFiles, forbiddenFiles, secretScan, executableWithTestSigner, maxAttempts.

Removed — presence hard-fails at load: contract, extend, logging, skills, seed, generator.

Mechanical check

bash
bash <path-to>/harness-spec-anatomy/scripts/check-spec.sh <project-root>

Resolve the script path relative to the installed skill. It runs hedera-harness doctor --recipe-only for schema and loader validity, then adds the cross-file coherence checks doctor does not perform. Exit zero means the wiring is clean; non-zero prints one finding per line.

If the harness CLI is unavailable the script still runs its coherence checks and says so — treat that as a partial result, not a pass.

Additional resources

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Harness Spec Anatomy?

Shared vocabulary for hedera-harness recipes — the files, the v3 defaults, the stages, and the blind/evaluate-checklist rule. Use when authoring or auditing a harness recipe, or when another skill needs the recipe vocabulary.

Perché usare Harness Spec Anatomy su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Harness Spec Anatomy è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Harness Spec Anatomy in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/hedera-dev/hedera-skills/tree/master/plugins/hedera-harness/skills/harness-spec-anatomy. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Harness Spec Anatomy?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Harness Spec Anatomy?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Harness Spec Anatomy: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Harness Spec Anatomy è gratuita?

Sì. È pubblicata su GitHub da hedera-dev con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇