If you're spending time debating what to test or chasing flaky CI runs, this walks you through the whole testing lifecycle: scoping, strategy, writing tests with proper assertions, and reporting coverage gaps. It covers unit, integration, E2E, performance (k6), and security testing with OWASP methods. The quick-start example shows the pattern it enforces: meaningful descriptions, specific assertions, mocked dependencies. Includes reference docs for TDD iron laws and testing anti-patterns adapted from Jesse Vincent's work. The constraints section is blunt about what breaks tests in production: order dependencies, truthiness checks instead of specific assertions, ignoring error paths. Honestly, the structured approach helps most when onboarding junior developers or standardizing test quality across a team.

skills.sh installs
5.7K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill test-master --agent claude-code

Installs into .claude/skills of the current project.

Files

Test Master

Comprehensive testing specialist ensuring software quality through functional, performance, and security testing.

Core Workflow

  1. Define scope — Identify what to test and which testing types apply
  2. Create strategy — Plan the test approach across functional, performance, and security perspectives
  3. Write tests — Implement tests with proper assertions (see example below)
  4. Execute — Run tests and collect results
    • If tests fail: classify the failure (assertion error vs. environment/flakiness), fix root cause, re-run
    • If tests are flaky: isolate ordering dependencies, check async handling, add retry or stabilization logic
  5. Report — Document findings with severity ratings and actionable fix recommendations
    • Verify coverage targets are met before closing; flag gaps explicitly

Quick-Start Example

A minimal Jest unit test illustrating the key patterns this skill enforces:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Testing & QA, Security, Documentation, Code Review & Quality, Debugging, Automation & Workflows

More from jeffallan/claude-skills

All 66
1jeffallan avatarplaywright-expertjeffallan/claude-skillsUse when writing E2E tests with Playwright, setting up test infrastructure, or debugging flaky browser tests. Invoke to write test scripts, create page objects,5.6Kskills.sh installs
2callstack avatarreact-native-testingcallstack/react-native-testing-libraryWrite tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native compone5.5Kskills.sh installs
3affaan-m avatarquarkus-tddaffaan-m/eccTest-driven development for Quarkus 3.x LTS using JUnit 5, Mockito, REST Assured, Camel testing, and JaCoCo. Use when adding features, fixing bugs, or refactori5.4Kskills.sh installs
4affaan-m avatarperl-testingaffaan-m/eccPerl testing patterns using Test2::V0, Test::More, prove runner, mocking, coverage with Devel::Cover, and TDD methodology.5.4Kskills.sh installs
5dotnet avatartest-anti-patternsdotnet/skillsAudits an existing test file or suite in any language for anti-patterns and quality issues — produces a severity-ranked report (Critical/Warning/Info). INVOKE w5.3Kskills.sh installs
6forcedotcom avatardx-devops-test-pipeline-configureforcedotcom/sf-skillsConfigures DevOps Center pipeline testing infrastructure: enables a test provider so its suites become available, re-syncs a configured provider to pull in new 5.1Kskills.sh installs