grey-haven-test-generation

Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling. Use when generating tests for existing code, improving coverage, or creating systematic test suites. Triggers: 'generate tests', 'add tests', 'test coverage', 'write tests for', 'create test suite'.

⭐15stars🔀2forks📁View on GitHub🕐Updated Dec 27, 2025

When & Why to Use This Skill

This Claude skill automates the creation of comprehensive test suites, including unit tests, integration tests, and error-handling scenarios. By analyzing existing code structures, it generates thorough test coverage and identifies critical edge cases, significantly improving software reliability and accelerating the development lifecycle through automated quality assurance.

Use Cases

  • Legacy Code Stabilization: Automatically generate unit tests for existing codebases to ensure stability and prevent regressions during refactoring.
  • Coverage Optimization: Identify and populate tests for low-coverage areas in a project to meet strict organizational quality benchmarks.
  • Edge Case Validation: Systematically create test suites that target complex edge cases and error-handling paths that are often overlooked during manual testing.
  • Rapid Prototyping: Quickly generate boilerplate test suites for new features or APIs to facilitate Test-Driven Development (TDD) workflows.
namegrey-haven-test-generation
description"Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling. Use when generating tests for existing code, improving coverage, or creating systematic test suites. Triggers: 'generate tests', 'add tests', 'test coverage', 'write tests for', 'create test suite'."
# v2.0.43Skills to auto-load for test generation subagents
# v2.0.74Restrict tools for test generation work

Test Generation Skill

Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling.

Description

Automated test generation analyzing code structure and generating thorough test coverage for existing implementations.

What's Included

  • Examples: Unit test generation, integration tests, edge cases
  • Reference: Test patterns, coverage strategies
  • Templates: Test suite templates for different frameworks

Use When

  • Need test coverage for existing code
  • Improving low coverage areas
  • Systematic test creation
  • test-generator

Skill Version: 1.0