acceptance-pipeline-catalog
БесплатноБез исполняемых скриптовНе проверенUse when implementing, reviewing, or debugging a Gherkin acceptance-test pipeline with mutation testing. Covers parser, JSON IR, generator, runtime, step…
от pproenca★ 231 звезда на GitHubОб этом скилле
Robert C. Martin Acceptance Pipeline Best Practices
Language-neutral specification for a portable acceptance-test pipeline: Gherkin feature files to JSON IR to generated acceptance tests to mutation testing. Based on Robert C. Martin's Acceptance Pipeline Specification. Contains ~50 rules across 14 categories, prioritized by impact.
When to Apply
Reference these rules when:
- Building a Gherkin parser that outputs JSON IR
- Implementing an acceptance test generator from JSON IR
- Writing an acceptance runtime that expands scenarios and dispatches steps
- Implementing mutation testing for acceptance test example values
- Setting up the full pipeline (parser, generator, runner, mutator) in a new project
- Debugging pipeline failures (parse errors, generation issues, mutation classification)
Pipeline Overview
The pipeline has two modes:
Normal acceptance run:
feature file -> gherkin parser -> JSON IR -> acceptance generator -> generated tests -> test runner
Mutation run:
feature file -> gherkin parser -> base JSON IR -> mutator (one changed IR per mutation)
-> generator (tests per mutation) -> test runner (evaluate each) -> mutation report
The normal run proves the project satisfies the feature. The mutation run probes whether tests are strong enough to fail when example data changes.
Rule Categories by Priority
| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | Parser | CRITICAL | parser- |
9 |
| 2 | JSON IR | CRITICAL | ir- |
4 |
| 3 | Generator | CRITICAL | gen- |
2 |
| 4 | Runtime | HIGH | rt- |
3 |
| 5 | Step Handlers | HIGH | handler- |
4 |
| 6 | Test Runner | HIGH | runner- |
2 |
| 7 | Mutator Core | HIGH | mut- |
4 |
| 8 | Value Mutation Rules | HIGH | val- |
10 |
| 9 | Result Classification | HIGH | result- |
2 |
| 10 | Conformance | HIGH | conform- |
1 |
| 11 | Agent Setup | HIGH | setup- |
1 |
| 12 | Mutation Execution | MEDIUM | exec- |
4 |
| 13 | Reports | MEDIUM | report- |
3 |
| 14 | Project Layout | MEDIUM | layout- |
3 |
Quick Reference
1. Parser (CRITICAL)
parser-command-interface- Two positional args, exit codes 0/1/2parser-feature-declaration- Feature: keyword required, trimmed nameparser-background- Optional Background: section with Given/And stepsparser-scenarios- Scenario: and Scenario Outline: both supportedparser-steps- Given/When/Then/And keywords, keyword stored separatelyparser-parameters- Angle-bracket placeholders, not expanded by parserparser-examples-tables- Pipe-delimited tables, header row firstparser-general-rules- Blank lines, comments, whitespace, orderingparser-unsupported-syntax- Tags, rules, localized keywords, doc strings
2. JSON IR (CRITICAL)
ir-feature-object- name, scenarios, optional backgroundir-scenario-object- name, steps, examples arraysir-step-object- keyword, text, optional parametersir-example-object- String-keyed, string-valued maps
3. Generator (CRITICAL)
gen-command-interface- Two positional args, exit codes 0/1/2gen-requirements- Embed IR, no Gherkin parsing, deterministic output
4. Runtime (HIGH)
rt-responsibilities- Load IR, expand, dispatch, reportrt-scenario-expansion- One execution per example row, background prependedrt-execution-naming- Scenario name / example index naming convention
5. Step Handlers (HIGH)
handler-matching- Match by exact text value, not keywordhandler-world-state- Fresh world/state per scenario executionhandler-value-handling- Fetch, parse, fail on missing/malformedhandler-unsupported- Unsupported step text must fail the test
6. Test Runner (HIGH)
runner-interface- Input/output contract for the test runner adapterrunner-classification- Three-way: failure, success, infrastructure error
7. Mutator Core (HIGH)
mut-command-interface- CLI options, exit codes 0/1/2mut-scope- Only exa
Установить acceptance-pipeline-catalog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл acceptance-pipeline-catalog?
Use when implementing, reviewing, or debugging a Gherkin acceptance-test pipeline with mutation testing. Covers parser, JSON IR, generator, runtime, step handlers, test runner, mutator, value mutation rules, execution, result classification, reporting, project layout, conformance, and agent setup. Based on Uncle Bob's Acceptance Pipeline Specification. Trigger even when the user mentions Gherkin parsing, acceptance test generation, mutation testing for acceptance tests, or building a portable test pipeline.
Как установить скилл acceptance-pipeline-catalog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл acceptance-pipeline-catalog запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic