doc-bdd-autopilot

doc-bdd-autopilot is a skill for Claude Code from vladm3105/aidoc-flow-framework. It costs 53 tokens per session (2,214 once invoked), scanned A, original, MIT.

An automated tool for creating behavior-driven development (BDD) test scenarios from requirements, prompts, or implementation plans. BDD describes expected behavior as Given-When-Then examples.

In plain words
What is it for?
Use it to generate or batch-create BDD suites, validate them, and apply fixes until they meet the defined quality check.
Why use it?
It reduces the manual work of turning requirements into structured, checked test cases.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aidoc-flow plugin — 52 skills, 12 commands, 11 agents, 1 hook shipped together

Good fit Use it to generate or batch-create BDD suites, validate them, and apply fixes until they meet the defined quality check.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add vladm3105/aidoc-flow-framework
Claude Code
/plugin install aidoc-flow

Made for: Claude Code.

Or install aidoc-flow, the plugin that ships this one along with the rest of its 52 skills, 12 commands, 11 agents, 1 hook.

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 doc-bdd-autopilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/vladm3105/aidoc-flow-framework/doc-bdd-autopilot/github.svg)](https://agentmods.dev/skills/vladm3105/aidoc-flow-framework/doc-bdd-autopilot)
Your own site
<a href="https://agentmods.dev/skills/vladm3105/aidoc-flow-framework/doc-bdd-autopilot"><img src="https://agentmods.dev/badge/skills/vladm3105/aidoc-flow-framework/doc-bdd-autopilot/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 doc-bdd-autopilot

Your own site · 80×15
<a href="https://agentmods.dev/skills/vladm3105/aidoc-flow-framework/doc-bdd-autopilot"><img src="https://agentmods.dev/badge/skills/vladm3105/aidoc-flow-framework/doc-bdd-autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,214 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.00053 $0.02214
Opus 5 $0.00026 $0.01107
Sonnet 5 $0.00011 $0.00443
Haiku 4.5 $0.00005 $0.00221

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

Security

Grade A, and why

doc-bdd-autopilot 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 4d 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.

archive/platforms/claude-code-plugin/skills/doc-bdd-autopilot/SKILL.md · 185 lines

How it starts

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

doc-bdd-autopilot

Purpose

Automated BDD generation pipeline. From upstream EARS (docs/03_EARS/), a user prompt, or an implementation plan (IPLAN-*), it analyzes the source, generates a complete BDD suite of Given-When-Then scenarios, validates readiness, maintains BDD-00_index.md, and drives the audit↔fix cycle to a passing ADR-Ready score — for one BDD or a batch.

Layer: 4. Upstream: EARS (with BRD/PRD trace) / prompt / IPLAN input. Downstream: a validated BDD + index entry.

Skill Dependencies

Skill Role
../doc-bdd/SKILL.md BDD structure, YAML scenario schema, and authoring rules (generation)
../doc-bdd-audit/SKILL.md quality gate (ADR-Ready scoring + findings)
../doc-bdd-fixer/SKILL.md applies fixes from the audit report
../doc-naming/SKILL.md element-ID standards

Input Contract

Accepts: a target BDD id/path; an upstream EARS id/path; a free-text prompt; or an IPLAN path. Optional: score threshold (default 90), max fix iterations (default 3), batch list. With no explicit input, treat the request as a prompt.

Smart Document Detection

For each target, check whether the BDD already exists (nested folder docs/04_BDD/BDD-NN_{slug}/):

  • Missinggenerate mode (from EARS / prompt / IPLAN).
  • Existsreview & fix mode (audit, then fix if below threshold).

Determine deliverable_type (code/document/ux/risk/process) from the inherited PRD/BRD chain. Verify the upstream EARS exists before generating.

Model precheck

Advisory, best-effort. Surfaces the model you recommended for this layer; it cannot switch the session model. Before invoking the driver:

  1. If .claude/aidoc-flow.config.yaml is absent, or has no model.* keys, skip this section entirely (no output).
  2. Resolve the recommended model: model.per_layer.BDD if set, else model.default.
  3. Act on model.precheck (warn | silent | block):
    • warn (default) — print one line, then continue to the driver: ℹ BDD recommends model '<rec>'. If you're not on it, run /model <rec> (or set model.precheck: silent to hide this).
    • silent — print nothing; continue.
    • block — print the line above plus precheck=block: confirm you want to draft on the current model, or run /model <rec> first., then wait for the user to confirm before continuing.

Read the full file on GitHub · 185 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. 4d ago Changed bd27345da068
  2. 5d ago Changed 3d47bbe311a7
  3. 8d ago First seen · 185 lines · 53 tokens per session scan A 2f4bef2dd6a2

Subscribe to this mod's changes

doc-bdd-autopilot is a skill published in the GitHub repository vladm3105/aidoc-flow-framework (17 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 2,214 once invoked, about $0.0003 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-31.