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
- Read the source file to understand what needs to be tested
- Identify the public API - all exported functions, constants, hooks, or component props
- Check for existing test setup - look for
setup.ts,vitest.config.ts, or existing test files - 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
More from guillempuche/app-asset-generator
asset-generator
Generate app icons, splash screens, and adaptive icons for iOS, Android, and Web. Use when creating or updating visual assets.
3git-subtree-manager
Manages git subtrees for external library references. Use when adding new library sources or updating existing subtrees in docs/.
3git-commit-messages
Generates consistent git commit messages following project conventions. Use when committing changes, creating PRs, or when asked to write commit messages.
3release
Create a new release with version bump, git tag, and GitHub release with binary builds. Use when releasing a new version.
1