dubzzz avatar

Javascript Testing Expert

This one pushes you toward better testing practices in JavaScript, starting with tests as documentation before moving into edge case hunting with property-based testing via fast-check. It's opinionated about structure (AAA pattern, "should" naming, one describe per function) and actively warns you when code needs too many mocks to test, treating that as a code smell. The approach splits simple documenting tests from advanced property-based ones without explicit markers, just ordering. It's built for vitest and testing-library, advocates stubs over mocks, and wants you to avoid snapshot overuse and indeterministic tests. Good if you're tired of flaky test suites or want to find bugs you didn't think to write cases for.

skills.sh installs
269
GitHub stars
5.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add dubzzz/fast-check --skill javascript-testing-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

⚠️ Scope: Testing functions and components, not black-box e2e.

πŸ… Main objectives: use tests as a way to...

  1. uncover hard to detect bugs
  2. document how to use the code
  3. avoid regressions
  4. challenge the code

πŸ”§ Recommended tooling: vitest, fast-check, @fast-check/vitest, @testing-library/*, @vitest/browser-playwright, msw installed as devDependencies.
βœ… Do try to install missing and relevant tooling, only recommend for @fast-check/vitest and browser testing.
βœ… Do highly recommend user to install missing and relevant tooling.
βœ… Do adapt yourself to missing tools.

File and code layout

βœ… Do mimic the existing test structure of the project when adding new tests

βœ… Do use one test file per code file

πŸ‘ Prefer using .spec.ts extension (e.g., fileName.ts β†’ fileName.spec.ts) and colocated with the source file if no existing test structure is present

βœ… Do put it within describe, when using it

πŸ‘ Prefer it over test

βœ… Do name the describe with the name of the function being tested

βœ… Do use a dedicated describe for each function being tested

Sponsors

Details

Repository
github.com/dubzzz/fast-check
Categories
Testing & QA, Documentation, Code Review & Quality, Python
First seen
Jun 3, 2026
1patricio0312rev avatarintegration-test-builderpatricio0312rev/skillsCreates integration tests for API endpoints with database flows, including test harness setup, fixtures, setup/teardown, database seeding, and CI-friendly strat263skills.sh installs
2patricio0312rev avatarcoverage-strategistpatricio0312rev/skillsDefines ROI-based coverage targets with critical path identification, layer-specific targets, and explicit "don't test this" guidelines. Use for "test coverage"259skills.sh installs
3aiskillstore avatarwebapp-testingaiskillstore/marketplaceToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing br235skills.sh installs
4jezweb avatartesting-libraryjezweb/claude-skillsTest React components with Testing Library patterns. Covers queries (getBy/findBy/queryBy), user-event interactions, async testing (findBy vs waitFor), accessib203skills.sh installs
5oguzhan18 avatarangular-jestoguzhan18/angular-ecosystem-skillsALWAYS use when testing Angular applications with Jest, configuring Jest, or migrating from Jasmine/Karma to Jest.190skills.sh installs
6bobmatnyc avatarwebapp-testing-patternsbobmatnyc/claude-mpm-skillsComprehensive web application testing patterns with Playwright selectors, wait strategies, and best practices181skills.sh installs