af-testing-expertise

Configure Jest, Playwright, and React Testing Library for testing workflows.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/GainInsightDev/websites --skill af-testing-expertise
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-testing-expertise
Source: https://github.com/GainInsightDev/websites/tree/main/.claude/skills/af-testing-expertise
Command: npx skills add https://github.com/GainInsightDev/websites --skill af-testing-expertise

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and workflows for implementing robust testing strategies across various levels, ensuring code quality and reliability.

Core Features & Use Cases

  • Test Framework Configuration: Set up and utilize Jest, Playwright, and React Testing Library.
  • Testing Pyramid Adherence: Understand and apply the optimal distribution of unit, integration, and E2E tests.
  • TDD Workflow: Implement Test-Driven Development for a red-green-refactor cycle.
  • Email Verification: Integrate email testing into E2E flows using the Gmail API.
  • Use Case: When developing a new user authentication feature, use this Skill to guide the creation of unit tests for validation logic, component tests for the UI form, integration tests for API interactions, and E2E tests for the complete signup and login flow.

Quick Start

Use the af-testing-expertise skill to write a Playwright E2E test for the user signup flow based on the provided markdown scenario.

Frequently Asked Questions about af-testing-expertise

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Jest and React Testing Library for component testing?

To set up Jest and React Testing Library for component testing, you need to configure the frameworks to render UI components and assert their behavior. This Skill guides the configuration process to ensure optimal test distribution across the testing pyramid.

What is the testing pyramid and how does it apply to my test suite?

The testing pyramid is a principle dictating the optimal distribution of unit, integration, and E2E tests to ensure code reliability. It applies to your suite by guiding the implementation of balanced test strategies across various levels of application architecture.

Can I automate email verification in Playwright E2E tests using the Gmail API?

Yes, you can automate email verification in Playwright E2E tests using the Gmail API. This Skill provides specific workflows to integrate email testing directly into your E2E flows, allowing automated validation of user signup and authentication processes.

How do I implement a Test-Driven Development workflow for a new feature?

To implement a Test-Driven Development workflow, you follow a strict red-green-refactor cycle by writing failing tests before implementation. This Skill supports TDD workflows to guide code creation through iterative testing and structural refinement.

What's the best way to analyze test coverage and failures in Jest?

The best way to analyze test coverage and failures in Jest is to evaluate framework outputs against your testing strategy. This Skill guides the analysis of test coverage metrics and failure points to improve software development quality.