Unit testing skills for Claude Code and Codex

Skills for unit tests with Jest, Vitest, pytest and similar. 431 skills on Ragspaces, ranked by real installs, GitHub stars and freshness. Free skills install into your own Claude Code or Codex with one command; paid ones run online.

Top Unit testing skills

  1. testing-standards by @Yoodaddy0311 (Free): Testing standards enforcing 80% coverage, Testing Pyramid, and TDD workflow. Auto-activates when: writing tests, implementing features, fixing bugs, refactoring code. Triggers: test, coverage, TDD…
  2. tdd-workflow by @Yoodaddy0311 (Free): Test-first discipline for new features, bug fixes, and coverage work. Auto-activates when tests are requested, TDD is mentioned, or refactoring needs a safety net. Triggers: test, TDD, test-driven…
  3. vitest-configuration by @TheBushidoCollective (Free): Use when vitest configuration, Vite integration, workspace setup, and test environment configuration for modern testing.
  4. vitest-performance by @TheBushidoCollective (Free): Use when vitest performance optimization including fast execution, watch mode, and parallelization strategies.
  5. vitest-testing-patterns by @TheBushidoCollective (Free): Use when vitest testing patterns including unit tests, mocks, spies, and browser mode testing.
  6. pytest-plugins by @TheBushidoCollective (Free): Use when pytest plugin ecosystem including pytest-cov, pytest-mock, and custom plugin development.
  7. pytest-fixtures by @TheBushidoCollective (Free): Use when pytest fixtures, conftest files, parametrize decorators, and fixture scopes for comprehensive test setup.
  8. pytest-advanced by @TheBushidoCollective (Free): Use when advanced Pytest features including markers, custom assertions, hooks, and coverage configuration.
  9. jest-configuration by @TheBushidoCollective (Free): Use when jest configuration, setup files, module resolution, and project organization for optimal testing environments.
  10. jest-testing-patterns by @TheBushidoCollective (Free): Use when jest testing patterns including unit tests, mocks, spies, snapshots, and assertion techniques for comprehensive test coverage.
  11. jest-advanced by @TheBushidoCollective (Free): Use when advanced Jest features including custom matchers, parameterized tests with test.each, coverage configuration, and performance optimization.
  12. react-native-web-testing by @TheBushidoCollective (Free): Use when testing React Native Web applications. Provides patterns for Jest, React Native Testing Library, component testing, and web-specific testing strategies.
  13. nestjs-testing by @TheBushidoCollective (Free): Use when nestJS testing with unit tests, integration tests, and e2e tests. Use when building well-tested NestJS applications.
  14. mastering-typescript by @SpillwaveSolutions (Free): Master enterprise-grade TypeScript development with type-safe patterns, modern tooling, and framework integration. This skill provides comprehensive guidance for TypeScript 5.9+, covering type…
  15. bp-test by @skaisser (Free): Create tests following project conventions with proper factories and real implementations. Triggers on "/bp-test", "/test", "write tests", "create tests", "add tests for", or any request to create…
  16. vitest-skill by @sickn33 (Free): Generates Vitest tests in JavaScript/TypeScript with Vite-native speed. Jest-compatible API with ESM support and HMR. Use when user mentions "Vitest", "vi.mock", "vitest.config". Triggers on…
  17. testing-qa by @sickn33 (Free): Comprehensive testing and QA workflow covering unit testing, integration testing, E2E testing, browser automation, and quality assurance.
  18. pytest-skill by @sickn33 (Free): Generates production-grade pytest tests in Python with fixtures, parametrize, markers, mocking, and conftest patterns. Use when user mentions \"pytest\", \"conftest\", \"@pytest.fixture\"…
  19. junit-5-skill by @sickn33 (Free): Generates production-grade JUnit 5 unit and integration tests in Java. Covers assertions, parameterized tests, lifecycle hooks, mocking with Mockito, and nested tests. Use when user mentions…
  20. jest-skill by @sickn33 (Free): Generates Jest unit and integration tests in JavaScript or TypeScript. Covers mocking, snapshots, async testing, and React component testing. Use when user mentions \"Jest\", \"describe/it/expect\"…
  21. agentic-test-audit by @sickn33 (Free): Audit a pytest suite: surviving mutants and untested code, flaky, order-dependent and slow tests, and removal candidates checked on held-out mutants. Report-only.
  22. effect-smol-test-development by @sickn33 (Free): Add focused Vitest and Tstyche coverage for Effect runtime behavior and public type inference.
  23. woocommerce-backend-dev by @woocommerce (Free): Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code. **MUST be invoked before writing any PHP…
  24. dbt-test by @rishav1305 (Free): Run data and unit tests, analyze failures, report coverage
  25. tdd by @pproenca (Free): Test-Driven Development methodology and red-green-refactor workflow (formerly test-tdd). This skill should be used when practicing TDD, writing tests first, designing tests before implementation, or…
  26. writing-tests by @PostHog (Free): Gates whether a new test should exist and keeps it cheap and honest, protecting CI from tests that guard nothing. Use before any change to what a pytest, Jest, or Playwright test asserts or sets up…
  27. fixing-flaky-tests by @PostHog (Free): Guides an agent through reproducing, root-causing, fixing, and validating flaky tests in the PostHog monorepo. Use when a test fails intermittently in CI but passes on rerun or locally, when `hogli…
  28. maintaining-python-tests by @PostHog (Free): Maintains existing pytest and Django test suites without weakening correctness. Use when asked to reduce Python test runtime or CI work, investigate slow pytest families, remove stale migration…
  29. test-generator by @ovachiever (Free): Automatically suggest tests for new functions and components. Use when new code is written, functions added, or user mentions testing. Creates test scaffolding with Jest, Vitest, Pytest patterns…
  30. backend-dev-guidelines by @ovachiever (Free): Comprehensive backend development guide for Langfuse's Next.js 14/tRPC/Express/TypeScript monorepo. Use when creating tRPC routers, public API endpoints, BullMQ queue processors, services, or…
  31. auto-animate by @ovachiever (Free): Zero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb). Prevents 10+ documented errors: SSR/Next.js imports, conditional parents, missing keys, flexbox…
  32. python-pytest by @nathan_gage (Free): Pytest discipline for writing, reviewing, and fixing Python tests — what deserves to be a committed test, deterministic concurrency testing, fixture isolation, mocking boundaries, and suite…
  33. web-testing by @mrgoonie (Free): Web testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.
  34. real-world-testing by @mastra_ai (Free): Use when fixing a bug, writing or reviewing tests, or adding a regression test anywhere in Mastra (core, storage adapters, server adapters, memory, client SDKs, integrations). Especially use before…
  35. testing-core-processors by @mastra_ai (Free): Use when writing or debugging integration tests for error processors in packages/core/src/processors/. Covers the MockLanguageModelV2 pattern for simulating API errors and verifying retry behavior…
  36. playground-msw-tests by @mastra_ai (Free): REQUIRED and PRIMARY testing approach for packages/playground and packages/playground-ui. Triggers on: adding or modifying hooks, pages, route components, data-fetching code, React Query…
  37. e2e-cucumber-playwright by @langgenius (Free): Use when writing, changing, or reviewing Cucumber and Playwright tests under `e2e/`, including feature files, step definitions, support code, scenario tags, locators, and assertions. Do not use for…
  38. frontend-data-fetching by @langgenius (Free): Use when writing, migrating, or reviewing frontend API calls, TanStack Query hooks (useQuery, useSuspenseQuery, useInfiniteQuery, useMutation), queryOptions/infiniteOptions…
  39. flask-expert by @Jeffallan (Free): Builds, modernizes and audits Flask 3.x applications: application factories and blueprints, Flask-SQLAlchemy 3.1 with SQLAlchemy 2.x typed models and Flask-Migrate, JSON APIs validated with Pydantic…
  40. pytest-patterns by @hieutrtr (Free): Python backend testing patterns with pytest for FastAPI applications. Use when writing Python tests: unit tests for services and repositories, integration tests for API endpoints with…

Related topics

Browse all skills · How Ragspaces works · Create a free account