Skip to content
Skill

Spec conformance check

Checks an artifact against a spec one requirement at a time, with confidence-gated results

Spec conformance check is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
440
Last commit
License
MIT
Listing updated

Similar skills

About Spec conformance check

This skill turns a written spec into a list of testable requirements and scores an artifact against each one as met, partly met, not met or not applicable, with a confidence value. Each requirement is judged in a separate call so that answers stay specific rather than a single generous verdict. Rows with a confident not-met result are flagged to block, while uncertain rows are routed to a person for review.

The bundled workflow includes a Python script that posts the requirements and artifact to a classification endpoint and prints a gate decision per row, exiting non-zero when a blocking row is found. The guidance also covers which inputs to avoid, such as executable specs that tests should cover, and how to handle long artifacts by passing only the relevant section.

It expects a plain-text spec and artifact, such as a PR description, an agent's answer, a generated test or an RFC, plus Python 3 and network access to the classification service used by the script.

When your agent uses it

Check an artifact against a written spec one requirement at a time. Splits the spec into testable requirements, scores each met, partly met, not met or not applicable with a calibrated confidence, blocks on a confident not-met and sends the unsure rows to a person. Works on a PR description, an agent's answer, a generated test or an RFC. Use on "does this meet the spec", "did it do everything I asked", or a definition-of-done gate in CI.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/spec-conformance-check to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-conformance-check &&
cp -R "$tmp/skills/spec-conformance-check" ~/.claude/skills/spec-conformance-check &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/spec-conformance-check inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/spec-conformance-check to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-conformance-check &&
cp -R "$tmp/skills/spec-conformance-check" ~/.agents/skills/spec-conformance-check &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/spec-conformance-check inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/spec-conformance-check to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-conformance-check &&
cp -R "$tmp/skills/spec-conformance-check" ~/.cursor/skills/spec-conformance-check &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/spec-conformance-check inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/mrmps/classifier-dev.git --path skills/spec-conformance-check

Or copy the folder to ~/.gemini/skills/spec-conformance-check yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/spec-conformance-check:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-conformance-check &&
cp -R "$tmp/skills/spec-conformance-check" ~/.copilot/skills/spec-conformance-check &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/spec-conformance-check inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mrmps/classifier-dev.git

Then copy classifier-dev/skills/spec-conformance-check into your agent's skills folder as spec-conformance-check. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Requirement splitting
Breaks a spec into one testable claim per line, keeping the spec's own wording.
Per-requirement scoring
Labels each requirement as met, partly met, not met or not applicable with a confidence score.
Confidence gating
Sets thresholds that block on confident failures and send uncertain rows to a reviewer.
CI merge gate
Provides a script that exits non-zero when a blocking row is found, for use in continuous integration.
Long artifact handling
Advises passing only the relevant section when an artifact is too long for a short requirement.

Good for

  • Check whether a pull request description covers every item in the ticket spec
  • Verify that an agent's answer addresses all the points the user asked for
  • Review a generated test against the requirements it should cover
  • Gate a definition-of-done check in CI before merging
  • Audit an RFC against its written acceptance criteria

Spec conformance check FAQ

What does the skill need to run?

It uses a Python 3 script that sends requirements and the artifact to a classification endpoint, so it needs network access to that service and a plain-text spec file and artifact file.

Does Spec conformance check change my code or files?

The bundled script reads spec.txt and artifact.txt and prints results to the terminal. It does not modify files in the repository.

When should I not use Spec conformance check?

The skill advises against using it when the spec is executable, since a test suite is better, and for behaviour the artifact does not describe in its text.

What happens to uncertain results?

Rows with low confidence or partly met labels are routed to a person for review rather than blocking the merge.

How do I install Spec conformance check in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-conformance-check to use it in all your projects, or to .claude/skills/spec-conformance-check in one project.

Does Spec conformance check run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Spec conformance check?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Spec conformance check?

The closest alternatives to Spec conformance check are Spec driven development, Spec, Spec finish, Spec driven development and Spec implement.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mrmps/classifier-dev

  1. Sorts many texts into your own labels in one call, with a confidence per answer

    • Open source
    • 440 GitHub stars
    • Developer tools
  2. Lets a browser or desktop agent pick its next action from on-screen elements

    • Open source
    • 440 GitHub stars
    • Browser automation
  3. Gates user posts against a written content policy using per-category scores

    • Open source
    • 440 GitHub stars
    • Security
  4. Sorts each page of a multi-document intake packet by type before extraction

    • Open source
    • 440 GitHub stars
    • Files and documents
  5. Sorts a downloads folder into invoice, receipt and contract folders with an undo log

    • Open source
    • 440 GitHub stars
    • Files and documents