halflength-ampleness75

Test Gen — Testing skill for Claude Code

Testing community

Generate comprehensive tests for a specified file with edge cases and error scenarios.

How to install Test Gen

Installs to ~/.claude/skills/halflength-ampleness75-claude-code-recipes-test-gen/SKILL.md

Terminal
mkdir -p ~/.claude/skills/halflength-ampleness75-claude-code-recipes-test-gen && curl -fsSL https://raw.githubusercontent.com/halflength-ampleness75/claude-code-recipes/HEAD/commands/test-gen.md -o ~/.claude/skills/halflength-ampleness75-claude-code-recipes-test-gen/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Test Gen does


model: sonnet description: Generate comprehensive tests for a specified file with edge cases and error scenarios

Generate a thorough test suite for the file or module specified in `$ARGUMENTS`.

Step 1 — Analyze the Target

Read the file specified in `$ARGUMENTS`. If a file path is not provided, ask the user which file to test.

Identify:

  • All exported functions, classes, and methods
  • Input parameters and their types
  • Return types and possible return values
  • Side effects (I/O, ne

Alternatives in Testing

Full documentation available on GitHub

View Source Repository