Back to Skills

vitest-testing-patterns

mattnigh
Updated 4 days ago
6 views
22
1
22
View on GitHub
Othertestingcodeautomationjestreact

About

This skill helps developers write tests using Vitest and React Testing Library for unit, component, and integration testing. It provides patterns for creating test files, mocking dependencies, and understanding test coverage. Use it when working with React projects that follow Vitest conventions, but not for Jest-specific patterns or end-to-end testing.

Quick Install

Claude Code

Recommended
Primary
npx skills add mattnigh/skills_collection -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/mattnigh/skills_collection
Git CloneAlternative
git clone https://github.com/mattnigh/skills_collection.git ~/.claude/skills/vitest-testing-patterns

Copy and paste this command in Claude Code to install this skill

GitHub Repository

mattnigh/skills_collection
Path: collection/erichowens__some_claude_skills__claude__skills__vitest-testing-patterns__SKILL.md
0

Related Skills

code-necromancer

Other

The Code Necromancer skill provides a structured, three-phase framework (archaeology, resurrection, rejuvenation) for developers to understand, revive, and modernize undocumented legacy systems or dormant codebases. It activates on terms like "legacy code" or "technical debt" and is designed for scenarios involving inherited systems with no documentation, not for new projects. The skill uses tools like Read, Write, Bash, and Grep to systematically analyze, restore, and refactor old code.

View skill

api-architect

Other

The api-architect skill is an expert API designer for creating and refining REST, GraphQL, and gRPC architectures, including OpenAPI specs and security flows. Use it for tasks like endpoint design, versioning, and schema generation. It defers database, frontend, and deployment concerns to other specialized skills.

View skill

code-necromancer

Other

This skill provides a systematic framework for understanding, resurrecting, and modernizing legacy codebases. It is designed for scenarios like inheriting undocumented repos or reviving dormant projects, guiding you through archaeology, resurrection, and rejuvenation phases. Use it when you encounter terms like "legacy code" or "technical debt," but not for greenfield projects.

View skill

security-auditor

Other

The security-auditor skill performs static code security analysis including dependency vulnerability scanning, secret detection, and SAST checks for OWASP top risks. Use it for codebase security reviews, pre-penetration testing audits, and identifying issues like exposed credentials or vulnerable libraries. It focuses on source code analysis, not runtime infrastructure or compliance certification processes.

View skill