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.
/plugin marketplace add msbaek/msbaek-claude-plugins/plugin install msbaek-tddWrote 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.
[](https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/cucumber-acceptance)<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.
<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>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.
| Model | Per session | Once 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 |
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' \ 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
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.
- 2mo ago Changed · +46 lines 34619f7a1db5
- 2mo ago Changed 7107aac10ce1
- 2mo ago Changed 47400a218129
- 3mo ago Changed · +1 lines bfc2307dfe0c
- 3mo ago First seen · 280 lines · 109 tokens per session scan A d5108df76eb3
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.
cucumber-acceptance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cucumber-acceptancemsbaek/msbaek-claude-plugins | Skill | 8 | 1mo ago | MIT | A | 109 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 61k | today | Apache-2.0 | A | 138 | Claude Code, Codex |
| create-verification-skillYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 45 | Claude Code |
| verify-omnigentomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 13k | today | MIT | A | 104 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | today | MIT | A | 68 | Claude Code, Codex |