bdd

bdd is a skill for Claude Code, Codex from CassioRoos/godfly-skills. It costs 84 tokens per session (685 once invoked), scanned A, original, MIT.

A behaviour-driven development workflow for turning a story into agreed rules, examples, and testable scenarios. BDD is a way to define expected behaviour from concrete examples; Gherkin is a structured format often used to write those scenarios.

In plain words
What is it for?
Use it to map rules and examples, write Given-When-Then scenarios, and decide what counts as done for a story.
Why use it?
It exposes unclear acceptance criteria before implementation and avoids inventing outcomes that nobody has agreed on.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to map rules and examples, write Given-When-Then scenarios, and decide what counts as done for a story.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cassioroos/godfly-skills/bdd
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.

Any agent
npx skills add CassioRoos/godfly-skills --skill bdd
Clone the repo
git clone --depth 1 https://github.com/CassioRoos/godfly-skills

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 bdd

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cassioroos/godfly-skills/bdd"><img src="https://agentmods.dev/badge/skills/cassioroos/godfly-skills/bdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 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.00084 $0.00685
Opus 5.5 $0.00034 $0.00274
Sonnet 5.5 $0.00017 $0.00137
Haiku 4.5 $0.00008 $0.00068

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

Security

Grade A, and why

bdd 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 14d 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/bdd/SKILL.md · 57 lines

How it starts

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

BDD

Three practices, in this order: discover, write, automate. Conversation beats capture beats automation. Gherkin is the output of step two, never the method.

Discover first

  • Map the story before writing a single scenario: rules (the acceptance criteria), one or more concrete examples under each rule, and questions nobody can answer yet.
  • Stop and ask when a rule has no example or an example has no agreed outcome. Never invent the outcome.
  • More than six rules, or a wall of questions, means the story is too big. Split it along business lines, never technical ones.
  • Skip scenarios for work everyone already understands. For highly uncertain work, spike first, write scenarios once the uncertainty is gone.

Write

  • One Feature per file, one Rule: per acceptance criterion, one scenario per example. Titles differ enough to tell scenarios apart by title alone.
  • Given, When, Then, in that order, once each. One When: a single event. Givens are all of, and no more than, the context the outcome needs.
  • Then is an outcome a reader can check from the text. Never internal state, never "it works".
  • Declarative, in domain language. If the wording would change when the UI changes, it is wrong. No clicks, selectors, URLs, SQL, endpoints.
  • Real values: "7 days late", "paused at 08:57". No foo, bar, test, TBD.
  • Third person, present tense, one stable term per concept across the whole file.
  • Three to five steps. Background under four lines, only for setup every scenario shares. Scenario Outline only when the behaviour varies by input.
  • At least one failure path. When the repo has a convention for tracing scenarios to acceptance criteria or tagging failure paths, follow it.

Review

  • Check the rules above, then ask of each scenario: is it a concrete domain example or a tautology? Could a different outcome follow from the same givens? Would a product owner read it and object to a term?
  • Report each finding as one sentence naming the problem, one on why it matters if needed, and the smallest fix. Say nothing when unsure.

Read the full file on GitHub · 57 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. 14d ago First seen · 57 lines · 84 tokens per session scan A 2d35dc1fb295

Subscribe to this mod's changes

bdd is a skill published in the GitHub repository CassioRoos/godfly-skills (1 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 685 once invoked, about $0.0003 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-10-24.

Related

bdd compared with skills from other repositories

bdd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bddCassioRoos/godfly-skillsSkill1yesterdayMITA84Claude Code, Codex
auto-test-codehuangwb8/skillsSkill506d agoMITA56Claude Code, Codex
git-pr-reviewhuangwb8/skillsSkill506d agoMITA76Claude Code, Codex
challenge-resolveBorda/AI-RigSkill31yesterdayApache-2.0A74Claude Code, Codex
code-reviewBorda/AI-RigSkill31yesterdayApache-2.0A41Claude Code, Codex
assessBorda/AI-RigSkill31yesterdayApache-2.0A19Claude Code, Codex
code-remediateBorda/AI-RigSkill31yesterdayApache-2.0A39Claude Code, Codex