measure-spec-coverage
Measures how much of one specification document the tests verify, and lists the coverage items no test verifies.
The test analysis and test design knowledge lives in the test-designing-guide skill; this skill defines the procedure.
Input
Take the specification document from the specification document path or URL argument: any document that states specifications, e.g., a requirements document, design docs, or an ADR, as a file path or a URL (e.g., an issue, a wiki page, or a Google Docs document).
If it is omitted or names neither a file nor a URL, use AskUserQuestion to ask the user for it.
If it names a test design document — a document whose ## <test class> sections hold ### Test basis, as the design-tests skill outputs it — do not measure it: its test cases are derived from the specifications, so measuring against it checks the tests only against the test design, and misses the specifications the test design left out.
Tell the user so, name the test bases it lists as the documents to pass instead, and stop.
Read a URL yourself and treat what you read as the specification document, since a subagent may lack the credentials to read it.
Read it with the access the user set up, e.g., an MCP server or a CLI of the service (gh issue view <URL> --comments for GitHub Issues).
For an issue, read its comments as well as its body: the comments often revise the body.
In this skill, the terms mean: