beautyline-lib-and-tests - Beautyline src/lib logic and Vitest test placement guide
Provides rules for organizing helpers, queries, serializers, constants, and Vitest tests under src/lib in Beautyline.
Tags
Updated: 2026-09-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Organize domain logic in src/lib
- Place Vitest tests next to modules
- Run Vitest unit test suite
- Export serialized JSON helper functions
Inputs
- Business logic and query helpers
- Vitest test files
- Shared constants and enums
Outputs
- Test files adjacent to modules
- Public helpers under lib import path
Requirements
- Vitest framework
- npm package manager
