Use when adding new error messages to React, or seeing "unknown error code" warnings.
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
- Identify behaviors to test
- Write tests for happy and failure paths
- Keep tests readable and focused
- 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:
Amp
Antigravity
Claude Code
Clawdbot
Codex
Cursor
Droid
Gemini CLI
GitHub Copilot
Goose
Kilo Code
Kiro CLI
OpenCode
Roo Code
Trae
Windsurf
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.