gherkin-generation

Convert Feature Requirements Documents into executable Gherkin scenarios for BDD testing.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/EmeaAppGbb/spec2cloud-microhack-greenfield --skill gherkin-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gherkin-generation
Source: https://github.com/EmeaAppGbb/spec2cloud-microhack-greenfield/tree/main/.github/skills/gherkin-generation
Command: npx skills add https://github.com/EmeaAppGbb/spec2cloud-microhack-greenfield --skill gherkin-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, cucumber, gherkin, pandas, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive BDD scenarios from Feature Requirements Documents (FRDs), significantly reducing the time and effort required to write testable specifications.

Core Features & Use Cases

  • FRD-to-Gherkin Conversion: Converts FRDs into detailed Gherkin scenarios for BDD testing.
  • Edge Case and Error Handling: Automatically includes edge cases and error handling scenarios.
  • Brownfield Support: Captures existing application behavior for regression testing.
  • Use Case: For a new feature, use this Skill to generate Gherkin scenarios that cover all acceptance criteria, edge cases, and error conditions defined in the FRD.

Quick Start

Run the gherkin-generation skill with the 'new-feature' mode to generate scenarios for a new feature.

Frequently Asked Questions about gherkin-generation

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

FAQPage Schema
How do I generate Gherkin scenarios from a Feature Requirements Document?

You can capture existing application behavior for regression testing by running the skill in 'capture-existing' mode. This brownfield support analyzes current functionality and generates Gherkin scenarios to prevent regressions.

Can I use Cucumber with Gherkin scenarios generated from an FRD?

Yes, generated Gherkin scenarios are fully compatible with Cucumber. The skill produces standard Gherkin syntax that Cucumber can directly execute for BDD test automation without requiring manual syntax adjustments.

Do I need Python to convert FRDs into BDD test scenarios?

Yes, Python is required for execution. The skill uses Python and libraries like pandas to parse Feature Requirements Documents and generate Gherkin scenarios for your BDD testing workflow.

Does automated Gherkin generation include edge cases and error handling?

Automated Gherkin generation includes edge cases and error handling scenarios automatically. It parses the FRD to identify potential exceptions and outputs comprehensive BDD scenarios covering both standard and boundary conditions.