test-writer

Generate unit and integration tests from git diffs and project conventions.

5|3|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/zebbern/termstack --skill test-writer-zebbern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-writer
Source: https://github.com/zebbern/termstack/tree/main/.claude/skills/test-writer
Command: npx skills add https://github.com/zebbern/termstack --skill test-writer-zebbern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maintaining code quality during rapid changes is hard; manually writing tests for every new feature or modification is time-consuming and error-prone.

Core Features & Use Cases

  • Automated test generation: Creates unit and integration tests for new or modified functions, classes, and modules by analyzing git diffs.
  • Conformance with project style: Aligns generated tests with the project's existing frameworks, conventions, and file structure.
  • Placement guidance: Suggests placing new tests next to source files or in established test directories to maximize discoverability.

Quick Start

Describe the code change and let the skill generate the corresponding tests automatically.

Frequently Asked Questions about test-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-generate unit tests from git diff code changes?

You can auto-generate unit tests from git diff code changes by analyzing newly added or modified functions, classes, and modules to automatically create corresponding unit, integration, and behavior tests based on the detected code modifications.

Can I automatically generate integration tests that match existing project test conventions?

Yes, automated test generation aligns with existing project frameworks, conventions, and file structures. It matches your test conventions by analyzing the project to maximize discoverability and maintain consistency across your test suites.

What is the best way to ensure comprehensive test coverage for new code modifications?

To ensure comprehensive test coverage for new code modifications, automated test generation analyzes git diffs and satisfies deterministic test requirements. It covers happy paths and edge cases while providing clear failure reporting to guide authors.

Does automated test generation work across different languages and frameworks?

Yes, automated test generation applies to unit, integration, and behavior tests across languages and frameworks. It aligns with existing project structures and test suites regardless of the specific development environment.

How do I start generating tests for my newly added code?

To start generating tests for newly added code, simply describe the code change. The skill will analyze the git diff and project conventions to automatically generate the corresponding tests and provide placement guidance.

Where should I place newly generated tests in my project structure?

Newly generated tests should be placed either next to source files or in established test directories. This placement guidance maximizes discoverability and aligns with the project's existing file structure conventions.