testgen

Generate unit, integration, and end-to-end tests for Python and JavaScript/TypeScript projects.

11|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/pillip/claude-dev-kit --skill testgen-pillip
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testgen
Source: https://github.com/pillip/claude-dev-kit/tree/main/skills/testgen
Command: npx skills add https://github.com/pillip/claude-dev-kit --skill testgen-pillip

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scan codebases to identify missing or hollow tests and automatically generate unit, integration, and end-to-end tests, then create a PR to improve test coverage and reliability.

Core Features & Use Cases

  • Generate unit, integration, and end-to-end tests for missing coverage, adhering to project conventions.
  • Validate tests against existing test styles and run test suites to ensure stability.
  • Create a PR with a summary of gaps, number of tests generated, and coverage improvement.

Quick Start

Scan the target path or the entire repository to detect test gaps and automatically generate missing unit, integration, and end-to-end tests, then open a PR.

Frequently Asked Questions about testgen

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

FAQPage Schema
How do I automatically generate unit and integration tests to fill coverage gaps?

You can generate e2e tests for JavaScript and TypeScript projects. The tool scans your codebase to identify test gaps and automatically generates end-to-end tests while respecting your existing project conventions.

How do I create a PR with newly generated tests for missing coverage?

To create a PR with generated tests, scan the target path to detect gaps and automatically produce the missing tests. The tool runs the test suite to ensure stability and returns a gap report along with the PR URL.

Does the generated test suite respect existing project test styles and conventions?

Yes, the generated tests validate against and respect existing test styles. The tool analyzes your project structure and current tests to ensure the newly generated unit, integration, and e2e tests adhere to your established conventions.

What is the best way to find missing or hollow tests across my Python codebase?

The best way to find missing tests is to scan your Python codebase for test gaps. The tool identifies hollow tests across the repository or a specified path, automatically generates the missing coverage, and provides a detailed gap report.

How are generated tests validated before opening a pull request?

Generated tests are validated by running the test suite to ensure stability before opening a PR. The tool executes the newly created unit, integration, and e2e tests, reports the results, and includes a coverage improvement summary in the PR.