senior-qa

Generate Jest test stubs, analyze Istanbul/LCOV coverage, and scaffold Playwright E2E tests from Next.js routes.

2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/mdnaimul22/human-skills --skill senior-qa-mdnaimul22
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: senior-qa
Source: https://github.com/mdnaimul22/human-skills/tree/main/skills/senior-qa
Command: npx skills add https://github.com/mdnaimul22/human-skills --skill senior-qa-mdnaimul22

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates slow, inconsistent test setup by generating production-ready unit/integration/E2E test scaffolds for React and Next.js, plus tooling to measure and close coverage gaps.

Core Features & Use Cases

  • Unit & integration test stubs for React components: Scans React/TypeScript components and creates Jest + React Testing Library test files, optionally including accessibility checks via jest-axe.
  • Coverage gap analysis: Parses Istanbul/LCOV coverage reports to identify uncovered statements, branches, functions, and lines, and enforces thresholds for release quality gates.
  • E2E scaffolding for Next.js routes: Scans Next.js app/pages directories and generates Playwright specs per route, including optional Page Object Model classes and auth fixture scaffolding.
  • Testing pattern alignment: Promotes structured testing workflows (AAA, test pyramid targets, and maintainability guidance via references) to improve test quality over time.

Quick Start

Ask: "Use the senior-qa skill to scaffold Jest tests for my React components in src/components, analyze my existing coverage report, and generate Playwright E2E specs for my Next.js routes under src/app."

Frequently Asked Questions about senior-qa

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Jest test stubs for my React components?

Generate Jest test stubs by scanning React or TypeScript source directories to automatically create Jest and React Testing Library test files, with optional accessibility checks via jest-axe for component coverage.

How do I find uncovered code gaps using Istanbul or LCOV coverage reports?

Analyze coverage gaps by parsing Istanbul or LCOV report files like coverage-final.json to identify uncovered statements, branches, functions, and lines, enforcing thresholds for release quality gates.

Can I scaffold Playwright E2E tests directly from Next.js routes?

Yes, scaffold Playwright E2E tests by scanning Next.js app or pages directories to generate Playwright specs per route, including optional Page Object Model classes and auth fixture scaffolding for dynamic parameters and forms.

Does this testing workflow support dynamic parameters and auth-related Next.js pages?

Yes, Playwright E2E test scaffolding supports Next.js app and pages routing structures by handling dynamic parameters, forms, and auth-related pages through generated Playwright configurations and auth fixtures.

What is strict mode enforcement for coverage thresholds?

Strict mode enforcement applies deterministic quality gates by parsing coverage files like coverage-final.json or LCOV reports, ensuring release readiness by failing when uncovered statements, branches, functions, or lines exceed defined limits.