deliver-acceptance-criteria — скилл для Claude Code: критерии приёмки
Превращает пользовательскую историю или кусок фичи в проверяемые сценарии Given/When/Then: основной путь, ошибки и нефункциональные требования.
npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a claude-codeЧто делает deliver-acceptance-criteria
Скилл берёт контекст фичи и выдаёт критерии приёмки в формате Given/When/Then. Каждый сценарий проверяется отдельно, без догадок о замысле — инженер и QA видят одинаковые условия pass/fail.
Внутри семь шагов: подтвердить границы истории, отделить основной путь от исключений, описать поведение при сбое валидации или недоступной зависимости, добавить требования по производительности, доступности, безопасности и надёжности, убрать дубли и проверить каждый пункт на измеримость. Формат вывода лежит в references/TEMPLATE.md, готовый пример на основе оформления заказа в интернет-магазине — в references/EXAMPLE.md.
Скилл работает в границах одной истории. Если нужен систематический разбор граничных условий и путей восстановления по всей фиче, берите deliver-edge-cases; сами истории пишет deliver-user-stories. Для метрики вида «90% ответов верны источникам» этот скилл не подходит: там нужна спроектированная выборка, и об этом говорит раздел AI Behavior and Evaluation в deliver-prd.
Какие задачи решает
- зафиксировать условия pass/fail для истории перед спринтом
- описать, что видит пользователь, когда сохранение не проходит
- вынести граничные случаи из головы в явные сценарии
- добавить проверяемые требования по доступности и производительности
- подготовить критерии к передаче в QA без двусмысленностей
Примеры запросов агенту
- Напиши критерии приёмки для истории оформления заказа
- Разложи эту фичу на Given/When/Then: основной путь, ошибки, восстановление
- Проверь мои критерии приёмки на тестируемость и убери дубли
Как установить deliver-acceptance-criteria
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a claude-code2Вручную: положить файлы
~/.claude/skills/deliver-acceptance-criteria/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/deliver-acceptance-criteria/
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a codex2Вручную: положить файлы
.agents/skills/deliver-acceptance-criteria/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a cursor2Вручную: положить файлы
.cursor/skills/deliver-acceptance-criteria/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install product-on-purpose/pm-skills deliver-acceptance-criteria2Вручную: положить файлы
.github/skills/deliver-acceptance-criteria/SKILL.md1Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a gemini-cli2Командой платформы
gemini skills install https://github.com/product-on-purpose/pm-skills --path skills/deliver-acceptance-criteriaВручную: положить файлы
.devin/skills/deliver-acceptance-criteria/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о deliver-acceptance-criteria
Как установить deliver-acceptance-criteria в Claude?
Выполните npx skills add product-on-purpose/pm-skills --skill deliver-acceptance-criteria -a claude-code. Скилл появится в ~/.claude/skills/deliver-acceptance-criteria/SKILL.md.
Что делает deliver-acceptance-criteria?
Пишет критерии приёмки в формате Given/When/Then для одной истории или среза фичи: основной путь, ключевые сбои и нефункциональные ожидания. Каждый пункт можно проверить отдельно.
Чем он отличается от deliver-edge-cases и deliver-user-stories?
Этот скилл углубляет уже существующую историю и остаётся в её границах. deliver-edge-cases собирает граничные условия и пути восстановления по всей фиче, а deliver-user-stories пишет сами истории.
Исходный текст
SKILL.md · Apache-2.0
--- name: deliver-acceptance-criteria description: Generates structured Given/When/Then acceptance criteria for a user story or feature slice, covering the happy path, key failure scenarios, and non-functional expectations in testable form. Use when turning requirements into verifiable scenarios for engineering handoff and QA sign-off. For a dedicated catalog of boundary conditions, error states, and recovery paths across a feature, use deliver-edge-cases; to write the stories themselves, use deliver-user-stories. license: Apache-2.0 metadata: phase: deliver version: "1.1.1" updated: 2026-10-16 category: specification frameworks: [triple-diamond, lean-startup, design-thinking] author: product-on-purpose --- <!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 --> # Acceptance Criteria Acceptance criteria define the observable behavior that must be true for a story or feature to be considered done. This skill turns feature context into concise, testable Given/When/Then scenarios that engineers and QA can verify without guessing intent. ## When to Use - After a user story, PRD section, or feature slice is defined - When a team needs clear pass/fail conditions for implementation - When writing QA-ready criteria for sprint planning or handoff - When a story has edge cases, error paths, or non-functional expectations that should be explicit ## When NOT to Use - You need the user stories themselves -> use `deliver-user-stories`; this skill deepens a story that already exists - You need systematic failure coverage across a whole feature -> use `deliver-edge-cases`; this skill stays story-scoped - There is no story or slice to bind criteria to yet -> use `deliver-prd` or `deliver-user-stories` first - You are defining success metrics for an experiment, not done-ness for a story -> use `measure-experiment-design` - The criterion is a rate over model output, such as "90% of answers are faithful to their sources" -> use the AI Behavior and Evaluation section of `deliver-prd`, which says a rate needs a designed sample to verify it, and what to record until one exists ## Instructions When asked to create acceptance criteria, follow these steps: 1. **Confirm the story or feature scope** Identify the exact slice of work. If the scope is unclear, ask for the user story, PRD section, or feature description before drafting criteria. 2. **Separate the happy path from exceptions** Start with the primary success flow, then add edge cases and error states that are likely or costly if missed. 3. **Write each criterion as an observable scenario** Use Given/When/Then language only. Keep each criterion independently testable and avoid implementation details. 4. **Cover recovery and failure behavior** Describe what the user sees or can do when validation fails, a dependency is unavailable, or a save action cannot complete. 5. **Include non-functional expectations** Add criteria for performance, accessibility, security, reliability, or auditability when they matter to the story. 6. **Avoid duplication and overlap** Each criterion should test one outcome. If two criteria describe the same behavior, merge or split them until the intent is clear. 7. **Review for testability** Ensure a reviewer can pass or fail each criterion without interpretation. If a statement is subjective, rewrite it into a measurable outcome. ## Output Contract Use `references/TEMPLATE.md` as the output format. A complete response should: - Restate the feature or story context - Group criteria into happy path, edge cases, error states, and non-functional criteria - Use explicit Given/When/Then statements for each criterion - Note assumptions or open questions when context is incomplete ## Quality Checklist Before finalizing, verify: - [ ] The criteria map to a specific story or feature slice - [ ] The happy path is covered first - [ ] Edge cases are explicit, not implied - [ ] Error states include user-visible recovery behavior - [ ] Non-functional criteria are included when relevant - [ ] Each criterion is testable and has one clear outcome - [ ] No implementation details leak into the acceptance criteria ## Examples See `references/EXAMPLE.md` for a completed example based on a realistic e-commerce checkout flow.
© product-on-purpose · Apache-2.0 · product-on-purpose/pm-skills