test-gen

Generate test cases and fixtures from YAML specs and type constraints.

2|7|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/chidekina/aria-superpowers --skill test-gen-chidekina
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-gen
Source: https://github.com/chidekina/aria-superpowers/tree/main/skills/test-gen
Command: npx skills add https://github.com/chidekina/aria-superpowers --skill test-gen-chidekina

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual test creation from type constraints and YAML specs is time-consuming and error-prone; this skill automates it to ensure consistent coverage.

Core Features & Use Cases

  • Generate unit tests from constraints and specs
  • Create integration tests from endpoint definitions
  • Produce deterministic fixtures for test data
  • Provide end-to-end test generation guided by YAML specs

Quick Start

Invoke the /test-gen command on a YAML spec to generate tests and fixtures automatically.

Frequently Asked Questions about test-gen

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

FAQPage Schema
How do I auto-generate tests from YAML specs and type constraints?

Auto-generate tests by invoking the /test-gen command on your YAML specs, which automatically produces test cases and fixtures based on your defined type constraints. This automation ensures consistent test coverage for your software services.

Can I generate fixtures and integration tests for TypeScript backend endpoints?

Yes, you can generate fixtures and integration tests for TypeScript and JavaScript backend endpoints. The generation process applies field constraints and endpoint schemas to produce deterministic test data for your services.

Does test generation support filtering by specific endpoint names or data types?

Test generation supports optional --type and --endpoint filtering, allowing you to narrow down the generated test cases and fixtures to specific data types or endpoint definitions within your YAML spec.

What is the best way to ensure deterministic test data from boundary and uniqueness constraints?

Ensure deterministic test data by defining boundary, format, and uniqueness constraints within your YAML specs. The test generation process reads these constraints to produce consistent and predictable fixtures every time.

How do I create end-to-end tests from endpoint definitions without manual coding?

Create end-to-end tests by defining your endpoint schemas and field constraints in a YAML spec, then invoking the generator to automatically produce the required test cases and fixtures without manual coding.