Frontend Testing Pack
by mochalatte
Audit and refactor frontend tests across React Testing Library, Vitest, Playwright, MSW, and Storybook.
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Your agent does
Audit
fireEventused instead ofuserEvent.getByTestIdused wheregetByRoleis preferred for accessibility.
Fixes
Replace with: await user.type(screen.getByRole('textbox', { name: /email/i }), 'test'); await user.click(screen.getByRole('button', { name: /submit/i }));
What you get
About this skill
The problem
Frontend tests often rot into unmaintainable, flaky, and low-confidence suites due to implementation-leakage and outdated patterns. Manual code review frequently misses subtle anti-patterns like improper async handling or brittle selectors that break on every UI refactor.
What it does
- Identifies common anti-patterns like
fireEventoveruserEventandgetByTestIdinstead of accessible role queries. - Audits Vitest configurations for issues with mock hoisting, timer cleanup, and thread safety.
- Checks Playwright scripts for missing
test.steplogging, unstable timeouts, and inefficient authentication flows. - Validates MSW handler structures and Storybook CSF3 compliance including interaction testing via the
playfunction.
Frameworks & tools
React Testing Library, Vitest, Playwright, MSW (Mock Service Worker), and Storybook.
Why this beats prompting it yourself
General LLMs often suggest deprecated patterns or mix syntax between different testing libraries. This skill enforces a strict 5-part sub-skill matrix to ensure your Vitest mocks don't leak into your Playwright fixtures while providing line-by-line fixes for modern best practices.
Use cases
- Migrating legacy Jest/Enzyme suites to modern React Testing Library and Vitest.
- Debugging flaky CI pipelines by identifying improper async
waitForusage. - Standardizing team testing patterns across component stories and E2E scripts.
- Performing accessibility-first audits by enforcing ARIA role-based selectors.
Known limitations
Operates only on provided source code. It does not execute tests, install dependencies, or interact with a live browser environment.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Frequently Asked Questions
Popular in Testing & QA

OptiTech QA (skill 1 of 6)
⚠️ Attention. This is 1 of 6 skills that cover the entire product build lifecycle. Feel free to download other OptiTech skills to build your production-ready products.

AI Coding / Developer Production Agent
Takes software work from coding and debugging through testing, release readiness, deployment verification, and production recovery.

rf-seleniumlib-to-browser-lib
SeleniumLibrary is the flakiest part of your Robot Framework suite. This skill swaps it for Browser library, structure intact

Toutour — Verified Onboarding Tours for Any Website
Analyzes your site's layout and UI, interviews you about preferences, then generates AND Playwright-verifies a spotlight onboarding tour — accessible, i18n-ready, colorblind-safe, MIT.