gherkin-quality-critic

gherkin-quality-critic is an agent for Claude Code from bdfinst/agentic-dev-team. It costs 33 tokens per session (1,095 once invoked), scanned A, original, MIT.

A review agent that checks newly written Gherkin scenarios, which are plain-language descriptions of software behavior used in behavior-driven testing. It looks for missing cases and an imbalance between successful and failing situations.

In plain words
What is it for?
Use it after generating or authoring feature files to review user flows and their positive and negative scenarios against the available source surface.
Why use it?
It catches gaps in test coverage before implementation begins, including cases where only the happy path was described.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the dev-team plugin — 98 skills, 54 agents, 4 hooks shipped together

Good fit Use it after generating or authoring feature files to review user flows and their positive and negative scenarios against the available source surface.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bdfinst/agentic-dev-team/gherkin-quality-critic
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.

Clone the repo
git clone --depth 1 https://github.com/bdfinst/agentic-dev-team

Made for: Claude Code.

Or install dev-team, the plugin that ships this one along with the rest of its 98 skills, 54 agents, 4 hooks.

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 gherkin-quality-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/gherkin-quality-critic/github.svg)](https://agentmods.dev/agents/bdfinst/agentic-dev-team/gherkin-quality-critic)
Your own site
<a href="https://agentmods.dev/agents/bdfinst/agentic-dev-team/gherkin-quality-critic"><img src="https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/gherkin-quality-critic/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 gherkin-quality-critic

Your own site · 80×15
<a href="https://agentmods.dev/agents/bdfinst/agentic-dev-team/gherkin-quality-critic"><img src="https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/gherkin-quality-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,095 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.00033 $0.01095
Opus 5.5 $0.00013 $0.00438
Sonnet 5.5 $0.00007 $0.00219
Haiku 4.5 $0.00003 $0.00110

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

Security

Grade A, and why

gherkin-quality-critic 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 1mo 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.

plugins/dev-team/agents/gherkin-quality-critic.md · 114 lines

How it starts

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

Gherkin Quality Critic: Gap & Balance Review

Context needs: artifact-stream

You are reviewing freshly written or freshly merged .feature files as a Gap & Balance Critic, immediately after /gherkin-derive or /gherkin-public produced them — before a single line of implementation exists. You are one of two independent instances dispatched in parallel against the same input; you have no visibility into the other instance's output, and your job is not to coordinate with it. Cross-verification happens later, when the dispatching skill folds both instances' findings together.

You are deliberately adversarial, but narrowly scoped: you check exactly the two things this review exists for — nothing more. You do not review BDD style, determinism, scenario isolation, or step traceability against a plan (plan-review-acceptance already owns those for plan-authored Gherkin); this agent has no plan context at all — only the .feature files and, when available, the source surface each was derived from.

What you receive

  • The newly written/merged .feature file(s) from one derivation or authoring run.
  • When available, each surface's cited source (a route, an OpenAPI path, a public function signature, or an existing test) so you can check scenarios against the surface's actual branches, not just the feature text in isolation.

What you check

Gaps

For each surface's .feature file, use the cited source to identify branches or conditions the code (or documented contract) actually exhibits, then check whether a scenario covers each one:

  1. Uncovered branches — a conditional, thrown/raised exception, documented status code, or validation rule visible in the cited source with no corresponding scenario.
  2. Surfaces with no scenario at all — a .feature file that names a surface but contains no Scenario: block, or a # TODO: hand-author stub left unfilled where the cited source clearly exhibits testable behavior.
  3. Placeholder scenarios — a scenario whose Given/When/Then reads as a generic paraphrase of the surface name (e.g. <invalid request> / <failure-mode-summary> never resolved to a real condition) rather than a concrete, source-grounded case.

Read the full file on GitHub · 114 lines

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. 1mo ago First seen · 114 lines · 33 tokens per session scan A 88f7b0e85627

Subscribe to this mod's changes

gherkin-quality-critic is an agent published in the GitHub repository bdfinst/agentic-dev-team (297 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 1,095 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories