vitest-patterns
OfficialWrite better Vitest tests
Authorbluesky-social
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides clear guidelines and best practices for writing effective and maintainable Vitest tests, ensuring consistency and quality across the project's test suite.
Core Features & Use Cases
- Standardized Imports: Enforces consistent import statements for Vitest utilities.
- Structured Test Suites: Guides the organization of tests using
describeblocks for clarity. - Parameterized Testing: Promotes the use of
for...ofloops for efficient test case iteration. - Assertion Best Practices: Details preferred methods for type narrowing and error checking.
- Use Case: When developing a new feature, use this Skill to ensure all associated tests follow project conventions, making them easier to read, debug, and maintain.
Quick Start
Follow the patterns in this skill when writing new Vitest tests for the project.
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-patterns Download link: https://github.com/bluesky-social/atproto/archive/main.zip#vitest-patterns 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 223,000+ vetted skills library on demand.