generate-tests

Generate a Playwright test suite for Next.js applications with authentication strategies.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/blackgirlbytes/team-starter-repo --skill generate-tests-blackgirlbytes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-tests
Source: https://github.com/blackgirlbytes/team-starter-repo/tree/main/.cursor/skills/audit-skills/generate-tests
Command: npx skills add https://github.com/blackgirlbytes/team-starter-repo --skill generate-tests-blackgirlbytes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive Playwright test suites, ensuring thorough end-to-end testing coverage for applications.

Core Features & Use Cases

  • Automated Test Generation: Discovers application flows and generates runnable Playwright tests.
  • Test Plan Confirmation: Outputs a detailed test plan for user review before code generation.
  • Use Case: Quickly generate a full suite of audit-related tests (accessibility, security, error handling) for a new Next.js application, ensuring compliance and stability.

Quick Start

Use the generate-tests skill to create a Playwright test suite for the current project.

Frequently Asked Questions about generate-tests

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

FAQPage Schema
How do I generate Playwright tests for a Next.js application?

To generate Playwright tests for a Next.js application, this Skill discovers application flows and creates a test plan before producing runnable end-to-end tests with verification steps.

Does this test generation approach work with Clerk authentication?

Yes, this test generation approach works with Clerk authentication by optionally utilizing Clerk testing utilities to handle authentication strategies within your generated Playwright test suite.

What is included in an automated e2e test suite generation?

Automated e2e test suite generation includes discovering application flows, confirming a detailed test plan for review, and outputting categorized user flows with audit-related tests like accessibility and security.

Do I need to install Playwright before generating e2e tests?

Yes, you need to install Playwright before generating e2e tests because it is a required dependency for creating and running the test suites with verification steps.

Can I review the test plan before the Playwright test code is written?

Yes, you can review the test plan before the Playwright test code is written because this Skill outputs a detailed test plan for user confirmation prior to generating the runnable tests.