mpadmaraj

test-generation

1
1
# Install this skill:
npx skills add mpadmaraj/sample-agentic --skill "test-generation"

Install specific skill from multi-skill repository

# Description

>

# SKILL.md


name: test-generation
description: >
Generates unit tests that verify business behavior while
following testing guidelines defined in agents.md.


Skill: Test Generation

Purpose

Create meaningful tests that verify behavior, not implementation.


When to Use

  • Adding new service logic
  • Modifying existing business behavior

Inputs

  • Service methods
  • Expected behaviors
  • Edge cases

Outputs

  • Unit tests
  • Clear assertions
  • Readable test names

Governing Rules

Tests must follow Testing guidelines in agents.md.


Procedure

  1. Identify behaviors to test
  2. Write tests for happy and failure paths
  3. Keep tests readable and focused
  4. Avoid excessive mocking

Failure Handling

  • Stop if behavior is unclear
  • Flag untestable logic

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.