askill
frontend-test

frontend-testSafety 95Repository

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

30 stars
1.2k downloads
Updated 1/23/2026

Package Files

Loading files...
SKILL.md

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 ⚛️

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

79/100Analyzed 2/18/2026

A solid frontend testing skill with clear structure, trigger conditions, and success criteria. Covers React Testing Library basics well but lacks technical depth (no code templates, framework specifics, or configuration details). The skill is properly organized in a skills folder with good metadata, making it reusable for React projects. Minor improvements needed around specificity and expanding beyond React-only support.

95
85
70
75
70

Metadata

Licenseunknown
Version1.0.0
Updated1/23/2026
Publisherdkyazzentwatwa

Tags

testing