# Spec conformance check

> Spec conformance check is an open-source agent skill for developer tools. Checks an artifact against a spec one requirement at a time, with confidence-gated results. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mrmps/classifier-dev/tree/main/skills/spec-conformance-check
- **Repository:** https://github.com/mrmps/classifier-dev
- **GitHub stars:** 440
- **License:** MIT
- **Skill name:** spec-conformance-check
- **Collection:** https://github.com/mrmps/classifier-dev
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/spec-conformance-check)
- [License: MIT](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/spec-conformance-check)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-addyosmani): Spec driven development is an open-source agent skill for developer tools.
- [Spec](https://ai-powered.com/skills/spec-jasgujral): Spec is an open-source agent skill for developer tools.
- [Spec finish](https://ai-powered.com/skills/spec-finish): Spec finish is an open-source agent skill for developer tools.
- [Spec driven development](https://ai-powered.com/skills/spec-driven-development-ajyadav013-2): Spec driven development is an open-source agent skill for developer tools.
- [Spec implement](https://ai-powered.com/skills/spec-implement): Spec implement is an open-source agent skill for developer tools.
- [Spec from requirements](https://ai-powered.com/skills/spec-from-requirements): Spec from requirements is an open-source agent skill for developer tools.
- [Spec driven dev](https://ai-powered.com/skills/spec-driven-dev): Spec driven dev is an open-source agent skill for developer tools.
- [Writing specs](https://ai-powered.com/skills/writing-specs): Writing specs is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-conformance-check
