/engineering-advanced-skills:senior-qafrom engineering-advanced-skills
Generates Jest + React Testing Library unit test stubs, analyzes Istanbul/LCOV coverage for gaps, and scaffolds Playwright E2E suites for React and Next.js projects.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Test automation, coverage analysis, and quality assurance patterns for React and Next.js applications. Generates Jest + React Testing Library unit test stubs, analyzes Istanbul/LCOV coverage for gaps, and scaffolds Playwright E2E suites for App Router and Pages Router projects.
jest-axe a11y).Before generating tests, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
test_suite_generator vs e2e_test_scaffolder).jest-axe) (sets which test stubs are emitted).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
| Tool | Purpose | Example (runs as written) |
|---|---|---|
test_suite_generator.py | Jest + RTL stubs from React components; reads the XProps interface to build typed mockProps for required props (--output, --include-a11y, --scan-only, --json) | python scripts/test_suite_generator.py assets/sample_components --output /tmp/qa/tests |
coverage_analyzer.py | Istanbul JSON / LCOV gap analysis with critical-path weighting (--threshold, --strict, --critical-paths, --format text/html/json, --json) | python scripts/coverage_analyzer.py assets/sample_lcov.info --threshold 80 --strict |
e2e_test_scaffolder.py | Playwright specs, page objects, fixtures and playwright.config.ts from Next.js routes, all written under --output | python scripts/e2e_test_scaffolder.py assets/sample_app/app --output /tmp/qa/e2e |
Exit codes: 0 ok; 1 coverage below --threshold when --strict is set (without
--strict the analyzer always reports and exits 0, so use --strict in CI); 2 bad input
(path not found, unparseable report). With --json the report goes to stderr and stdout is
pure JSON.
Generated stubs are a starting point: they render with valid required props and leave
TODO assertions, so they compile but assert nothing until you write the checks. The
sample LCOV has a payment file at 37.5% line coverage, so --strict --threshold 80 exits 1.
--output).TODO with an assertion on behaviour the user can see (role, text, called handler); delete stubs that test nothing useful.coverage_analyzer.py <report> --threshold <n> --strict.Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
jest-axe integration.This skill does NOT cover:
senior-backend for Express/Node.js testing patterns).senior-devops for infrastructure and performance tooling).Mistake: Committing the generated files with their TODO assertions still in place.
Why it happens: They run green and raise the coverage number.
Instead: A render with no assertion only proves the component does not throw. Write the assertion or delete the case.
Mistake: Reaching for getByTestId for every element.
Why it happens: It is the most stable selector to write.
Instead: Prefer getByRole and getByLabelText: they test what users and assistive tech see, and fail when accessibility regresses. Keep test IDs for elements with no accessible name.
Mistake: Passing CI because the project average clears 80%.
Why it happens: One number is easy to configure.
Instead: Use --critical-paths and read the per-file gaps: a 37% payment module hidden behind a 90% average is the bug that ships.
| File | Purpose |
|---|---|
scripts/test_suite_generator.py | Jest + RTL stub generator |
scripts/coverage_analyzer.py | Coverage gap analyzer and CI gate |
scripts/e2e_test_scaffolder.py | Playwright scaffolder for Next.js routes |
assets/sample_components/Button.tsx | Component with a typed props interface for the generator |
assets/sample_app/app/ | Two-route Next.js App Router tree for the scaffolder |
assets/sample_lcov.info | LCOV report with an under-tested payment file (strict gate exits 1 at 80) |
references/*.md | Workflows, CLI reference, strategies, automation patterns, best practices |
README.md (opens in a new tab)assets/sample_app/app/dashboard/page.tsx (opens in a new tab)assets/sample_app/app/login/page.tsx (opens in a new tab)assets/sample_components/Button.tsx (opens in a new tab)assets/sample_lcov.info (opens in a new tab)references/qa-workflows-and-tools.md (opens in a new tab)references/qa_best_practices.md (opens in a new tab)references/test_automation_patterns.md (opens in a new tab)references/testing_strategies.md (opens in a new tab)references/tool-cli-reference.md (opens in a new tab)scripts/coverage_analyzer.py (opens in a new tab)scripts/e2e_test_scaffolder.py (opens in a new tab)scripts/test_suite_generator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
/agenthubRuns a multi-agent job as a dependency graph: validates the DAG, tracks each agent's state on a board, then ranks and merges their outputs. Use when spawning parallel agents, monitoring a run, or merging results.
/agentic-evaluation-frameworkBuilds LLM and agent evals: weighted rubrics, LLM-as-judge design, inter-rater agreement and pairwise ranking (Elo, Bradley-Terry) from scores you collect. Use when setting up a judge, scoring outputs, or comparing model or prompt variants.
/agent-protocolDesign AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.
Other plugins' skills for the same job