frontend-testing

Solid

Generate Vitest + React Testing Library tests for frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.

Testing & QA 244 stars 35 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
80
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

This skill enables Claude to generate high-quality, comprehensive frontend tests following established conventions and best practices. ## When to Apply This Skill Apply this skill when the user: - Asks to **write tests** for a component, hook, or utility - Asks to **review existing tests** for completeness - Mentions **Vitest**, **React Testing Library**, **RTL**, or **spec files** - Requests **test coverage** improvement - Mentions **testing**, **unit tests**, or **integration tests** for frontend code - Wants to understand **testing patterns** in the frontend codebase **Do NOT apply** when: - User is asking about E2E tests (Playwright) - User is only asking conceptual questions without code context ## Quick Reference ### Tech Stack | Tool | Version | Purpose | | --------------------- | ------- | ----------------- | | Vitest | 4+ | Test runner | | React Testing Library | 16+ | Component testing | | jsdom | - | Test environment | | TypeScript | 5+ | Type safety | Note: keep this list up to date with the project's dependencies. ### Key Commands **Always prefer running specific tests over the entire suite** for faster feedback: ```bash # Run ALL tests (avoid during development) npx vitest run # ✅ PREFERRED: Run specific file npx vitest run src/components/Button.spec.tsx # ✅ PREFERRED: Run tests matching a pattern npx vitest run --grep "Button" npx vitest run -t "s...

Details

Author
PageAI-Pro
Repository
PageAI-Pro/ralph-loop
Created
4 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Listed

testing-fundamentals

Auto-invoke when reviewing test files or discussing testing strategy. Enforces testing pyramid, strategic coverage, and stack-appropriate frameworks.

335 Updated today
aiskillstore
Testing & QA Solid

vitest-best-practices

Comprehensive vitest testing patterns covering test structure, AAA pattern, parameterized tests, assertions, mocking, test doubles, error handling, async testing, and performance optimization. Use when writing, reviewing, or refactoring vitest tests, or when user mentions vitest, testing, TDD, test coverage, mocking, assertions, or test files (*.test.ts, *.spec.ts).

244 Updated today
PageAI-Pro
Testing & QA Listed

vitest-testing

Modern JavaScript and TypeScript testing with Vitest, covering unit testing, integration testing, mocking, snapshots, browser mode, and Vite integration.

3 Updated today
KaliBellion
Testing & QA Solid

javascript-testing-patterns

Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.

36,166 Updated yesterday
wshobson
AI & Automation Solid

testing

Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.

27,256 Updated today
iOfficeAI