What problem does it solve?
Reviewing unit-test pull requests is inconsistent when reviewers rely on memory or legacy snippets instead of current repo rules, letting mocked i18n, type casts, and non-behavioral tests slip through.
Core Features & Use Cases
- Structured Review Workflow: Classifies each test (component, store, composable, util, bugfix regression), names the behavior it proves, and checks it against authoritative docs in a defined precedence order.
- Red-Flag Detection: Provides a 30-second checklist for common failure modes such as new
@vue/test-utils imports, vi.mock('vue-i18n'), as any casts, alias-by-renaming helpers, and unproven regression tests.
- Use Case: When reviewing a bugfix PR that adds a Pinia store test, use this Skill to verify the test uses
createTestingPinia({ stubActions: false }), avoids unnecessary casts, and actually fails on pre-fix code before approving.
Quick Start
Review the unit-test changes in this pull request and flag any violations of the repo's Vitest testing rules.