vitest-author
CommunityWrite reliable Vitest tests for PANaCEa services.
System Documentation
What problem does it solve?
Write high-quality Vitest tests for PANaCEa services, following project conventions. Use this skill whenever writing tests, fixing failing tests, adding test coverage, or the user says "test this", "add tests", "why is this test failing", or "run tests". Also use when implementing any new service — every service needs tests. This skill prevents common test pitfalls like ordering artifacts in test data, incorrect signal strength math assertions, and missing vitest imports.
Core Features & Use Cases
- Codifies the interleaved helper pattern to avoid ordering artifacts in test data
- Provides guidance for Vitest configuration, test structure, and explicit imports
- Covers common testing pitfalls (z-score math notes, pure vs DB testing, and running tests)
Quick Start
Create a new Vitest test file under tests/ following the documented patterns, then run npx vitest run tests/ to verify coverage.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vitest-author Download link: https://github.com/aaronjullger-lgtm/PANaCEa/archive/main.zip#vitest-author Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.