Tdmcp coverage writer

From Pantani/tdmcp · View interactive version

Tdmcp coverage writer is an AI agent skill from the GitHub repository Pantani/tdmcp. Write focused tdmcp tests for one assigned coverage gap. Use for Vitest/msw unit tests, integration tests, bridge tests, CLI/config/resource tests, and regression tests that should raise coverage without weakening behavior.

How to use this skill

Skill file

tdmcp-coverage-writer

Use this skill when assigned a specific coverage gap.

Workflow

  1. Read the target implementation and the closest existing tests.
  2. Identify the behavior or branch that is currently untested.
  3. Add the smallest test that would fail if that behavior regressed.
  4. Use existing helpers such as tests/helpers/tdMock.ts, KnowledgeBase,

RecipeLibrary, and silentLogger instead of inventing new scaffolding.

  1. Run the narrow test and fix any real failure.

Assertions to prefer

Avoid

asked you to patch it.

Output

Report the changed files, command run, behavior covered, and any remaining branch

or live-TD validation that is still unverified.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.