frontend-testing

frontend-testing is a skill for Claude Code, Codex from dvasyliev/ai-dev-tools-getting-started. It costs 50 tokens per session (2,616 once invoked), scanned A, original, no licence file.

A testing guide for Dify’s frontend code that creates Vitest and React Testing Library tests for components, hooks, and helper functions. Vitest runs JavaScript tests, while React Testing Library checks how users interact with interfaces.

In plain words
What is it for?
Use it to create or review unit and integration tests for Dify frontend components, hooks, and utilities.
Why use it?
It removes the need to decide how to structure these tests and which project setup to use. It responds to requests about tests, coverage, and test files.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dvasyliev/ai-dev-tools-getting-started/frontend-testing
Any agent
npx skills add dvasyliev/ai-dev-tools-getting-started --skill frontend-testing
Clone the repo
git clone --depth 1 https://github.com/dvasyliev/ai-dev-tools-getting-started

Made for: Claude Code, Codex.

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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/dvasyliev/ai-dev-tools-getting-started/frontend-testing.svg)](https://agentmods.dev/skills/dvasyliev/ai-dev-tools-getting-started/frontend-testing)
Your own site
<a href="https://agentmods.dev/skills/dvasyliev/ai-dev-tools-getting-started/frontend-testing"><img src="https://agentmods.dev/badge/skills/dvasyliev/ai-dev-tools-getting-started/frontend-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,616 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00050 $0.02616
Opus 5 $0.00025 $0.01308
Sonnet 5 $0.00010 $0.00523
Haiku 4.5 $0.00005 $0.00262

Measured 4d ago against content hash ac0b53966ba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-testing 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (assets/hook-test.template.ts, assets/utility-test.template.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

cursor/skills/frontend-testing/SKILL.md · 338 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 338 lines · 50 tokens per session scan A ac0b53966ba6

Subscribe to this mod's changes

frontend-testing is a skill published in the GitHub repository dvasyliev/ai-dev-tools-getting-started (21 stars, last pushed 4mo ago), with no licence file. It adds 50 tokens to every session and 2,616 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

react-testing-library

React Testing Library mechanics for testing React components and hooks — query selection, async handling, user interaction, assertions, provider setup, and the anti-patterns that make tests brittle. Use for any test that renders a React component or a hook, including choosing between getBy/queryBy/findBy, userEvent…

shipshitdev/skills · 86 tokens

app-routing

Guide for implementing client-side routing in Fusebase Apps apps. Use when: 1. Adding routing (React Router) to an app, 2. Fixing broken routes or 404s after deployment, 3. Configuring the router.

fusebase-dev/fusebase-flow · 53 tokens

component-test

Generate production-grade Vitest tests from HTML elements captured in DevTools. Two-phase workflow (analysis → generation) with edge case discovery.

Recusive/Skills · 30 tokens

frontend-dev-guidelines

Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features…

duongductrong/cursor-kit · 76 tokens

component-library

Expert React/Next.js component architect specializing in creating consistent, reusable, and maintainable components for monorepo projects. Use when creating or refactoring UI components, reviewing component architecture, or setting up shared component patterns in a monorepo.

shipshitdev/skills · 52 tokens

expo-architect

Scaffold a production-ready Expo React Native app with working screens, navigation, and optional Clerk auth. Generates complete mobile app structure that runs immediately with bun start. Use when scaffolding a new Expo or React Native app, setting up Expo Router navigation, or adding Clerk auth to a mobile app.

shipshitdev/skills · 64 tokens