Skip to content

Generates Jest, React Testing Library, MSW, and Playwright tests for React and Next.js apps.

CCM score
64 of 100
skills.sh installs
1.3K
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers unit test stubs, coverage gap analysis, Playwright E2E scaffolding from Next.js routes, and MSW API mocking
  • Includes 3 scripts (test_suite_generator.py, coverage_analyzer.py, e2e_test_scaffolder.py) with a --threshold flag for coverage enforcement
  • Provides reference guides on test strategy, Page Object Model patterns, and flaky test debugging
  • Designed for teams adding tests to existing React or Next.js projects that need coverage above a target

Install

$ npx -y skills add alirezarezvani/claude-skills --skill senior-qa -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Senior QA Engineer

Test automation, coverage analysis, and quality assurance patterns for React and Next.js applications.


Quick Start

# Generate Jest test stubs for React components
python scripts/test_suite_generator.py src/components/ --output __tests__/

# Analyze test coverage from Jest/Istanbul reports
python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80

# Scaffold Playwright E2E tests for Next.js routes
python scripts/e2e_test_scaffolder.py src/app/ --output e2e/

Tools Overview

1. Test Suite Generator

Scans React/TypeScript components and generates Jest + React Testing Library test stubs with proper structure.

Input: Source directory containing React components Output: Test files with describe blocks, render tests, interaction tests

Usage:

# Basic usage - scan components and generate tests
python scripts/test_suite_generator.py src/components/ --output __tests__/

# Include accessibility tests
python scripts/test_suite_generator.py src/ --output __tests__/ --include-a11y

# Generate with custom template
python scripts/test_suite_generator.py src/ --template custom-template.tsx

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Testing & QA, Frontend & UI Code
First seen
Jun 3, 2026

More from alirezarezvani/claude-skills

All 259

Similar to Senior Qa

More Testing & QA