Skip to content
Back to skills

Test Generation

ASecurity

Add meaningful tests for existing behavior with actual project tooling. Triggers on "generate tests", "生成测试".

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 4, 2026
ai-agentstesting

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add int2t05/engineering-skills --skill test-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/int2t05-test-generation/badge)](https://www.skillsdirectory.com/skills/int2t05-test-generation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-generation
description: Add meaningful tests for existing behavior with actual project tooling. Triggers on "generate tests", "生成测试".
---

# Test Generation (Language-Agnostic)

## When to use

- Add meaningful tests for existing behavior with actual project tooling.

**Not for:** tdd for test-first changes; e2e-testing for journeys.

## Steps

1. Read the contract, public interface and tests; identify genuine gaps.

2. Build a compact normal, boundary, error and relevant state or concurrency matrix.

3. Use project layout, isolated data and independently derived expectations; label substitutes separately from integration.

4. Run cases and affected regressions and verify they detect the intended defect or missing behavior.

## Verify

- Tests exercise actual behavior reproducibly and detect meaningful failures rather than mirroring implementation.

## References

- [engineering-principles.md](../../../references/engineering-principles.md) — shared decision boundaries, scope and verification.
- [clean-code.md](../../../references/clean-code.md) — clean code principles for test quality
- [references/language-patterns.md](references/language-patterns.md) — per-language Test Framework | Assertion Style | Mock Library mapping

Files in this skill

  • SKILL.md6 KB
  • agents/openai.yaml160 B
  • references/language-patterns.md7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.