testmatch

Generate tests that match an existing project's testing conventions.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/li3p/skills --skill testmatch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testmatch
Source: https://github.com/li3p/skills/tree/main/skills/testmatch
Command: npx skills add https://github.com/li3p/skills --skill testmatch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineers quickly create tests that match a project's existing testing style, reducing onboarding time and ensuring consistency.

Core Features & Use Cases

  • Discover nearby tests to infer conventions (framework, runner, and naming).
  • Generate new tests that align with established patterns for a target file, function, bug fix, or edge case.
  • Preserve local conventions while expanding coverage and maintaining readability.

Quick Start

Ask me to generate tests for a target file following the project's existing testing conventions.

Frequently Asked Questions about testmatch

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

FAQPage Schema
How do I generate tests that match my project's existing testing conventions?

To generate tests that match existing testing conventions, this skill discovers nearby tests to infer your framework, runner, and naming patterns, then produces new tests that align with those established styles for your target file or function.

What is the best way to add test coverage for a bug fix without breaking local conventions?

The best way to add test coverage while preserving local conventions is to analyze existing project tests to identify framework and fixture patterns, then automatically generate new edge case tests that maintain readability and align with your current setup.

Can I use this to discover testing patterns and frameworks already used in my codebase?

Yes, you can use this to discover testing patterns and frameworks already used in your codebase, as it scans nearby tests to automatically identify and infer your project's specific test runner, framework, and naming conventions.

Does this test generation tool work with any testing framework and fixture setup?

This test generation tool works with your project's native testing framework and fixture setup by analyzing existing tests to detect local conventions, ensuring newly generated tests integrate seamlessly without requiring a specific framework.

When do I need to generate tests that follow an existing project's testing style?

You need to generate tests that follow an existing project's testing style when adding coverage for a target file, function, bug fix, or edge case, ensuring new tests preserve local conventions and maintain codebase consistency.