cucumber-acceptance

cucumber-acceptance is a skill for Claude Code from msbaek/msbaek-claude-plugins. It costs 109 tokens per session (5,166 once invoked), scanned A, original, MIT.

A Cucumber acceptance-testing setup turns Gherkin scenarios into executable tests of a feature's external behavior. Cucumber is a tool that runs plain-language scenarios against the application.

In plain words
What is it for?
Use it to introduce acceptance tests, make Gherkin scenarios executable, or move existing JUnit acceptance tests to Cucumber.
Why use it?
It keeps written requirements and tested behavior connected, helping reveal when the documentation and code drift apart. It also organizes tests into steps, a driver, and the system under test.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

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 msbaek-tdd plugin — 28 skills, 10 agents, 2 hooks shipped together

Good fit Use it to introduce acceptance tests, make Gherkin scenarios executable, or move existing JUnit acceptance tests to Cucumber.

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 msbaek/msbaek-claude-plugins
Claude Code
/plugin install msbaek-tdd

Made for: Claude Code.

Or install msbaek-tdd, the plugin that ships this one along with the rest of its 28 skills, 10 agents, 2 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 cucumber-acceptance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/cucumber-acceptance"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/cucumber-acceptance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00109 $0.05166
Opus 5.5 $0.00044 $0.02066
Sonnet 5.5 $0.00022 $0.01033
Haiku 4.5 $0.00011 $0.00517

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

Security

Grade A, and why

cucumber-acceptance scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST localhost:8080/checkout/ddp -H 'Content-Type: application/json' \
msbaek-tdd/skills/cucumber-acceptance/SKILL.md · 327 lines

How it starts

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

Cucumber Acceptance — 실행 가능한 명세를 주 검증층으로

GOAL

  • 성공 = 요구사항의 Gherkin 시나리오가 .feature 파일로 실행되어, 기대 수치가 코드와 어긋나면 빌드가 실패하는 상태
  • 기능의 external behavior(고객이 사용하는 것과 기능)를 Cucumber가 주 검증층으로 담당 — programmer test 역할까지 겸한다
  • 더 세밀한 검증(분기 커버리지·내부 협력)은 JUnit·Mockito가 보조
  • 문서와 코드의 기대값 드리프트가 구조적으로 불가능해짐 — .feature의 Examples 표(검산 전개의 복사본)가 코드와 어긋나면 조용히 남지 못하고 빌드가 실패한다

CONSTRAINTS

Hard Rules — 테스트 전략 위계

검증 대상 도구 근거
external behavior (고객이 쓰는 것과 기능) Cucumber .feature (주 검증층) 비개발자(+AI) 독자가 리뷰하는 실행 계약
세밀한 분기 (null/blank/미매핑 등 커버리지) JUnit·Mockito (보조) Gherkin에 넣으면 가독성 저하
property-based ("모든 입력에 대해 성립") jqwik 등 Gherkin은 형식 자체가 example-based
문제 도메인의 언어가 코드인 경우 (직렬화·동시성·성능) 각자의 도구 "외부 사용자 관점의 도메인 언어"가 성립 안 함
  • Gherkin에는 핵심 예시(key examples)만 — 망라적 edge를 시나리오로 나열하면 시나리오 폭발(Specification by Example의 규율). 커버리지용 분기는 unit test로.
  • Protocol Driver 분리 (Dave Farley Four Layer SoC): Steps(글루)는 파싱·위임만, SUT와의 실제 상호작용은 Driver에 격리. step definition에 SUT 호출·HTTP·UI 코드를 직접 넣지 않는다.
  • 주 검증층은 빨라야 한다: in-process driver 우선. Cucumber가 programmer test 역할을 겸하려면 이 전제가 필수다. 채널이 바뀌어도(HTTP·UI) Steps는 불변, Driver만 교체.
  • 실행 불가능한 시나리오는 삭제하지 말고 태그로 제외 — 문서 가치는 남기고 실행만 빼는 가역적 처리.
  • 숫자의 정본 관계를 문서에 선언: 검산 근거(왜 이 값인가)는 스펙 문서, .feature는 그 수치를 실행으로 강제하는 인수 게이트.

적용 패턴

도입 시점 — 두 가지

시점 방식 적합
acceptance-first (기본) 위임 prompt로 전달받은 승인된 Gherkin 전문(tdd-plan 리뷰 승인 직후), 또는 기존 .feature를 .feature + Runner로 셋업. 미구현 시나리오는 @pending으로 두고, RGB가 진행되며 하나씩 태그 해제·green — 태그 해제는 그 시나리오를 통과시킨 Green 단계가 같은 커밋에서 수행한다 tdd-plan 절차를 거친 모든 신규 기능 — 외부 인수 루프 + 내부 TDD 루프의 이중 루프(Dave Farley)
구현 후 이관 (기존 프로젝트) 기존 JUnit 인수 테스트를 .feature로 이관 — 아래 "기존 JUnit 인수 테스트 이관" 절차 이미 구현·테스트가 있는 프로젝트에 tdd-plan 없이 기능을 추가하는 경우

구조 — Four Layer 축소형

.feature (Test Case — 문제 도메인 언어)
   ↓
Steps (DSL/글루 — 텍스트 파싱 + Driver 위임만)
   ↓
Protocol Driver (SUT 상호작용 격리 — in-process/HTTP/UI 중 택일)
   ↓
SUT

Read the full file on GitHub · 327 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. 2mo ago Changed · +46 lines 34619f7a1db5
  2. 2mo ago Changed 7107aac10ce1
  3. 2mo ago Changed 47400a218129
  4. 3mo ago Changed · +1 lines bfc2307dfe0c
  5. 3mo ago First seen · 280 lines · 109 tokens per session scan A d5108df76eb3

Subscribe to this mod's changes

cucumber-acceptance is a skill published in the GitHub repository msbaek/msbaek-claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 109 tokens to every session and 5,166 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

cucumber-acceptance compared with skills from other repositories

cucumber-acceptance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cucumber-acceptancemsbaek/msbaek-claude-pluginsSkill81mo agoMITA109Claude Code
eval-dataset-designbojieli/ai-agent-bookSkill61ktodayApache-2.0A138Claude Code, Codex
create-verification-skillYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA45Claude Code
verify-omnigentomnigent-ai/omnigentSkill12ktodayApache-2.0A100Claude Code, Codex
test-masterJeffallan/claude-skillsSkill13ktodayMITA104Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
cua-driverdavidondrej/skillsSkill4.4ktodayMITA68Claude Code, Codex