test-coverage

test-coverage is a skill for Claude Code from dgambhir01/ado-testcraft. It costs 58 tokens per session (2,007 once invoked), scanned A, original, MIT.

A coverage checker for Azure DevOps User Stories and their linked test cases. Coverage means how much of the story's required behavior is tested.

In plain words
What is it for?
Use it with an Azure DevOps story ID or URL to retrieve its acceptance criteria and linked tests. It produces a gap-analysis table covering both directions of test relationships.
Why use it?
It shows where acceptance criteria are fully covered, only partly covered, or not tested. This helps reveal missing tests before work is considered complete.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code.

Part of the ado-testcraft plugin — 3 skills, 1 MCP server shipped together

Good fit Use it with an Azure DevOps story ID or URL to retrieve its acceptance criteria and linked tests. It produces a gap-analysis table covering both directions of test relationships.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dgambhir01/ado-testcraft/test-coverage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dgambhir01/ado-testcraft --skill test-coverage
Clone the repo
git clone --depth 1 https://github.com/dgambhir01/ado-testcraft

Made for: Claude Code.

Or install ado-testcraft, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/dgambhir01/ado-testcraft/test-coverage.svg)](https://agentmods.dev/skills/dgambhir01/ado-testcraft/test-coverage)
Your own site
<a href="https://agentmods.dev/skills/dgambhir01/ado-testcraft/test-coverage"><img src="https://agentmods.dev/badge/skills/dgambhir01/ado-testcraft/test-coverage.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,007 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.02007
Opus 5 $0.00029 $0.01004
Sonnet 5 $0.00012 $0.00401
Haiku 4.5 $0.00006 $0.00201

Measured 7d ago against content hash 9857b5becf9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

test-coverage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/test-coverage/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Coverage Gap Analysis

Instructions

The user will provide an Azure DevOps User Story ID or URL.

Step 0 — Pre-flight checks (before any MCP call)

Validate input format first.

  • If the input is a plain integer (e.g. 12345), use it directly as the work item ID.
  • If the input is a URL, extract the numeric ID from either of these formats:
    • https://dev.azure.com/{org}/{project}/_workitems/edit/{id}
    • https://{org}.visualstudio.com/{project}/_workitems/edit/{id}
  • If the input is neither a numeric ID nor a recognised ADO URL, stop immediately:

    "That doesn't look like a valid ADO work item ID or URL. Please provide a numeric ID (e.g. 12345) or a full Azure DevOps work item URL."

Validate MCP availability.

Confirm the Azure DevOps MCP server is connected. If it is not available, stop:

"The Azure DevOps MCP server is not connected. Run /ado-testcraft:setup to configure your credentials, then restart Claude Code."

Resolve the project name from the environment.

Read the ADO_PROJECT environment variable using a shell tool and remember the value — you will pass it as the project parameter on every MCP tool call.

  • Windows (PowerShell): $env:ADO_PROJECT
  • macOS / Linux (Bash): echo $ADO_PROJECT

If the returned value is empty, stop:

"ADO_PROJECT environment variable is not set. Run /ado-testcraft:setup for step-by-step configuration."

Step 1 — Fetch and validate the work item

Use the Azure DevOps MCP to fetch the work item by ID. Always pass the project parameter with the value resolved in Step 0. Always fetch fresh data — never reuse work item data from a previous invocation in the same conversation.

If the fetch fails or the ID does not exist, stop:

"Could not fetch work item [ID]. Please verify the ID is correct and that your PAT has Work Items (Read) scope."

Check the work item type (System.WorkItemType).

If the type is anything other than User Story, stop:

"Work item [ID] is a [type] — not a User Story. /ado-testcraft:test-coverage only supports User Stories."

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 190 lines · 58 tokens per session scan A 9857b5becf9a

Subscribe to this mod's changes

test-coverage is a skill published in the GitHub repository dgambhir01/ado-testcraft (1 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 2,007 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

no-silent-pass

Write Python whose failures are visible and checks that actually fire — distinct sentinels for success and error, filters that narrow to nothing without reading as "all clear", output never discarded on a non-zero exit, and selftest cases proven red before they are trusted (mutate the fix, mutate it the other way too…

AleksandarBisevac/claude-plugins · 143 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

validate-album

Validates album directory structure, file locations, and content integrity. Use before release or whenever the user wants to check an album's structural health.

bitwize-music-studio/claude-ai-music-skills · 33 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

test-review

Test coverage review via Codex exec. Use when: reviewing test sufficiency, identifying coverage gaps, test quality audit. Not for: generating tests (use codex-test-gen), code review (use codex-code-review). Output: coverage analysis + gap report.

sd0xdev/sd0x-harness · 56 tokens

api-testing

HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.

secondsky/claude-skills · 39 tokens