bdd-workflow

Define executable Gherkin specifications for RSpec, Ginkgo, and Jest workflows.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/baphled/dotopencode --skill bdd-workflow-baphled
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bdd-workflow
Source: https://github.com/baphled/dotopencode/tree/main/skills/bdd-workflow
Command: npx skills add https://github.com/baphled/dotopencode --skill bdd-workflow-baphled

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write software by focusing on desired behavior, ensuring the system functions as intended from the user's perspective.

Core Features & Use Cases

  • Behavior-Driven Development: Guides development using a shared language and executable specifications.
  • Test Framework Integration: Supports RSpec, Ginkgo/Gomega, and Jest for unit tests, and Gherkin/Cucumber for acceptance tests.
  • Use Case: When building a new feature, define its behavior using Gherkin scenarios first, then write corresponding tests in Ginkgo to drive the implementation, ensuring the feature meets stakeholder requirements.

Quick Start

Use the bdd-workflow skill to write a Gherkin scenario for user login.

Frequently Asked Questions about bdd-workflow

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

FAQPage Schema
How do I write executable specifications using Gherkin for behavior-driven development?

Behavior-driven development with Gherkin defines executable specifications using a Given/When/Then structure. This enforces shared understanding of system behavior between stakeholders and developers, driving outside-in development cycles with living documentation.

Can I integrate Gherkin scenarios with Jest and RSpec for unit testing?

Gherkin scenarios integrate with testing frameworks like Jest and RSpec to drive implementation. You define feature behavior using Gherkin acceptance tests first, then write corresponding unit tests in Jest or RSpec to fulfill stakeholder requirements.

What is the best way to drive development with behavior specs using Ginkgo?

Driving development with Ginkgo involves an outside-in cycle: define desired behavior using Gherkin scenarios first, then write corresponding Ginkgo unit tests. This ensures features meet stakeholder requirements and function as intended from the user's perspective.

Does behavior-driven development work with Cucumber for acceptance testing?

Behavior-driven development supports Cucumber and Gherkin specifically for acceptance tests. This combination enforces a Given/When/Then structure, allowing stakeholders to validate that implemented features match the desired system behavior and requirements.

Why define behavior specs before writing unit tests in Jest?

Defining behavior specs before writing Jest unit tests ensures the system functions as intended from the user's perspective. It promotes an outside-in development cycle, creating living documentation and shared understanding across the team before implementation begins.

When do I need behavior-driven development instead of standard test-driven development?

You need behavior-driven development when a shared understanding of system behavior between stakeholders and developers is critical. It replaces standard test-driven development when you require executable specifications and living documentation written in a ubiquitous language.