← 9to5 CoverageCONTENT HISTORY
WHAT CHANGED
Update to 9to5 Coverage
Snapshot Nov 16, 2026 · 18:15 UTC · version 0.1.1
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save 9to5 Coverage and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Improve pull request coverage with exact, read-only context from the 9to5 coverage MCP server. Use when asked to identify uncovered changed lines, add or refine targeted tests, investigate coverage regressions, compare coverage runs, or verify that a test change improved PR coverage in a repository with 9to5 coverage enabled.",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 593
},
{
"relative_path": "references/mcp-tools.md",
"size_in_bytes": 1758
}
],
"name": "improve-coverage-with-9to5",
"skill_md_contents": "---\nname: improve-coverage-with-9to5\ndescription: Improve pull request coverage with exact, read-only context from the 9to5 coverage MCP server. Use when asked to identify uncovered changed lines, add or refine targeted tests, investigate coverage regressions, compare coverage runs, or verify that a test change improved PR coverage in a repository with 9to5 coverage enabled.\n---\n\n# Improve Coverage With 9to5\n\n## Overview\n\nUse 9to5 coverage to find the smallest meaningful coverage targets, then work against the local checkout to add tests and verify the result. Treat MCP as coverage evidence only: it never returns source and does not prove that a test is behaviorally correct.\n\n## Workflow\n\n1. Determine the repository as `owner/name` from the checkout remote or user context. If it is uncertain, call `list_repositories`.\n2. Resolve the current pull request number and call `get_pr_coverage` before any detailed query. Record the resolved commit SHA, report format, baseline, project conclusion, and patch conclusion.\n When the user wants a visual report, call `show_pr_coverage` with the resolved repository, PR number, format, commit, run ID, and run version. Its card keeps file queries and pagination bound to that snapshot. Uncovered file ranges include unchanged lines; use `get_uncovered_changed_lines` for changed-line test targets.\n3. Call `get_uncovered_changed_lines`. Paginate until the relevant target set is complete. Prioritize:\n - uncovered changed lines in behavior-bearing code;\n - files with the largest uncovered changed-line count;\n - line regressions before older uncovered lines;\n - narrow, coherent behaviors that can be tested without broad rewrites.\n4. Inspect the corresponding source and tests from the local checkout. Never ask MCP for source and never treat a line number alone as a test specification.\n5. When a target needs more coverage detail, call `get_test_suggestions_context` for at most 200 exact lines. Use its nearby hit states to understand coverage boundaries, not to invent assertions.\n6. Add focused tests that exercise observable behavior. Follow the repository's testing conventions and avoid assertions that merely execute lines.\n7. Run the smallest relevant test command first, then the repository's required broader checks.\n8. Produce and upload the new coverage report using the repository's existing 9to5 CI/upload flow. Do not expose or reuse MCP credentials as coverage-upload credentials.\n9. Re-query `get_pr_coverage` and `get_coverage_regressions`. Report the before/after patch metrics and any remaining uncovered changed ranges. Do not claim improvement until a new coverage run has been resolved.\n\n## Query Discipline\n\n- Pass `repository` to every repository-bound tool.\n- Preserve the resolved `format` across related queries.\n- Use exact SHAs when available. A SHA prefix must contain at least seven characters and be unique.\n- Pass signed cursors back unchanged and continue while `truncated` is true.\n- If `baseline_unavailable` is returned, stop regression analysis and explain that the matching base run must be uploaded. Never guess another baseline.\n- If `ambiguous_format` is returned, list runs and select the intended format from repository context.\n- Treat `repository_not_found_or_forbidden` as deliberately ambiguous; do not probe for repository existence.\n- See [references/mcp-tools.md](references/mcp-tools.md) for tool selection and stable errors.\n\n## Safety Boundaries\n\n- All 9to5 MCP tools are read-only. Make repository edits only when the user asked you to implement tests.\n- Read source and tests only from the authorized local checkout.\n- Do not log, print, commit, or pass OAuth/API tokens to test commands.\n- Do not use coverage-upload tokens at MCP or MCP tokens for uploads.\n- Coverage is line-based. Do not infer branch or condition coverage.\n- A covered line does not establish test quality. Prefer tests of behavior and failure modes over execution-only assertions.\n\n## Completion\n\nFinish with a compact evidence summary: test files changed, test commands and results, the resolved before/after run SHAs and format, patch coverage delta, closed target ranges, remaining target ranges, and any baseline or upload limitation.\n"
}SHA-256 of public snapshot: 9d90627911a5721ea1376ea4b3a7c86ffb4a82f15bcfa96d3d3fe4754256b0fc