Vitest Testing Skill - Master Reference
CommunityComprehensive Vitest testing master guide.
AuthorAdamManuel-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides AI-friendly Vitest testing guidance with practical patterns, best practices, and agent integration to help you write fast, reliable tests and automate test generation.
Core Features & Use Cases
- F.I.R.S.T Principles: Fast, Isolated, Repeatable, Self-Checking, and Timely testing guidance.
- AAA/BDD patterns: Arrange-Act-Assert and Given/When/Then for clear, behavior-focused tests.
- Refactoring for testability: Patterns to extract pure logic and inject dependencies to improve testability.
- Agent integration: Guidance for Claude Code agents to generate tests and maintain quality across projects.
- Complete examples: Authentication, CRUD, state management, and API testing templates.
Quick Start
Describe a feature or bug to AI and ask it to produce Vitest tests using AAA and black-box strategies, following F.I.R.S.T principles.
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 Testing Skill - Master Reference Download link: https://github.com/AdamManuel-dev/claude-code-ext/archive/main.zip#vitest-testing-skill-master-reference Please download this .zip file, extract it, and install it in the .claude/skills/ directory.