What problem does it solve?
Generate reliable unit tests for complex, non-trivial business rules without coupling them to a specific framework, so the test suite stays valid across stack migrations.
Core Features & Use Cases
- Pure vs stack-coupled classification: Separates portable business logic from framework-embedded behavior to avoid brittle tests.
- Rule-level test generation: Creates one test file per extracted pure unit, covering scenarios and edge cases described in the behavior spec.
- Deterministic, tiered testing discipline: Ensures newly generated unit-pure tests focus on functional correctness and records stack-coupled exclusions as cited_existing references instead of generating wrong-tier tests.
- Framework harness selection: Detects the unit test framework from the provided test harness (for example, Jest/Vitest style conventions).
Quick Start
Use the generate-unit-pure-tests skill to produce portable unit test files from a feature’s behavior specification by ensuring the relevant rules are classified as pure business logic and locating the smallest importable pure unit to test.