tdmcp-coverage-writer

Identify untested coverage gaps in the tdmcp codebase and create focused Vitest tests.

30|6|Updated May 25, 2026
One-click install
npx skills add https://github.com/Pantani/tdmcp --skill tdmcp-coverage-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdmcp-coverage-writer
Source: https://github.com/Pantani/tdmcp/tree/main/.agents/skills/tdmcp-coverage-writer
Command: npx skills add https://github.com/Pantani/tdmcp --skill tdmcp-coverage-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies untested coverage gaps in the tdmcp codebase and provides a structured approach to add minimal, failing tests that prove the gap exists and is resolved.

Core Features & Use Cases

  • Focused test authoring: Creates small, deterministic tests that cover a single untested scenario.
  • Leverages existing helpers: Uses established test utilities like tests/helpers/tdMock.ts, KnowledgeBase, RecipeLibrary, and silentLogger to avoid scaffolding.
  • Regression protection: Ensures new tests guard against regressions when modifying MCP bridge, CLI, or tests infra.

Quick Start

Identify the coverage gap and add the smallest failing test using existing test helpers.

Frequently Asked Questions about tdmcp-coverage-writer

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

FAQPage Schema
How do I write focused tests to close coverage gaps in my codebase?

To close coverage gaps, identify untested scenarios and add small, deterministic tests using established helpers like tdMock.ts and silentLogger. This verifies single scenarios such as MCP bridge interactions or CLI behavior without scaffolding new utilities.

How do I test MCP bridge interactions and CLI behavior using Vitest?

You test MCP bridge interactions and CLI behavior by writing focused Vitest tests that leverage existing test infrastructure like KnowledgeBase and RecipeLibrary. This ensures your tests provide clear pass/fail signals for common scenarios without requiring new scaffolding.

Can I use msw to verify untested scenarios in my test infrastructure?

Yes, you can use msw when appropriate to verify untested scenarios in your test infrastructure. It helps create focused tests that prove coverage gaps exist and are resolved, guarding against regressions when modifying tests infra.

What is the best way to add minimal failing tests for untested coverage gaps?

The best way to add minimal failing tests for untested coverage gaps is to identify the specific gap and write the smallest deterministic test using existing helpers. This provides a structured approach to prove the gap exists and is resolved.

Do I need to scaffold new test utilities to add regression protection for my Vitest tests?

No, you do not need to scaffold new test utilities to add regression protection. You should leverage established test helpers like tests/helpers/tdMock.ts, KnowledgeBase, RecipeLibrary, and silentLogger to avoid scaffolding.