bdd

bdd is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 96 tokens per session (1,484 once invoked), scanned A, original, MIT.

A behavior-driven development workflow that turns existing feature files into tests and product-code changes. BDD describes expected behavior in examples, while TDD means writing a failing test, making it pass, and then improving the code.

In plain words
What is it for?
Use it to implement one specified feature or part of a feature through red, green, or refactor work, including step definitions, tests, and product code.
Why use it?
It keeps implementation tied to an already agreed interface and its examples instead of inventing new requirements during coding. It stops when the feature description has a significant gap.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to implement one specified feature or part of a feature through red, green, or refactor work, including step definitions, tests, and product code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/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 YuDefine/nuxt-supabase-starter --skill bdd
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

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/yudefine/nuxt-supabase-starter/bdd/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/bdd)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/bdd"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/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/yudefine/nuxt-supabase-starter/bdd"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/bdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,484 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.00096 $0.01484
Opus 5 $0.00048 $0.00742
Sonnet 5 $0.00019 $0.00297
Haiku 4.5 $0.00010 $0.00148

Measured today against content hash e57e9e7bca6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 today.

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.

template/.claude/skills/bdd/SKILL.md · 54 lines

How it starts

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

BDD

/dsl-refine 已交付的介面 feature filesdsl.md,轉成可執行的 step definitions、測試實作與產品碼變更:

  • feature filedsl.md 是本 skill 的上游單一溯源。
  • /bdd 只在使用者指定的單一介面 feature file 或其明確區塊內推進工作。
  • /bddredgreenrefactor 三個入口;每次只進入其中一個入口。
  • 同一次 invocation 可以在指定範疇內 sequentially 推進多個 slices,但同一時刻只處理一個 slice。
  • /bdd 是由 /implement 的單一 task 委派,必須服從該 task 的單一 slice、單一 requested step 與當前 scope,不能順手吞掉後續 task。
  • 若發現 feature filedsl.md 有高影響缺口,必須停止並回交 /dsl-refine 或使用者指定的上游流程。

SOP

Phase 1 -- 對齊上游交付、測試入口與本輪範疇

  1. READ 讀取使用者需求、指定的介面 feature file 或其明確區塊、同模組 dsl.md、該 feature 實際使用的介面根共用 dsl.md rows、相關測試程式與產品碼,確認本輪入口是 redgreenrefactor,以及使用者圈定的範疇;若由 /implement 委派,額外確認當前 task 只授權單一 slice 與單一 requested step
  2. READ 若需要確認模組化 truth 的承接方式或專案既有 symlink 策略,讀取 rules/模組化Truth按需承接與Symlink判準.md
  3. READ 若需要確認本 skill 可承接的上游交付物、何時必須停止,或何種缺口應回交上游,讀取 rules/上游交付承接與回交判準.md
  4. THINK 若本輪範疇、已載入 DSL、介面邊界或上游交付物仍有高影響缺口,先收斂最小必要澄清點。
  5. DELEGATE 若仍有會改變 slice 邊界、驗收結果或 DSL 承接方式的高影響缺口,呼叫 /clarify 並停止受影響範圍;若缺口來自 feature file 或任一層 DSL 本身,改為回交 /dsl-refine 或使用者指定的上游流程,不自行補寫規格。
  6. READ 若需要確認 focused rerun、Given 建態入口、既有 helper / fixture / abstraction 是否可沿用,讀取 rules/專案測試入口與既有抽象盤點判準.md
  7. THINK 依本次已載入資訊與規則,收斂本輪可推進的範疇、最窄測試入口與候選 slices。

Phase 2 -- 啟動指定入口與選定推進順序

  1. THINK 若需要判斷指定範疇內應先推進哪個 slice、何時可繼續下一個 slice、Scenario Outline 應如何維持可驗證粒度,或何時算完成當前 slice,先讀取 rules/範疇內slice選取與推進順序判準.md,再依使用者指定入口與本輪範疇選出下一個可推進的 slice。
  2. READ 若本輪入口是 red,讀取 rules/red-失敗訊號建立判準.md
  3. READ 若本輪入口是 green,讀取 rules/green-最小補碼轉綠判準.md
  4. READ 若本輪入口是 refactor,讀取 rules/refactor-綠燈保護重構判準.md
  5. THINK 依已載入規則,收斂本輪在該入口下要逐一推進的 slice 順序、停止條件與預計觸及的測試或實作落點。

Phase 3 -- 在指定範疇內推進 slices

  1. WRITE 依指定入口先處理當前 slice:red 先建立有效失敗訊號,green 只補目前 failure 所需的最小程式,refactor 只在綠燈保護下整理既有結構。
  2. DELEGATE 執行對應的 focused tests 或最小代表性測試集合,觀察失敗或通過訊號並持續修正當前 slice,直到達成該入口的完成條件。
  3. THINK 若當前 slice 完成後,本輪範疇內仍有下一個可在相同入口繼續推進的 slice,且未觸發 stop 條件,回到本 phase 的 step 1;若需要改動上游規格、跨出指定範疇或失去 focused 回饋,停止本 phase 並整理阻塞原因。

Read the full file on GitHub · 54 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. today Changed · -1 lines e57e9e7bca6d
  2. yesterday First seen · 55 lines · 96 tokens per session scan A a0c48f742aa1

Subscribe to this mod's changes

bdd is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 1,484 once invoked, about $0.0005 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-10.

Related

Other skills, from other repositories

prd-v07-implementation-loop

Execute implementation within EPICs following test-first development, continuous SoT updates, and code traceability during PRD v0.7 Build Execution. Triggers on requests to start building, implement an epic, begin coding, or when user asks "start building", "implement epic", "coding", "development", "build execution"…

mattgierhart/PRD-driven-context-engineering · 113 tokens

prd-v07-test-planning

Define test cases BEFORE implementation, ensuring every API, business rule, and user journey has verifiable acceptance criteria during PRD v0.7 Build Execution. Triggers on requests to define tests, plan test coverage, create test cases, or when user asks "define tests", "test planning", "what to test?", "test cases"…

mattgierhart/PRD-driven-context-engineering · 125 tokens

python

Python development with ruff, mypy, pytest - TDD and type safety.

alinaqi/maggy · 18 tokens

conductor-implement

Execute tasks from a track's implementation plan following TDD workflow.

rmyndharis/antigravity-skills · 17 tokens

etl-stabilization

Phase-based orchestrator for fixing SnowConvert ETL conversion gaps in ETL-to-Snowflake migrations (SSIS, Informatica, and other platforms). Analyzes units holistically, creates a ROADMAP with test strategies, and executes fixes through phased TDD with cross-phase learning. Use when user says "fix ETL unit", "fix SSIS…

sfc-gh-dflippo/snowflake-dbt-demo · 154 tokens

python-testing-patterns

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

RudyCity/superagent · 38 tokens