Skip to content
Back to skills

Frontend Test

ASecurity

Generate frontend component tests (unit, snapshot, e2e). Auto-invoke when user says "test this component", "write component test", or "add component test".

  • 245 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
testingbashreactvuetestingfrontend

Works with

  • cli

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add alekspetrov/navigator --skill frontend-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontend Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alekspetrov-frontend-test/badge)](https://www.skillsdirectory.com/skills/alekspetrov-frontend-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontend-test
description: Generate frontend component tests (unit, snapshot, e2e). Auto-invoke when user says "test this component", "write component test", or "add component test".
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---

# Frontend Test Generator

Generate React/Vue component tests with React Testing Library including user interactions.

## When to Invoke

Auto-invoke when user mentions:
- "Test this component"
- "Write component test"
- "Test component"
- "Add component test"
- "Component tests for [name]"

## What This Does

1. Generates test file with RTL utilities
2. Tests component rendering
3. Tests user interactions (click, type, etc.)
4. Tests accessibility
5. Generates snapshot tests

## Success Criteria

- [ ] Test file generated with RTL imports
- [ ] Tests render component correctly
- [ ] User interactions are tested
- [ ] Accessibility attributes validated
- [ ] Tests follow React Testing Library best practices

**Auto-invoke when writing frontend component tests** ⚛️

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.