specflow-audit

specflow-audit is a skill for Claude Code, Codex from Hulupeep/Specflow. It costs 199 tokens per session (1,467 once invoked), scanned A, original, MIT.

An auditor and editor for Specflow stories and tickets. It compares a story with the required template, adds missing contract sections, and runs a final gate before the ticket can be treated as ready.

In plain words
What is it for?
Use it on a GitHub issue, a `docs/specs/*.md` file, or pasted specification text. It can add details such as database rules, TypeScript interfaces, error codes, Gherkin scenarios, acceptance criteria, and test selectors.
Why use it?
It prevents incomplete tickets from reaching implementation with important behavior or constraints left undefined. It also explains which sections are missing and handles sections that are legitimately not applicable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hulupeep/specflow/specflow-audit
Any agent
npx skills add Hulupeep/Specflow --skill specflow-audit
Clone the repo
git clone --depth 1 https://github.com/Hulupeep/Specflow

Made for: Claude Code, Codex.

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 specflow-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/hulupeep/specflow/specflow-audit.svg)](https://agentmods.dev/skills/hulupeep/specflow/specflow-audit)
Your own site
<a href="https://agentmods.dev/skills/hulupeep/specflow/specflow-audit"><img src="https://agentmods.dev/badge/skills/hulupeep/specflow/specflow-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00199 $0.01467
Opus 5 $0.00100 $0.00733
Sonnet 5 $0.00040 $0.00293
Haiku 4.5 $0.00020 $0.00147

Measured 6d ago against content hash c12737fb37f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

specflow-audit 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 6d 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.

skills/specflow-audit/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Specflow Audit & Uplift

Take a partially-compliant Specflow story (some sections present, others missing) and bring it to compliance through a fixed three-phase process. The quality comes from the process, not improvisation — never freelance the uplift inline.

When to run

Trigger on: "make specflow compliant", "specflow audit", "uplift this story / ticket", "run specflow auditor", "is this story compliant", or /specflow-audit <file-or-issue>.

Do NOT trigger on generic "make this PR/code compliant" that has nothing to do with Specflow specs.

The target is a story/ticket — a GitHub issue body, a docs/specs/*.md file, or pasted spec text. Not source code.

The non-negotiable process

Run these three phases in order. Do not skip phase 3.

Phase 1 — Gap analysis (board-auditor)

Read the target and diff it against the full Specflow template. Produce an explicit list of which sections are PRESENT and which are MISSING. The template sections are in references/uplift-process.md. Identify the ticket type (feature / bug / journey) — bug tickets legitimately N/A some sections; record the justification.

Phase 2 — Surgical uplift (specflow-uplifter)

Add only the missing sections — never rewrite or duplicate existing content. Generate executable artifacts, not prose:

  • Data Contract: copy-pasteable CREATE TABLE / CREATE FUNCTION / RLS CREATE POLICY (use the join-through RLS pattern for tables without a direct org/owner column).
  • Frontend Interface: typed TypeScript hook/interface signatures matching project conventions.
  • Invariants Referenced: I-<DOMAIN>-NNN codes; reuse existing codes, take the next free number for new ones — never invent a code that already exists.
  • Gherkin Scenarios, Acceptance Criteria (behaviour-only checkboxes, including negative paths), Definition of Done, and data-testid coverage.

Section templates and the RLS/invariant patterns are in references/uplift-process.md. Post the additions as one clearly-labelled uplift comment (GitHub) or appended block (file) — supplementing, not replacing.

Read the full file on GitHub · 70 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 70 lines · 199 tokens per session scan A c12737fb37f4

Subscribe to this mod's changes

specflow-audit is a skill published in the GitHub repository Hulupeep/Specflow (25 stars, last pushed 1mo ago), licensed MIT. It adds 199 tokens to every session and 1,467 once invoked, about $0.0010 per session on Opus 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-30.