senior-qa
Skill by alirezarezvani
Writes and improves tests for React and Next.js apps using Jest, React Testing Library, MSW, Playwright and coverage analysis. Built for developers adding component tests, API mocks, E2E tests or coverage.
Install senior-qa
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/engineering-team/skills/senior-qa ~/.claude/skills/senior-qaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/engineering-team/skills/senior-qa ~/.gemini/antigravity-cli/skills/senior-qaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Senior QA is an agent skill for writing and improving tests in React and Next.js apps. It covers Jest and React Testing Library unit tests, MSW API mocks, Playwright end-to-end tests and coverage gap analysis. The skill describes three Python scripts: a test suite generator that creates Jest test stubs from components, a coverage analyzer that reads Jest or Istanbul reports, and an E2E test scaffolder that builds Playwright tests from Next.js routes.
It also includes step-by-step workflows for unit test generation, coverage analysis and Playwright setup. Reference code covers React Testing Library queries, async waits, MSW handlers, Playwright locators and coverage thresholds. It is aimed at developers who want to add tests to a component or page, mock an API, set up E2E tests or raise coverage.
Written from the project's SKILL.md and checked against it.
What it can do
- Test Suite GeneratorScans React/TypeScript components and generates Jest and React Testing Library test stubs.
- Coverage AnalyzerParses Jest/Istanbul coverage reports, identifies gaps and uncovered branches, and gives recommendations.
- E2E Test ScaffolderScans a Next.js pages or app directory and generates Playwright test files organized by route.
- Unit test generation workflowSteps to scan untested components, generate stubs, customize them and run coverage.
- Coverage analysis workflowSteps to generate a coverage report, find gaps, identify critical paths and compare results.
- E2E test setup workflowSteps to initialize Playwright, scaffold tests, add auth fixtures and run them in CI.
What you need
- Python to run the scripts
- Node.js and npm for Jest and Playwright commands
- Playwright, installed with npm init playwright@latest
- Jest coverage reports in JSON or LCOV format
Try asking
- Generate Jest test stubs for the components in src/components/
- Analyze my coverage report and flag gaps below 80 percent
- Scaffold Playwright E2E tests for the routes in src/app/
Good to know
- Generated tests are stubs with TODO markers that need manual completion.
- Custom test templates are passed through a template option, as shown in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: engineering-team/skills/senior-qa/SKILL.md, engineering-team/skills/senior-qa/scripts/coverage_analyzer.py, engineering-team/skills/senior-qa/scripts/e2e_test_scaffolder.py, engineering-team/skills/senior-qa/scripts/test_suite_generator.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md6 KB -
SKILL.md8 KB -
references/qa_best_practices.md23 KB -
references/test_automation_patterns.md24 KB -
references/testing_strategies.md17 KB
Show all 8 files
-
scripts/coverage_analyzer.py29 KB -
scripts/e2e_test_scaffolder.py26 KB -
scripts/test_suite_generator.py19 KB
Alternatives to senior-qa
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
senior-qa: common questions
Which frameworks does senior-qa support?
It targets React and Next.js apps and uses Jest, React Testing Library, MSW and Playwright.
Does the generator write finished tests?
It creates test files with describe blocks, render tests and interaction tests. The source says to review and customize them, and some stubs include TODO comments for specific cases.
What does the coverage analyzer read?
It reads Jest/Istanbul coverage reports in JSON or LCOV format. With the strict flag it exits with status 1 when coverage is below the threshold.
How do I install senior-qa?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is senior-qa free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is senior-qa safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to senior-qa?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
