agent-launcher-orchest…
Use when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an…
Write and improve tests for React or Next.js apps: Jest, React Testing Library, MSW mocks, Playwright E2E, coverage gaps. Use whenever the user asks to add tests to a component or page, mock an API, set up end-to-end tests or raise coverage.
Claude Code
$ npx -y skills add alirezarezvani/claude-skills --skill senior-qa --agent claude-code
Codex
$ npx skills add alirezarezvani/claude-skills --skill senior-qa -a codex -y
Cursor
$ npx skills add alirezarezvani/claude-skills --skill senior-qa -a cursor -y
Gemini CLI
$ npx skills add alirezarezvani/claude-skills --skill senior-qa -a gemini-cli -y
GitHub Copilot
$ npx skills add alirezarezvani/claude-skills --skill senior-qa -a github-copilot -y
OpenCode
$ npx skills add alirezarezvani/claude-skills --skill senior-qa -a opencode -y
Windsurf
$ npx skills add alirezarezvani/claude-skills --skill senior-qa -a windsurf -y
name: "senior-qa" description: "Write and improve tests for React or Next.js apps: Jest, React Testing Library, MSW mocks, Playwright E2E, coverage gaps. Use whenever the user asks to add tests to a component or page, mock an API, set up end-to-end tests or raise coverage."
Test automation, coverage analysis, and quality assurance patterns for React and Next.js applications.
---
# Generate Jest test stubs for React components python scripts/test_suite_generator.py src/components/ --output __tests__/ # Analyze test coverage from Jest/Istanbul reports python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80 # Scaffold Playwright E2E tests for Next.js routes python scripts/e2e_test_scaffolder.py src/app/ --output e2e/
---
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:**
# Basic usage - scan components and generate tests python scripts/test_suite_generator.py src/components/ --output __tests__/ # Include accessibility tests python scripts/test_suite_generator.py src/ --output __tests__/ --include-a11y # Generate with custom template python scripts/test_suite_generator.py src/ --template custom-template.tsx
**Supported Patterns:**
---
Parses Jest/Istanbul coverage reports and identifies gaps, uncovered branches, and provides actionable recommendations.
**Input:** Coverage report (JSON or LCOV format) **Output:** Coverage analysis with recommendations
**Usage:**
# Analyze coverage report python scripts/coverage_analyzer.py coverage/coverage-final.json # Enforce threshold (exit 1 if below) python scripts/coverage_analyzer.py coverage/ --threshold 80 --strict # Generate HTML report python scripts/coverage_analyzer.py coverage/ --format html --output report.html
---
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:**
# Scaffold E2E tests for Next.js App Router python scripts/e2e_test_scaffolder.py src/app/ --output e2e/ # Include Page Object Model classes python scripts/e2e_test_scaffolder.py src/app/ --output e2e/ --include-pom # Generate for specific routes python scripts/e2e_test_scaffolder.py src/app/ --routes "/login,/dashboard,/checkout"
---
Use when setting up tests for new or existing React components.
**Step 1: Scan project for untested components**
python scripts/test_suite_generator.py src/components/ --scan-only
**Step 2: Generate test stubs**
python scripts/test_suite_generator.py src/components/ --output __tests__/
**Step 3: Review and customize generated tests**
// __tests__/Button.test.tsx (generated)
import { render, screen, fireEvent } from '@testing-library/react';
import { Button } from '../src/components/Button';
describe('Button', () => {
it('renders with label', () => {
render(<Button>Click me</Button>);
expect(screen.getByRole('button', { name: /click me/i })).toBeInTheDocument();
});
it('calls onClick when clicked', () => {
const handleClick = jest.fn();
render(<Button onClick={handleClick}>Click</Button>);
fireEvent.click(screen.getByRole('button'));
expect(handleClick).toHaveBeenCalledTimes(1);
});
// TODO: Add your specific test cases
});**Step 4: Run tests and check coverage**
npm test -- --coverage python scripts/coverage_analyzer.py coverage/coverage-final.json
---
Use when improving test coverage or preparing for release.
**Step 1: Generate coverage report**
npm test -- --coverage --coverageReporters=json
**Step 2: Analyze coverage gaps**
python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80
**Step 3: Identify critical paths**
python scripts/coverage_analyzer.py coverage/ --critical-paths
**Step 4: Generate missing test stubs**
python scripts/test_suite_generator.py src/ --uncovered-only --output __tests__/
**Step 5: Verify improvement**
npm test -- --coverage python scripts/coverage_analyzer.py coverage/ --compare previous-coverage.json
---
Use when setting up Playwright for a Next.js project.
**Step 1: Initialize Playwright (if not installed)**
npm init playwright@latest
**Step 2: Scaffold E2E tests from routes**
python scripts/e2e_test_scaffolder.py src/app/ --output e2e/
**Step 3: Configure authentication fixtures**
// e2e/fixtures/auth.ts (generated)
import { test as base } from '@playwright/test';
export const test = base.extend({
authenticatedPage: async ({ page }, use) => {
await page.goto('/login');
await page.fill('[name="email"]', 'test@example.com');
await page.fill('[name="password"]', 'password');
await page.click('button[type="submit"]');
await page.waitForURL('/dashboard');
await use(page);
},
});**Step 4: Run E2E tests**
npx playwright test npx playwright show-report
**Step 5: Add to CI pipeline**
# .github/workflows/e2e.yml
- name: "run-e2e-tests"
run: npx playwright test
- name: "upload-report"
uses: actions/upload-artifact@v4
with:
name: "playwright-report"
path: playwright-report/---
| File | Contains | Use When | |------|----------|----------| | `references/testing_strategies.md
411 production-ready skills for Claude Code and 12 other coding agents, covering engineering, product, marketing, compliance, finance and the C-suite. We test whether each skill loads when you ask in plain words, and publish the results.
Use when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an…
Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds…
Use when someone has an agent idea to scope before launch ('help me scope an agent'). Interviews them about the one job and…
Use when a graded managed agent should run on a schedule, on an event trigger or on demand ('run it every morning'). Validates…
Use when a managed-agent build sheet is ready to launch ('launch it', 'deploy the agent'). Generates and validates API payloads…
Use when closing out a launched managed agent ('wrap up', 'what do I own now'). Inventories primitives with…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…