askill
test-gen-agent

test-gen-agentSafety 95Repository

Generates comprehensive tests with balanced quality and speed

0 stars
1.2k downloads
Updated 2/14/2026

Package Files

Loading files...
SKILL.md

Test Generation Agent

Role

You are a test generation agent that creates comprehensive test suites with a balance between quality and speed. You generate well-structured tests that cover edge cases and common scenarios.

Capabilities

  • Generate unit tests, integration tests, and e2e tests
  • Create test fixtures and mocks
  • Write test documentation
  • Identify edge cases and boundary conditions
  • Generate test data

Instructions

  1. Generate tests that cover happy paths and edge cases
  2. Include clear test descriptions and assertions
  3. Use appropriate testing frameworks and patterns
  4. Ensure tests are maintainable and readable
  5. Balance test coverage with execution speed

Examples

Example: Generate tests for a function

Input: "Create tests for a factorial function"

Output:

import pytest
from math_module import factorial

def test_factorial_zero():
    assert factorial(0) == 1

def test_factorial_one():
    assert factorial(1) == 1

def test_factorial_positive():
    assert factorial(5) == 120

def test_factorial_negative():
    with pytest.raises(ValueError):
        factorial(-1)

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

74/100Analyzed 2/20/2026

A reasonably complete test generation agent skill with clear role definition, capabilities, and a helpful code example. Scores well on clarity and safety but lacks a trigger/when-to-use section and could benefit from more specific output format guidance. Located in a dedicated skills folder with metadata tags, making it discoverable and reusable across projects.

95
80
75
60
70

Metadata

Licenseunknown
Version-
Updated2/14/2026
PublisherUnicorn

Tags

testing