harness-qa-generate-e2e-tests

Generate API and end-to-end tests for existing features with framework detection.

1|Updated May 23, 2026
One-click install
npx skills add https://github.com/baobao0303/harness --skill harness-qa-generate-e2e-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harness-qa-generate-e2e-tests
Source: https://github.com/baobao0303/harness/tree/main/.agents/skills/harness-qa-generate-e2e-tests
Command: npx skills add https://github.com/baobao0303/harness --skill harness-qa-generate-e2e-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps QA teams and AI coding agents create reliable automated end to end test coverage for already implemented features, reducing regressions and missing critical scenarios.

Core Features & Use Cases

  • Test Framework Detection: Automatically determines the project’s existing test framework (e.g., Playwright/Jest/Vitest/Cypress) and follows its patterns.
  • Feature-Driven Test Generation: Converts a user-specified feature or scanned directory into API tests (when applicable) and UI E2E tests (when UI exists).
  • Actionable Output Summary: Writes a test-summary markdown file into the configured implementation artifacts location.
  • Coverage-Focused Defaults: Targets happy paths plus 1–2 critical error cases, and validates by running the generated tests.

Quick Start

Ask the agent to generate QA automated tests for the feature you care about, and it will produce API and/or E2E tests that match your repository’s existing testing setup and save a summary report.

Frequently Asked Questions about harness-qa-generate-e2e-tests

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

FAQPage Schema
How do I generate e2e tests for existing code?

To generate e2e tests for existing code, the Skill scans your project directory or a user-specified feature to automatically produce API and UI tests. It detects your existing test framework and creates happy-path plus critical error cases to prevent regressions.

What testing frameworks are supported for automated test generation?

Automated test generation supports Playwright, Jest, Vitest, and Cypress. The Skill detects the project's existing test framework and follows its established patterns to ensure generated API and e2e tests match your current setup.

How do I automatically create API tests from existing features?

You can automatically create API tests from existing features by prompting the agent to generate QA tests for a specific feature. The Skill infers the feature scope from a directory scan, generates applicable API tests, runs them, and saves a markdown summary.

Does test generation include critical error cases or just happy paths?

Test generation includes both happy paths and 1-2 critical error cases. It targets coverage-focused defaults to prevent regressions by validating both successful user flows and critical failure scenarios within your generated API and e2e tests.

Can I use this to generate Playwright or Cypress tests without manual scripting?

Yes, you can generate Playwright or Cypress tests without manual scripting by requesting QA automated tests for your feature. The Skill detects the framework and writes tests that follow your repository's existing testing setup.

What happens after automated tests are generated and run?

After automated tests are generated and run, the Skill writes a test-summary markdown file into your configured implementation artifacts location. This actionable output summary documents the generated API and e2e test coverage for your features.