acceptance-criteria-generator

Generate Gherkin Given/When/Then scenarios from user tasks.

12|1|Updated Sep 15, 2025
One-click install
npx skills add https://github.com/abrahamvallez/bokata-skills --skill acceptance-criteria-generator-abrahamvallez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: acceptance-criteria-generator
Source: https://github.com/abrahamvallez/bokata-skills/tree/main/acceptance-criteria-generator
Command: npx skills add https://github.com/abrahamvallez/bokata-skills --skill acceptance-criteria-generator-abrahamvallez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of precise, executable Gherkin scenarios (Given/When/Then) from user tasks, ensuring clear and testable requirements.

Core Features & Use Cases

  • Gherkin Scenario Generation: Automatically writes Given/When/Then scenarios based on input tasks.
  • Rule Identification: Extracts and formalizes business logic rules.
  • Use Case: You have a user story for "User Login". This skill will generate scenarios like "Given the user is on the login page, When they enter valid credentials, Then they should be redirected to the dashboard." and edge cases like "Given the user is on the login page, When they enter invalid credentials, Then they should see an error message."

Quick Start

Use the acceptance-criteria-generator skill to generate Gherkin scenarios for the user task 'User Registration'.

Frequently Asked Questions about acceptance-criteria-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Gherkin acceptance criteria from a user story?

To generate Gherkin acceptance criteria from a user story, input your user task into the generator. It applies Feature Mapping and Example Mapping to produce executable Given/When/Then scenarios that bridge requirements with testing.

What is Example Mapping in behavior-driven development?

Example Mapping in behavior-driven development is a technique to brainstorm and extract business rules from user tasks. It identifies key examples and edge cases, which are then formatted into structured Gherkin syntax for testable specifications.

How do I write Given/When/Then scenarios for edge cases?

Writing Given/When/Then scenarios for edge cases involves analyzing user tasks to identify alternative paths and rule violations. The generator extracts these conditions to formulate scenarios like entering invalid credentials and receiving an error message.

Can I use behavior-driven development specifications for software testing workflows?

Yes, you can use behavior-driven development specifications for software testing workflows. The generated Gherkin scenarios define precise, executable test cases that bridge software requirements with automated testing frameworks.

What is the best way to formalize business rules into testable requirements?

The best way to formalize business rules into testable requirements is using Feature Mapping to structure the task. This process extracts underlying logic and translates it directly into structured Gherkin acceptance criteria.