prd-to-gherkin

Convert Lean PRD or Confluence content into structured Gherkin feature files.

10|7|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/cuongtl1992/vibe-skills --skill prd-to-gherkin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prd-to-gherkin
Source: https://github.com/cuongtl1992/vibe-skills/tree/main/plugins/ai-first-engineering/skills/prd-to-gherkin
Command: npx skills add https://github.com/cuongtl1992/vibe-skills --skill prd-to-gherkin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lean PRDs and Confluence pages are hard to translate into structured Gherkin, leading to inconsistent test artifacts and slower automation.

Core Features & Use Cases

  • Maps PRD sections to Gherkin constructs (Feature, Background, Rule, Scenario) with the constraint that each Rule groups relevant Scenarios.
  • Supports Lean PRD and Confluence sources, enabling traceability back to requirements.
  • Produces testable scenarios in English while preserving domain-specific terminology (which can be localized in a glossary).

Quick Start

Provide a Lean PRD or Confluence document and the tool will generate a Gherkin feature file with Rules and Scenarios.

Frequently Asked Questions about prd-to-gherkin

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

FAQPage Schema
How do I convert a PRD into Gherkin feature files?

Converting a PRD into Gherkin feature files requires providing a Lean PRD or Confluence document, which is then mapped into structured Feature, Background, Rule, and Scenario constructs for test automation.

What is the best way to map business rules from a PRD to Gherkin scenarios?

The best way to map business rules to Gherkin scenarios is by grouping relevant scenarios within specific Rule blocks, ensuring each scenario enforces testable business logic directly from the PRD content.

Does this tool support generating Gherkin from Confluence content?

Yes, it supports generating Gherkin from Confluence content by transforming Confluence pages and Lean PRDs into structured feature files, enabling direct traceability back to your original requirements.

Can I localize descriptions while keeping Gherkin keywords in English?

Yes, you can localize descriptions while keeping Gherkin keywords in English. The tool produces testable scenarios in English while preserving domain-specific terminology that can be localized in a glossary.

Why should a Gherkin Scenario be placed within a Rule block?

A Gherkin Scenario should be placed within a Rule block because the tool enforces this structural constraint to group relevant scenarios, ensuring consistent test artifacts and clear traceability to business rules.