Senior QA Engineer

Generates unit, integration, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analyzes Istanbul/LCOV coverage reports to surface gaps, scaffolds Playwright test files from Next.js routes, mocks API calls with MSW, creates test fixtures, and configures test runners.

✨ What it does

  • Generates Jest + React Testing Library test stubs for components.
  • Analyzes Istanbul/LCOV coverage reports and enforces thresholds.
  • Scaffolds Playwright E2E tests from Next.js routes.
  • Mocks API calls with MSW and creates test fixtures.
  • Configures test runners and CI integration.
  • Provides reference docs for testing strategies and best practices.

🎯 When to use it

  • When you need to generate unit tests for React components.
  • When you want to analyze test coverage and identify gaps.
  • When you need to scaffold E2E tests for Next.js routes.
  • When setting up Playwright or Jest for a project.
  • When improving test quality or implementing testing patterns.

🚀 How to use

Trigger: /click

Trigger by asking to 'generate tests', 'write unit tests', 'analyze test coverage', 'scaffold E2E tests', 'set up Playwright', 'configure Jest', or 'improve test quality'. Provide the source directory or coverage report path. Example prompts:

Generate unit tests for src/components/
Analyze coverage from coverage/coverage-final.json with threshold 80

📄 Output: Test files, coverage analysis reports, Playwright test files, and configuration snippets.

📦 Add this skill to Claude Code

# 1. Get the skills repo
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills

# 2. Copy this skill into your project (or ~/.claude/skills for all projects)
mkdir -p .claude/skills
cp -r /tmp/claude-skills/engineering-team/skills/senior-qa .claude/skills/senior-qa

Skill source: engineering-team/skills/senior-qa/SKILL.md

⚠️ Good to know

Requires Python to run the scripts and assumes a React/Next.js project structure.

❓ FAQ

What does the test suite generator do?

It scans React components and generates Jest + React Testing Library test stubs with describe blocks, render tests, and interaction tests.

How do I enforce a coverage threshold?

Use the coverage analyzer with the --threshold flag and --strict to exit with an error if below the threshold.

Can I generate E2E tests for specific routes?

Yes, use the e2e_test_scaffolder.py with the --routes flag to specify routes like '/login,/dashboard'.

🤖 Overview, features, install steps and FAQ were generated from the project's SKILL.md on Sep 4, 2026. Always check the original source before running commands.