bdd-with-approvals

Installation
SKILL.md

BDD with Approval Tests

The Problem

Specifications live in documents. They drift from reality because nothing enforces them.

Tests verify implementation. Written after code, they document what IS, not what SHOULD BE. They're noisy. You can't glance at them and quickly validate correctness.

You need an artifact that:

  • Captures expected behavior before code exists
  • Stays in sync because it's executable
  • A human can validate at a glance

Executable Specifications

The fixture file IS that artifact. Write it BEFORE implementation.

Think through scenarios by creating approval files. Describe expected behavior in domain language. Implementation is driven by making these specs pass. Specs stay executable, never go stale.

Installs
7
GitHub Stars
214
First Seen
Feb 14, 2026
bdd-with-approvals — lexler/skill-factory