senior-qa

Generate unit and end-to-end tests for React and Next.js applications.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/amanhsn/flyerbuild --skill senior-qa-amanhsn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: senior-qa
Source: https://github.com/amanhsn/flyerbuild/tree/main/.cursor/skills/senior-qa
Command: npx skills add https://github.com/amanhsn/flyerbuild --skill senior-qa-amanhsn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jest, playwright, react-testing-library, jest-axe, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of ensuring high-quality, robust, and reliable software by providing comprehensive testing and quality assurance capabilities for React and Next.js applications.

Core Features & Use Cases

  • Automated Test Generation: Quickly scaffold unit and E2E tests for components and routes.
  • Coverage Analysis: Identify and address gaps in test coverage to improve code quality.
  • Use Case: A developer needs to ensure a new React component is thoroughly tested. They can use this Skill to generate initial test stubs, analyze accessibility, and ensure critical paths are covered, significantly speeding up the testing process.

Quick Start

Use the senior-qa skill to generate unit tests for the components in the src/components directory.

Frequently Asked Questions about senior-qa

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

FAQPage Schema
How do I generate unit tests for React components using Jest and React Testing Library?

To generate unit tests for React components, you can scaffold test suites using Jest and React Testing Library. This automates test creation for your components, ensuring critical paths are covered and speeding up the testing process.

What is the best way to scaffold end-to-end tests for Next.js routes?

The best way to scaffold end-to-end tests for Next.js routes is by using Playwright. This approach automates E2E test generation for your routes, ensuring comprehensive coverage and robust application flows.

How do I analyze test coverage gaps in a React application?

You can analyze test coverage gaps by generating and reviewing coverage reports. This process identifies untested critical paths in your React application, allowing you to address gaps and improve overall code quality.

Does this automated testing workflow include accessibility checks?

Yes, the automated testing workflow includes accessibility checks using the jest-axe dependency. This ensures your React components meet accessibility standards during the test generation process.

Can I use Playwright and Jest together for Next.js testing?

Yes, you can use Playwright and Jest together for Next.js testing. Jest handles unit tests while React Testing Library supports component testing, and Playwright manages end-to-end test scaffolding for comprehensive coverage.

What are the limitations of automating test suite generation for React?

Automating test suite generation provides initial test stubs and coverage analysis, but it does not replace custom test logic. Developers must still review generated tests to ensure complex component states and edge cases are validated.