Skip to content
Back to skills

Tdmcp Coverage Writer

ASecurity

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.

  • 62 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
ai-agents

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add Pantani/tdmcp --skill tdmcp-coverage-writer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tdmcp Coverage Writer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tdmcp Coverage Writer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pantani-tdmcp-coverage-writer/badge)](https://www.skillsdirectory.com/skills/pantani-tdmcp-coverage-writer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tdmcp-coverage-writer
description: "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."
---

# 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.
5. Run the narrow test and fix any real failure.

## Assertions to prefer

- Real return text/JSON blocks from `CallToolResult`.
- Bridge request bodies captured by msw.
- Friendly `isError` results instead of thrown handler errors.
- CLI stdout/stderr and exit status for user-facing commands.
- Resource URI and payload shape consumed by MCP clients.

## Avoid

- Tests that only import a module to mark lines covered.
- Broad snapshots where a specific behavior assertion would do.
- New exclusions in coverage config.
- Rewriting production code unless the test exposes a real bug and the lead
  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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.