test-generator

Generate the smallest bounded regression test surface for a concrete target.

4|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/danielbaustin/agent-design-language --skill test-generator-danielbaustin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/danielbaustin/agent-design-language/tree/main/adl/tools/skills/test-generator
Command: npx skills add https://github.com/danielbaustin/agent-design-language --skill test-generator-danielbaustin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate or update the smallest truthful test surface for a concrete target (issue, diff, file, or worktree) to support bounded regression testing without broad feature rewrites.

Core Features & Use Cases

  • Write focused tests, fixtures, snapshots, and narrowly related test helpers to cover a concrete change.
  • Avoid absorbing unrelated product work or rewriting entire test suites.
  • Provide a guided workflow with inputs for repo_root, target, mode, and policy controls.

Quick Start

Specify the concrete target and run the generator to produce the smallest bounded regression tests.

Frequently Asked Questions about test-generator

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

FAQPage Schema
How do I generate focused regression tests for a specific git diff?

Use the generate_for_diff mode by supplying the repo_root and the target diff hunks to produce the smallest bounded test surface. This creates narrowly focused tests and fixtures covering only the specific changes without rewriting the entire suite.

What is the best way to create regression tests for a worktree?

Use the generate_for_worktree mode with the specified repo_root to build a minimal test surface. This validates focused changes within the isolated worktree environment without absorbing unrelated product work.

Can I generate tests for a specific file path or issue?

Yes, you can generate tests for a specific file path or issue by selecting the generate_for_path or generate_for_issue modes. Provide the corresponding target fields and repo_root to accurately bound the test generation surface.

Does the test generator allow creating new test files and updating fixtures?

Yes, the test generator allows creating new test files and updating fixtures through the allow_new_test_files and allow_fixture_updates policy controls. These optional inputs provide precise control over the generated test surface and fixtures.

How do I control the depth of generated regression tests?

Control the depth of generated regression tests using the optional test_depth input parameter. Combined with validation_mode, this ensures the generated test surface matches your required level of focused validation.

When should I avoid generating tests for a broad feature rewrite?

Avoid using this generator for broad feature rewrites because it produces the smallest bounded regression test surface for concrete targets. It prevents absorbing unrelated product work into your focused validation.