test-generation

Generate unit tests for modified source files using stack-detection data.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/julianjab/ia-tools --skill test-generation-julianjab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generation
Source: https://github.com/julianjab/ia-tools/tree/main/skills/test-generation
Command: npx skills add https://github.com/julianjab/ia-tools --skill test-generation-julianjab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate unit tests for recently modified or specified files to ensure changes are covered and regressions are caught early.

Core Features & Use Cases

  • Automates creation of unit tests based on public APIs and project conventions.
  • Supports tests for modified files, new features, or bug fixes across a repository.
  • Generates comprehensive test scenarios including happy path, edge cases, and error handling.

Quick Start

Run the skill to generate unit tests for recently modified files following the project's conventions.

Frequently Asked Questions about test-generation

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

FAQPage Schema
How do I auto-generate unit tests for recently modified source files?

To auto-generate unit tests for recently modified files, this skill reads stack-detection data to determine test commands, source extensions, and test directories, then creates tests with happy path, edge cases, and error scenarios.

Does test generation work with multi-language projects?

Yes, test generation works with multi-language projects by applying configured test patterns across the repository. It detects the stack to determine source extensions, test file naming, and the correct test directory structure.

What is the best way to create test scenarios for bug fixes across a repository?

The best way to create test scenarios for bug fixes is to run this skill, which targets specified or modified files and automatically generates comprehensive scenarios including happy paths, edge cases, and error handling.

Can I generate tests based on public APIs and existing project conventions?

Yes, you can generate tests based on public APIs and project conventions. The skill automates test creation by reading stack-detection data to align with your repository's configured test patterns and directory structure.

What types of test scenarios are automatically generated for changed code?

The test scenarios automatically generated for changed code include a happy path, edge cases, and error scenarios. This ensures your recent modifications are covered and regressions are caught early.

Do I need stack-detection data to generate tests for new features?

Yes, you need stack-detection data to generate tests for new features. The skill reads this data to determine the appropriate test command, source file extensions, test file naming, and target test directory.