af-write-bdd-scenarios

Generate Markdown BDD scenarios from requirements with test type classification.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/GainInsightDev/websites --skill af-write-bdd-scenarios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-write-bdd-scenarios
Source: https://github.com/GainInsightDev/websites/tree/main/.claude/skills/af-write-bdd-scenarios
Command: npx skills add https://github.com/GainInsightDev/websites --skill af-write-bdd-scenarios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill streamlines the creation of Behavior-Driven Development (BDD) scenarios, ensuring clear, testable specifications derived directly from requirements.

Core Features & Use Cases

  • Scenario Generation: Transforms requirements into structured Markdown BDD scenarios.
  • Test Type Classification: Assigns scenarios to appropriate test types (E2E, Integration, Component, Unit).
  • Glossary Compliance: Enforces the use of approved domain language for consistency.
  • Use Case: When a new feature is defined, use this Skill to generate comprehensive BDD scenarios that cover happy paths, error conditions, and edge cases, directly feeding into the test automation pipeline.

Quick Start

Use the af-write-bdd-scenarios skill to transform the following acceptance criteria into BDD scenarios: "User can log in with valid credentials and is redirected to the dashboard."

Frequently Asked Questions about af-write-bdd-scenarios

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

FAQPage Schema
How do I generate BDD scenarios from requirements?

To generate BDD scenarios from requirements, you provide the feature requirements or mini-PRDs as input. The tool processes them to output structured Markdown scenarios covering happy paths and edge cases.

What is the best way to classify BDD test scenarios by test type?

Classifying BDD test scenarios by test type is handled automatically by assigning each generated scenario to E2E, Integration, Component, or Unit test categories. This ensures scenarios integrate correctly into the appropriate test automation pipeline.

How do I enforce domain glossary compliance in BDD scenarios?

Enforcing domain glossary compliance in BDD scenarios involves checking the generated text against approved domain language. This enforces consistent terminology across all test specifications and feature definitions.

Can I use BDD scenarios to define acceptance criteria for test automation?

Yes, you can use BDD scenarios to define acceptance criteria for test automation. The process transforms feature requirements directly into structured Markdown scenarios that serve as clear, testable acceptance criteria.

Does this tool require external testing dependencies to write scenarios?

No, this tool requires no external testing dependencies to write scenarios. It operates independently to transform requirements into structured Markdown BDD specifications and classify test types.