generating-unit-tests
CommunityAuto-generate Vitest tests in project style.
Authorjhlee0409
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of Vitest unit tests for TypeScript functions, aligning with project conventions to save time and ensure consistent test coverage.
Core Features & Use Cases
- Test Skeletons: Generate test files (*.test.ts) next to source files with proper imports and describe blocks.
- Coverage Focus: Include tests for happy paths, edge cases, error handling, and type safety.
- Project Alignment: Adheres to the project's testing patterns and naming conventions.
Quick Start
Provide the path to the source file and the function name, e.g., "Generate Vitest tests for export function formatDate in src/utils/date.ts" and the skill will create a corresponding .test.ts file.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: generating-unit-tests Download link: https://github.com/jhlee0409/inner-lens/archive/main.zip#generating-unit-tests 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.