bdd-assistant

bdd-assistant is a skill for Claude Code, Codex from ValorVie/custom-skills. It costs 76 tokens per session (2,246 once invoked), scanned A, original, MIT.

A guide to Behavior-Driven Development, or BDD, a way to describe software behavior with examples in plain language before building it. It uses Given-When-Then scenarios and Gherkin, a structured format for those examples.

In plain words
What is it for?
Use it to run discovery sessions, write feature files and scenarios, create reusable step definitions, and connect BDD with test-driven development.
Why use it?
It helps teams agree on expected behavior and edge cases before implementation, while keeping examples that can serve as living documentation.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Language**: English | [繁體中文](../../../locales/zh-TW/skills/claude-code/bdd-assistant/SKILL.md).

Good fit Use it to run discovery sessions, write feature files and scenarios, create reusable step definitions, and connect BDD with test-driven development.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ValorVie/custom-skills
agentmods
npx agentmods add skills/valorvie/custom-skills/bdd-assistant

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-assistant

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/valorvie/custom-skills/bdd-assistant"><img src="https://agentmods.dev/badge/skills/valorvie/custom-skills/bdd-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,246 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.00076 $0.02246
Opus 5 $0.00038 $0.01123
Sonnet 5 $0.00015 $0.00449
Haiku 4.5 $0.00008 $0.00225

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

Security

Grade A, and why

bdd-assistant 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 7d 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.

upstream/uds/backup/skills/bdd-assistant/SKILL.md · 321 lines

How it starts

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

BDD Assistant

Language: English | 繁體中文

Version: 1.0.0 Last Updated: 2026-01-19 Applicability: Claude Code Skills


Purpose

This skill guides developers through the Behavior-Driven Development workflow, helping them:

  • Conduct Discovery sessions to explore requirements
  • Write effective Gherkin scenarios in Given-When-Then format
  • Create reusable step definitions
  • Integrate BDD with TDD for implementation
  • Maintain living documentation

Quick Reference

BDD Workflow Checklist

┌─────────────────────────────────────────────────────────────────┐
│  🔍 DISCOVERY Phase                                              │
│  □ Stakeholders identified (Business, Dev, QA)                  │
│  □ User story discussed and understood                          │
│  □ Concrete examples collected (Example Mapping)                │
│  □ Edge cases identified                                        │
│  □ Questions answered or noted for follow-up                    │
├─────────────────────────────────────────────────────────────────┤
│  📝 FORMULATION Phase                                            │
│  □ Scenarios use correct Gherkin syntax                         │
│  □ Scenarios are declarative (WHAT, not HOW)                    │
│  □ Business language used (no technical jargon)                 │
│  □ Each scenario is independent and self-contained              │
│  □ Scenarios have 5-10 steps maximum                            │
│  □ Scenarios reviewed by stakeholders                           │
├─────────────────────────────────────────────────────────────────┤
│  ⚙️ AUTOMATION Phase                                             │
│  □ Step definitions created for all steps                       │
│  □ Step definitions are reusable                                │
│  □ Scenarios fail initially (RED)                               │
│  □ TDD used for unit-level implementations                      │
│  □ All scenarios pass (GREEN)                                   │
│  □ Code refactored and clean                                    │
└─────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 321 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. 7d ago First seen · 321 lines · 76 tokens per session scan A 0f769e00444e

Subscribe to this mod's changes

bdd-assistant is a skill published in the GitHub repository ValorVie/custom-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 2,246 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

implement

Implement a technical design by decomposing it into dependency-ordered vertical slices, executing each with TDD red-green, reviewing each via an isolated sub-agent, and persisting progress to a state file so work survives session restarts. Use when the user has a tech design (doc or settled conversation) and says…

open-octo/octo-agent · 97 tokens

tdd

A Test-Driven Development guide. TDD means writing a failing test first, adding the smallest implementation that passes it, and then improving the code while keeping the tests passing.

Insajin/autopus-adk · 11 tokens

debugging

A structured method for finding and fixing software bugs. It starts by writing a test that reproduces the failure, then investigates its underlying cause before making a small fix.

Insajin/autopus-adk · 16 tokens

atomic-tdd

Test-first discipline. Auto-triggers on "let's implement X", "add feature Y", "fix bug Z", "write a test for", "implement", "build out", and similar pre-code-change phrases. Iron rule: failing test exists before production code. Skip only for pure docs/config changes with an explicit "skipped because:" note. Explicit…

damusix/atomic-claude · 142 tokens

ralphctl-test-driven-development

Execute-phase skill — write the failing test before the code that makes it pass; for bug fixes, this is the reproduction test itself. Use for any logic change, bug fix, or behavioural modification; for the full root-cause triage pipeline around an unexpected failure, see ralphctl-debugging-and-error-recovery.

lukas-grigis/ralphctl · 72 tokens

armada-tdd

Test-driven development for armada workers. Use before writing any implementation. Triggers on: TDD, failing test, test first, write a test.

rafmacalaba/armada · 36 tokens