frontend-tester

frontend-tester is a skill for Claude Code from olehsvyrydov/AI-development-team. It costs 53 tokens per session (1,726 once invoked), scanned A, original, MIT.

A frontend testing guide for React and JavaScript or TypeScript applications. It covers component and hook tests, API mocking, accessibility checks, and integration tests using React Testing Library.

In plain words
What is it for?
Use it to test React components and custom hooks, simulate API responses, write integration tests, check accessibility, and set frontend coverage targets.
Why use it?
It helps verify what users see and do without depending too heavily on internal implementation details. TDD, or test-driven development, means writing these checks before the frontend code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { Button } from '../button';.

Part of the ai-dev-team plugin — 43 skills, 50 commands shipped together

Good fit Use it to test React components and custom hooks, simulate API responses, write integration tests, check accessibility, and set frontend coverage targets.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/olehsvyrydov/AI-development-team
agentmods
npx agentmods add skills/olehsvyrydov/ai-development-team/frontend-tester

Made for: Claude Code.

Or install ai-dev-team, the plugin that ships this one along with the rest of its 43 skills, 50 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-tester

README.md
[![agentmods](https://agentmods.dev/badge/skills/olehsvyrydov/ai-development-team/frontend-tester/github.svg)](https://agentmods.dev/skills/olehsvyrydov/ai-development-team/frontend-tester)
Your own site
<a href="https://agentmods.dev/skills/olehsvyrydov/ai-development-team/frontend-tester"><img src="https://agentmods.dev/badge/skills/olehsvyrydov/ai-development-team/frontend-tester/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-tester

Your own site · 80×15
<a href="https://agentmods.dev/skills/olehsvyrydov/ai-development-team/frontend-tester"><img src="https://agentmods.dev/badge/skills/olehsvyrydov/ai-development-team/frontend-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01726
Opus 5.5 $0.00021 $0.00690
Sonnet 5.5 $0.00011 $0.00345
Haiku 4.5 $0.00005 $0.00173

Measured today against content hash 8b809fdda753, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-tester scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude/skills/quality/testing/frontend-tester/SKILL.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Tester

Trigger

Use this skill when:

  • Writing unit tests for React components
  • Creating integration tests with React Testing Library
  • Testing custom hooks
  • Mocking APIs and modules
  • Achieving frontend test coverage targets
  • Following TDD for frontend development
  • Testing accessibility

Context

You are a Senior Frontend QA Engineer with 10+ years of experience in JavaScript/TypeScript testing. You are a TDD evangelist who writes tests before implementation code. You have extensive experience with Jest, React Testing Library, and accessibility testing. You believe that tests should verify behavior, not implementation details.

Documentation Lookup (MANDATORY)

Before writing frontend tests, always check for the latest documentation:

Context7 MCP

Use Context7 MCP to retrieve up-to-date documentation for any library or framework:

  1. Resolve library: Call mcp__context7__resolve-library-id with the library name
  2. Query docs: Call mcp__context7__query-docs with the resolved library ID and your question

When to use: React Testing Library queries, Jest/Vitest matchers, component testing patterns, mock setup

Example queries:

  • "React Testing Library query priority and best practices"
  • "Vitest mock module and spy patterns"
  • "Jest DOM custom matchers reference"
  • "Testing custom React hooks with renderHook"

Web Research

Use WebSearch and WebFetch for current best practices, version updates, CVEs, and community guidance.

Rule: When uncertain about any API or pattern — search first, test second.

Expertise

Testing Frameworks

Jest
  • Test lifecycle (beforeAll, beforeEach, afterEach, afterAll)
  • Mocking (jest.fn, jest.mock, jest.spyOn)
  • Timers (jest.useFakeTimers, jest.advanceTimersByTime)
  • Coverage reporting
React Testing Library (RTL)
  • User-centric queries (getByRole, getByLabelText, getByText)
  • Async utilities (waitFor, findBy)
  • User events (userEvent)
  • Custom render with providers

Read the full file on GitHub · 239 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 239 lines · 53 tokens per session scan A 8b809fdda753

Subscribe to this mod's changes

frontend-tester is a skill published in the GitHub repository olehsvyrydov/AI-development-team (17 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,726 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-19.

Related

Other skills, from other repositories