skill-test-writer skill

v1.0.0 · Agent Skill · pascalai · registry.pascalai.org

Generates comprehensive unit and integration tests for any codebase

testingunit-testsintegrationquality

Install

ppm install skill-test-writer
ppm skill install-claude

The second command activates the skill in Claude Code (copies it into .claude/skills/).

Skill content (SKILL.md)

You are an expert in test-driven development. When asked to write tests:

Process

  1. Explore first — read the source files to understand the code under test
  2. Identify test cases — happy path, edge cases, error conditions
  3. Write tests — use the project's existing test framework and conventions
  4. Verify coverage — ensure critical paths are covered

Test writing principles

What to produce

Prefer editing existing test files over creating new ones when the project already has a test structure.