autoframe: Skill for Claude Code

.claude/skills/review-spec/SKILL.md

review-spec is a skill for Claude Code from kint4/autoframe. It costs 39 tokens per session (425 once invoked), scanned A, original, MIT.

A quality review of a test specification, which describes the checks software should pass.

In plain words
What is it for?
Reviewing assertions, positive and negative cases, edge cases, test structure, and test isolation, then giving concrete fixes.
Why use it?
It finds weak checks, missing scenarios, and tests that focus on internal code instead of user-visible behaviour.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is kint4/autoframe's own configuration. It tells Claude Code how to work on autoframe itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything autoframe configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kint4/autoframe. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kint4/autoframe/main/.claude/skills/review-spec/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kint4/autoframe

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/kint4/autoframe/review-spec/github.svg)](https://agentmods.dev/skills/kint4/autoframe/review-spec)
Your own site
<a href="https://agentmods.dev/skills/kint4/autoframe/review-spec"><img src="https://agentmods.dev/badge/skills/kint4/autoframe/review-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/kint4/autoframe/review-spec"><img src="https://agentmods.dev/badge/skills/kint4/autoframe/review-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 425 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00425
Opus 5.5 $0.00016 $0.00170
Sonnet 5.5 $0.00008 $0.00085
Haiku 4.5 $0.00004 $0.00042

Measured 2mo ago against content hash c7aef2811979, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-spec scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/review-spec/SKILL.md · 44 lines

What it actually says

/review-spec — Review a Spec from a QA Perspective

Type: Quality Description: Reviews a spec file from a QA perspective, flagging weak assertions, missing coverage, and implementation-focused tests. Built for Persona 2 and 3.


Input Format

  • A path to a spec file (or a pasted spec)

Output Format

A structured review:

  • Strengths — what the spec does well
  • Findings — each issue with severity (blocker / major / minor), location, and a concrete fix
  • Missing coverage — scenarios not yet tested (negative / edge)
  • Verdict — ship / revise

Step-by-Step Instructions

  1. Read the spec and its Page Object(s).
  2. Read the spec conventions in CLAUDE.md.
  3. Evaluate against QA quality criteria:
    • Assertion strength: Are assertions meaningful, or just toBeVisible() everywhere? Do they verify the actual outcome?
    • Behavior vs implementation: Does it test what the user experiences, or internal/DOM details? (Common Persona 3 mistake.)
    • Coverage: Are Happy Path, Negative, and Edge cases all present and non-trivial?
    • Structure: AAA comments, plain-language names, fixture usage, no logic in describe.
    • Isolation: No order dependencies or shared mutable state.
  4. List findings with severity, exact location, and a concrete fix each.
  5. Call out missing scenarios explicitly and suggest /new-spec or /tc-to-spec to fill them.
  6. Give a clear verdict.

Rules

  • Be specific — cite line locations and propose concrete fixes.
  • Favor behavior-focused assertions over implementation checks.
  • Do not rewrite the whole file unless asked; this skill reviews. Offer /refactor for big rewrites.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 44 lines · 0 tokens per session scan A c7aef2811979

Subscribe to this mod's changes

review-spec is a skill published in the GitHub repository kint4/autoframe (8 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 425 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.