test-generator

Generate unit, integration, and E2E tests following the AAA pattern.

2|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/Kaakati/sdh-claude-skills --skill test-generator-kaakati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/Kaakati/sdh-claude-skills/tree/main/.claude/skills/test-generator
Command: npx skills add https://github.com/Kaakati/sdh-claude-skills --skill test-generator-kaakati

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of robust test suites, ensuring code quality and reducing the manual effort required for testing.

Core Features & Use Cases

  • Automated Test Generation: Creates unit, integration, and E2E tests following best practices.
  • AAA Pattern Adherence: Ensures tests are structured with Arrange, Act, Assert.
  • Use Case: When a new feature is developed, use this Skill to generate a complete test suite that covers happy paths, edge cases, and error conditions, significantly speeding up the development cycle.

Quick Start

Use the test-generator skill to write unit tests for the file 'src/utils/helpers.ts'.

Frequently Asked Questions about test-generator

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

FAQPage Schema
How do I generate unit tests for an existing source file?

To generate unit tests, point the test-generator at your source file. It creates a complete test suite covering happy paths, edge cases, and error conditions using the AAA pattern.

What is the AAA pattern in test generation?

The AAA pattern structures tests into Arrange, Act, and Assert phases. This test generator adheres to AAA to ensure your generated unit, integration, and E2E tests are cleanly organized.

Can I generate integration tests and E2E tests alongside unit tests?

Yes, you can generate integration and E2E tests alongside unit tests. This Skill automates comprehensive test suite creation, applying mocking strategies and deterministic testing across all test layers.

What's the best way to improve code coverage for edge cases?

The best way to improve code coverage is to automate edge case analysis. This Skill generates deterministic test suites that target edge cases and error conditions, reducing manual effort.

Do I need to configure mocking strategies before generating tests?

You do not need to manually configure mocking strategies beforehand. The test generator applies mocking strategies automatically as part of its comprehensive test suite generation process.