Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.
senior-qa
Security Scan Summary
Status: Safe
Source: Syntic Skills registry
Automated security scan completed with no high-risk patterns detected. Manual review is still required.
About This Skill
Use when generating unit tests, coverage analysis, and E2E tests for React/Next.js. Scaffolds Jest + React Testing Library tests, analyzes Istanbul/LCOV coverage gaps, sets up Playwright E2E tests.
Downloadable SKILL.md
Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.
---
name: senior-qa
description: Use when generating unit tests, coverage analysis, and E2E tests for React/Next.js. Scaffolds Jest + React Testing Library tests, analyzes Istanbul/LCOV coverage gaps, sets up Playwright E2E tests.
category: Engineering
version: 1.0.0
tools: []
---
# Senior QA Engineer
Test automation, coverage analysis, and quality assurance for React and Next.js applications.
## 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 patterns:**
- Basic usage: scan components and generate test stubs
- Include accessibility tests for components
- Generate with custom templates
**Supported patterns:**
- Functional components with hooks
- Components with Context providers
- Components with data fetching
- Form components with validation
## Coverage Analyzer
Parses Jest/Istanbul LCOV coverage reports and identifies gaps, uncovered branches, and actionable recommendations.
**Input:** Coverage report (JSON or LCOV format)
**Output:** Coverage analysis with recommendations and enforcement thresholds
**Usage patterns:**
- Analyze coverage report from Jest
- Enforce threshold with exit code on failure
- Generate HTML report
- Identify critical paths requiring high coverage
- Compare against previous coverage to track progress
## E2E Test Scaffolder
Scans Next.js pages/app directory and generates Playwright test files with common interactions.
**Input:** Next.js pages or app directory
**Output:** Playwright test files organized by route
**Usage patterns:**
- Scaffold E2E tests for App Router
- Include Page Object Model classes
- Generate tests for specific routes
## QA Workflows
**Unit Test Generation:** Scan for untested components → Generate test stubs → Review and customize → Run and check coverage
**Coverage Analysis:** Generate Jest coverage report → Analyze gaps → Identify critical paths → Generate stubs for uncovered code → Verify improvement
**E2E Test Setup:** Initialize Playwright → Scaffold tests from routes → Configure auth fixtures → Run E2E tests → Add to CI pipeline
## Testing Patterns Quick Reference
**React Testing Library queries (preferred order):**
- `getByRole()` - accessible, recommended
- `getByLabelText()` - form labels
- `getByPlaceholderText()` - input placeholders
- `getByTestId()` - last resort for custom elements
**Async testing patterns:**
- `findByText()` - wait for element
- `waitForElementToBeRemoved()` - wait for removal
- `waitFor()` - wait for condition
**Mocking with MSW (Mock Service Worker):**
- Setup server with `setupServer()`
- Define route handlers with `rest.get()`, `rest.post()`, etc.
- Call `server.listen()` in beforeAll, `server.resetHandlers()` after each test
**Playwright locators (recommended order):**
- `getByRole()` - button, textbox, heading, etc.
- `getByLabel()` - form labels
- `getByText()` - visible text
- Chain with `.filter()` for refinement
**Coverage thresholds in jest.config.js:**
```javascript
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80
}
}
```
## Tech Stack
**Testing Frameworks:** Jest, React Testing Library, Playwright
**Coverage Tools:** Istanbul, LCOV
**Mocking:** MSW (Mock Service Worker)
**Frameworks:** React, Next.js
## Quality Metrics
Track:
- Line coverage (code executed)
- Branch coverage (if/else paths)
- Function coverage (functions called)
- Statement coverage (statements executed)
- Trend: coverage over time across commits
Bundle Download
Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.
Install Targets
Syntic App
- 1. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 3. Run in a safe environment and validate outputs.
Source
https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/senior-qa/SKILL.md
Open Source LinkRelated Skills
a11y-audit
Use when auditing WCAG 2.2 Level A/AA accessibility, fixing violations in React, Next.js, Vue, Angular...
Engineeringadversarial-reviewer
Use when reviewing recent code changes or a PR before merge and you want a genuinely critical review, not...
Engineeringagent-designer
Use when architecting multi-agent systems, selecting orchestration patterns, or evaluating agent performance.
Engineeringagent-harness
Use when building bounded agentic loops with verified task execution and state machines.