mcp-ratchet: Skill for Windsurf

.windsurf/skills/test-coverage/SKILL.md

test-coverage is a skill for Windsurf from hexxla/mcp-ratchet. It costs 12 tokens per session (142 once invoked), scanned A, original, MIT.

A Go-focused review tool that measures which parts of a program’s tests execute and suggests additional tests. Go is a programming language, and test coverage shows how much code the tests reach.

In plain words
What is it for?
Use it while reviewing or writing Go code to find missing edge cases, improve table-driven tests, check test structure, and consider mocks or integration tests.
Why use it?
It highlights untested paths and branches, helping reveal cases where a change could break behavior without causing a test failure.

Skill for Windsurf

Written for Windsurf: installed under .windsurf/.

This is hexxla/mcp-ratchet's own configuration. It tells Windsurf how to work on mcp-ratchet itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-ratchet configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hexxla/mcp-ratchet. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hexxla/mcp-ratchet/main/.windsurf/skills/test-coverage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hexxla/mcp-ratchet

Made for: Windsurf.

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/hexxla/mcp-ratchet/test-coverage/github.svg)](https://agentmods.dev/skills/hexxla/mcp-ratchet/test-coverage)
Your own site
<a href="https://agentmods.dev/skills/hexxla/mcp-ratchet/test-coverage"><img src="https://agentmods.dev/badge/skills/hexxla/mcp-ratchet/test-coverage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-coverage

Your own site · 80×15
<a href="https://agentmods.dev/skills/hexxla/mcp-ratchet/test-coverage"><img src="https://agentmods.dev/badge/skills/hexxla/mcp-ratchet/test-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 142 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.00012 $0.00142
Opus 5.5 $0.00005 $0.00057
Sonnet 5.5 $0.00002 $0.00028
Haiku 4.5 $0.00001 $0.00014

Measured 1mo ago against content hash fc64841c8887, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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.

.windsurf/skills/test-coverage/SKILL.md · 21 lines

What it actually says

Go Test Coverage Skill

When reviewing or writing Go code:

  • Analyze test coverage using go test -coverprofile
  • Identify uncovered code paths and branches
  • Suggest edge cases and boundary conditions to test
  • Recommend table-driven tests for multiple scenarios
  • Ensure tests are fast and deterministic
  • Validate that tests fail when code is broken
  • Suggest mocking strategies for external dependencies
  • Recommend integration tests for complex flows
  • Check for test file naming conventions (*_test.go)
  • Ensure test functions start with Test and are exported
  • Validate subtests are used with t.Run for organization
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. 1mo ago First seen · 21 lines · 12 tokens per session scan A fc64841c8887

Subscribe to this mod's changes

test-coverage is a skill published in the GitHub repository hexxla/mcp-ratchet (2 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 142 once invoked, about $0.0000 per session on Opus 5.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

application-testing

Sets up, runs, debugs, and interprets results from postman application test — the Postman layer that runs your Playwright tests, captures their network traffic, matches it against a collection contract, runs pm.test assertions, and publishes results to Application Inventory. Covers the Postman side of the integration…

Aryan-Jhaveri/mcp-statcan · 190 tokens

api-simulation

Runs your code for real against stand-ins for the HTTP services it calls, served together as one environment on one local port or one deployed URL, whether that code is a service you're changing, a frontend, a test suite or a demo. Use when you add or change code that calls other services and need to run it, test it…

Aryan-Jhaveri/mcp-statcan · 210 tokens

variables

Use when parameterizing requests across environments, choosing variable scopes, chaining values in scripts, or referencing credentials without committing or exposing them. Keeps one reusable collection while separating target configuration from secret values. Use for requests such as "where should I put this API key".

Aryan-Jhaveri/mcp-statcan · 54 tokens

api-mocking

Finds, builds, runs and publishes a stand-in for one API — the owning team's published mock when there is one, otherwise one built from its spec or collection that behaves like the real API, stateful when callers write then read. Use when something needs an API that isn't built or reachable yet (a frontend, client or…

Aryan-Jhaveri/mcp-statcan · 128 tokens

bootstrap

Use when resolving Postman CLI setup, authentication, or a repository workspace binding; initializing local API files; handling a CLI error that says an operation isn't allowed because of insufficient entitlements; or importing, pulling, pushing, syncing, or sharing workspace resources. Reuses existing context and…

Aryan-Jhaveri/mcp-statcan · 86 tokens

go-testing

Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. Also use when a user asks to write a test for a Go function, even if they don't mention specific patterns like table-driven tests or subtests. Does…

cxuu/golang-skills · 80 tokens