CtrlK
BlogDocsLog inGet started
Tessl Logo

senior-qa

Generates unit tests, integration tests, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analyzes Istanbul/LCOV coverage reports to surface gaps, scaffolds Playwright test files from Next.js routes, mocks API calls with MSW, creates test fixtures, and configures test runners. Use when the user asks to "generate tests", "write unit tests", "analyze test coverage", "scaffold E2E tests", "set up Playwright", "configure Jest", "implement testing patterns", or "improve test quality".

90

1.26x
Quality

86%

Does it follow best practices?

Impact

92%

1.26x

Average score across 6 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

80%

25%

Unit & Integration Tests for React Dashboard Components

Test generation script & RTL query patterns

Criteria
Without context
With context

Uses generator script

0%

25%

Script output flag

0%

0%

getByRole preferred

100%

100%

getByTestId as fallback only

100%

100%

userEvent over fireEvent

60%

100%

MSW for API mocking

0%

100%

MSW lifecycle hooks

0%

100%

Async findBy/waitFor

100%

100%

Co-located test files

100%

100%

AAA structure

62%

75%

Test naming pattern

100%

87%

92%

48%

Test Coverage Audit and Configuration for a Fintech Platform

Coverage configuration & analysis workflow

Criteria
Without context
With context

Uses coverage_analyzer script

0%

100%

Threshold flag used

0%

100%

Global threshold 80%

0%

100%

Branch threshold 75-80%

0%

100%

Critical path thresholds

100%

100%

collectCoverageFrom exclusions

100%

100%

Multiple coverage reporters

100%

100%

Coverage analysis workflow

60%

100%

Critical paths flag

0%

100%

Compare flag usage

0%

0%

JSON reporter flag

100%

100%

89%

14%

End-to-End Test Automation for a Next.js SaaS Authentication Flow

Playwright E2E setup & Page Object Model

Criteria
Without context
With context

Uses scaffolder script

0%

100%

POM flag used

0%

100%

Page Object class

100%

100%

Playwright accessible locators

100%

100%

Auth fixtures file

100%

100%

Fixture uses base.extend

100%

100%

Playwright init step

100%

100%

spec.ts file naming

100%

100%

waitForURL or waitForResponse

100%

0%

CI pipeline step

100%

100%

Locator chaining

50%

70%

100%

Set Up Shared Test Infrastructure for E-Commerce React App

Test data factories and provider utilities

Criteria
Without context
With context

User factory with overrides

100%

100%

Specialized factory variants

100%

100%

Product factory with faker or realistic data

100%

100%

renderWithProviders utility

100%

100%

QueryClient retry disabled

100%

100%

MSW handlers file

100%

100%

MSW server setup

100%

100%

MSW onUnhandledRequest error

100%

100%

MSW global lifecycle hooks

100%

100%

Sample test uses renderWithProviders

100%

100%

Sample test uses factory

100%

100%

Test file extension .test.tsx

100%

100%

100%

Write Tests for a Custom Hooks Library

Custom hook testing with renderHook and timers

Criteria
Without context
With context

renderHook used

100%

100%

act used for state updates

100%

100%

Counter reset tested

100%

100%

Fresh hook instance per test

100%

100%

Fake timers for debounce

100%

100%

advanceTimersByTime used

100%

100%

Callback not called before delay

100%

100%

Callback called once after delay

100%

100%

Test file extension .test.ts

100%

100%

Behavior-describing test names

100%

100%

Toggle initial value tested

100%

100%

92%

28%

Add Accessibility Tests to a Component Library

Accessibility testing with jest-axe and a11y script flag

Criteria
Without context
With context

Generator script with a11y flag

0%

100%

Generator output to __tests__

0%

100%

jest-axe import

100%

100%

expect.extend called

100%

100%

axe run on container

100%

100%

toHaveNoViolations assertion

100%

100%

Accessible queries in tests

33%

100%

a11y test file naming

0%

0%

All three components tested

77%

100%

Component implementations provided

100%

100%

Workflow documentation

100%

100%

Repository
alirezarezvani/claude-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.