generate-bdd-tests

Installation
SKILL.md

BDD Test File Generator

Generate behavior-driven test files that focus on public API and observable behavior.

Quick Start Workflow

  1. Read the source file to understand what needs to be tested
  2. Identify the public API - all exported functions, constants, hooks, or component props
  3. Check for existing test setup - look for setup.ts, vitest.config.ts, or existing test files
  4. Generate the test file using patterns from references/patterns.md

Core Principle

Test public API and observable behavior only, never internal implementation:

  • Hooks/Components: Test user interactions, props, rendered output
  • Functions/Utilities: Test inputs → outputs, not internal algorithm steps
  • Constants: Test exported values are correct
Related skills
Installs
1
GitHub Stars
1
First Seen
Mar 10, 2026