aibdd-red-execute

Execute AIBDD red workflows by mapping Scenario DSL steps to boundary handlers and verifying behavior-driven failures.

77|15|Updated May 12, 2026
One-click install
npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill aibdd-red-execute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aibdd-red-execute
Source: https://github.com/Waterball-Software-Academy/aixbdd/tree/main/.agents/skills/aibdd-red-execute
Command: npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill aibdd-red-execute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, and includes references (resource) and assets (resource) components.

What problem does it solve?

It prevents AI agents from writing step definitions and code before the project’s acceptance boundaries are concretely exercised, ensuring the “red” signal is valid and driven by behavior gaps rather than a broken test harness.

Core Features & Use Cases

  • Maps every Scenario step to DSL and boundary assets: locates the correct DSL entry and determines how each Given/When/Then step should be implemented as a step definition.
  • Generates runtime-visible Step Definitions: renders the executor-visible step definitions needed for the target feature files.
  • Runs the acceptance runner to confirm legal red: executes tests and classifies failures according to legal-red rules, then returns a red handoff for green to build upon.
  • Guardrails for missing configuration: stops early when required feature/BDD configuration is absent or when the active boundary cannot be bound.

Quick Start

Ask the agent to run aibdd-red-execute for your target feature files so it produces a red handoff that green can use to implement the missing behavior.

Frequently Asked Questions about aibdd-red-execute

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

FAQPage Schema
How do I generate valid BDD step definitions for a failing acceptance test?

Mapping BDD Scenario steps to step definitions requires loading project arguments and runtime refs, matching each Given/When/Then to boundary handlers, rendering definitions, and executing the acceptance runner to verify a behavior-driven failure.

What is a legal red in BDD acceptance testing and why does it matter?

A legal red in acceptance testing is a failure driven by genuine behavior gaps, not a broken test harness. It enforces red→green→refactor discipline by proving acceptance boundaries are concretely exercised before implementation code is written.

How do I execute BDD acceptance tests to verify the red phase?

Executing BDD acceptance tests for the red phase involves running the test runner against generated step definitions, classifying failures by legal-red rules, and emitting a behavior test report plus a red handoff for the green phase.

Do I need python3 to run BDD red green refactor workflows?

Yes, python3 is required to execute BDD red green refactor workflows. The runner uses python3 to load runtime refs, map DSL steps to boundary handlers, and execute acceptance tests that produce the red handoff.

Why does my BDD test runner stop early before generating step definitions?

The BDD test runner stops early when required feature or BDD configuration is absent, or when the active boundary cannot be bound. This guardrail prevents writing step definitions before acceptance boundaries are concretely exercised.

What is the best way to hand off a failing BDD test to the green phase?

The best way to hand off a failing BDD test to the green phase is to emit a structured red handoff following required schemas, ensuring the failure is classified as a legal, behavior-driven red that green can implement upon.