Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

evals

FreeNo executable scriptsNot checked

Use to evaluate how faithfully the implementation matches the spec — runs the eval that checks whether each AC-N is covered by a task and referenced in a…

adriannoesby adriannoes★ 108 GitHub stars

About this skill

Translation note: Originally authored in Portuguese (pt-BR) by Igor Uehara (igoruehara/spec-driven, MIT). Translated to English by this hub to keep the repository language consistent. Original content unchanged in meaning; see the upstream repo for the pt-BR source.

Skill: Spec→code fidelity evals

Measures whether what was built reflects the spec — the quality metric of the agent's output. Two layers: deterministic (script) and judgment.

1. Deterministic layer

node scripts/eval-spec-fidelity.mjs .

Reports, per feature: total ACs, covered by a task, referenced in test/code, and open SPEC_DEVIATION. Fails (exit 1) if any AC has no task — broken traceability. Reference in test is a warning until the feature is implemented.

2. Judgment layer (the script does not catch this)

  • Does the test for each AC-N actually exercise the Given/When/Then — or does it just cite the ID in an empty test?
  • Does the implementation cover the edge cases and respect the spec's "Out of scope"?
  • Do the open SPEC_DEVIATION items have a resolution (fix the code or update the spec/ADR)?

Output

Score per feature + the gaps. It complements /validar (UAT for a single feature) with a portfolio fidelity view. The same eval runs in CI (esteira.yml) — here it is the judgment counterpart.

Install evals in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the evals skill do?

Use to evaluate how faithfully the implementation matches the spec — runs the eval that checks whether each AC-N is covered by a task and referenced in a test, counts SPEC_DEVIATION and reports a score per feature. Trigger with /evals.

How do I install the evals skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the evals skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare evals with