ai-test-generation

Generate traceable QA test artifacts from PRDs, user stories, and API schemas.

64|12|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/petrkindlmann/qa-skills --skill ai-test-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-test-generation
Source: https://github.com/petrkindlmann/qa-skills/tree/main/skills/ai-test-generation
Command: npx skills add https://github.com/petrkindlmann/qa-skills --skill ai-test-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

AI-assisted test generation often suffers from disjoint artifacts, inconsistent naming, and weak traceability across the entire test pipeline. This Skill enforces a staged workflow that transforms a specification into structured requirements, risks, coverage, scenarios, oracles, and eventually code, with mandatory human review to maintain quality and maintainability.

Core Features & Use Cases

  • 7-step pipeline: Step-by-step process from Requirements Extraction to Human Review.
  • Guardrails enforce traceability, separation of concerns, and project conventions.
  • Generates artifacts: Requirements Document, Risk & Invariants, Coverage Matrix, Scenario Set, Oracle Definitions, and Test Code ready for review.
  • Applies to PRDs, user stories, API schemas, code diffs, and bug reports.
  • Suitable for teams that want repeatable, auditable QA test generation for complex systems.

Quick Start

To begin, provide a project spec or PRD and initiate the staged AI QA pipeline to produce the complete set of artifacts for review.

Frequently Asked Questions about ai-test-generation

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

FAQPage Schema
How do I generate test scenarios from a PRD or API schema?

To generate test scenarios from a PRD or API schema, this Skill extracts requirements, performs risk analysis, maps coverage, and produces scenario sets with traceable oracles. It structures disjointed specs into a complete set of QA artifacts ready for human review.

What is the best way to automate QA test generation for complex systems?

Automating QA test generation for complex systems is best achieved through a staged pipeline. This Skill enforces a seven-step process from requirements extraction to code generation, applying guardrails and separation of concerns to maintain test quality and reusability.

Can I use AI to create traceable test artifacts from code diffs and bug reports?

Yes, you can use AI to create traceable test artifacts from code diffs and bug reports. The pipeline accepts these input sources to map coverage and generate oracles, ensuring every generated test maintains traceability back to the original code changes or reported bugs.

How does an AI test generation pipeline maintain separation of concerns?

An AI test generation pipeline maintains separation of concerns by enforcing staged workflows with mandatory guardrails. This Skill separates requirements, risks, coverage, scenarios, oracles, and test code generation into distinct artifacts, preventing overlap and ensuring auditable QA outputs.

Does AI-assisted QA test generation require human review?

AI-assisted QA test generation requires human review as the final step in the pipeline. This Skill mandates human review of the generated requirements, coverage matrices, and test code to ensure the artifacts meet project-specific conventions and maintain high quality.

When should I not use automated test scenario generation?

You should not use automated test scenario generation when you lack a clear input source such as a PRD, user story, or API schema. The pipeline depends on these initial briefs to extract requirements and map coverage accurately for generating meaningful test oracles.