Generates test scaffolds for a feature module. Creates Vitest unit tests,
integration tests, and Playwright E2E test skeletons following the testing
spec (specs/008-testing-spec.md).
Generates test scaffolds for a feature module. Creates Vitest unit tests,
integration tests, and Playwright E2E test skeletons following the testing
spec (specs/008-testing-spec.md).
author
sekpriAI team
version
1.0.0
user-invocable
true
Test Generation Skill
When to use
Invoke this skill when you need to create test files for a new or existing
feature module.
What it generates
Unit tests (*.test.ts next to source):
Test file for each pure function, parser, normalizer, or classifier.
Uses Vitest with describe/it/expect pattern.
Includes happy path, edge cases, and error cases.
Integration tests (*.integration.test.ts):
Tests that exercise server modules with mocked external HTTP (using msw).