evals
FreeNo executable scriptsNot checkedUse 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…
by adriannoes★ 108 GitHub starsAbout 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-Nactually 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_DEVIATIONitems 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
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
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic