gitlab-mcp-server: Skill for Claude Code

.github/skills/increase-test-coverage/SKILL.md

increase-test-coverage is a skill for Claude Code, Codex from jmrplens/gitlab-mcp-server. It costs 84 tokens per session (5,945 once invoked), scanned B, original, MIT.

A workflow for raising test coverage in Go projects, meaning the share of code exercised by automated tests. It researches untested areas, plans tests, writes them, and checks the coverage result.

In plain words
What is it for?
Use it to add table-based tests, test HTTP-based integrations with local test servers, and measure coverage with Go's testing tools.
Why use it?
It helps find missing tests and reduces the risk that important paths, edge cases, or failures go unchecked.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is jmrplens/gitlab-mcp-server's own configuration. It tells Claude Code and Codex how to work on gitlab-mcp-server 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 gitlab-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jmrplens/gitlab-mcp-server. 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/jmrplens/gitlab-mcp-server/main/.github/skills/increase-test-coverage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jmrplens/gitlab-mcp-server

Made for: Claude Code, Codex.

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 increase-test-coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/increase-test-coverage/github.svg)](https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/increase-test-coverage)
Your own site
<a href="https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/increase-test-coverage"><img src="https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/increase-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 increase-test-coverage

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/increase-test-coverage"><img src="https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/increase-test-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,945 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 328
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Privilege Escalation · line 392
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00084 $0.05945
Opus 5.5 $0.00034 $0.02378
Sonnet 5.5 $0.00017 $0.01189
Haiku 4.5 $0.00008 $0.00594

Measured 11d ago against content hash dc3716edef45, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

increase-test-coverage scanned grade B with 1 finding 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Tests run as root.** Permission bits make nothing fail. A read that must fail even for root uses a broken symlink (`os.Symlink` to a missing target); a write that must fail goes through a seam.
.github/skills/increase-test-coverage/SKILL.md · 502 lines

How it starts

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

Increase Test Coverage

Primary Directive

Systematically increase Go test coverage to 100% per touched package, preexisting code included, using a structured Research → Plan → Implement pipeline; every function that stays below 100% is named in the report with its reason. Generate comprehensive, buildable, passing tests that follow project conventions and use proper mocks for external dependencies.

All tests must:

  • Compile and pass on the first run
  • Use existing test helpers and patterns found in the codebase
  • Mock external dependencies (GitLab API) via httptest
  • Follow table-driven test patterns with t.Run() subtests
  • Cover happy paths, edge cases, and error scenarios
  • Include documentation (doc comment) explaining what each test validates and why
  • Be verified against false passes (assertions that never fail)
  • Be written in English per project language policy

Execution Context

This skill is designed for the Test Expert agent or any agent tasked with increasing test coverage. It operates on Go codebases that use the standard testing package and net/http/httptest; this project has no testify dependency, so assertions are plain t.Errorf / t.Fatalf.

Pipeline Overview

flowchart TD
    start[Increase test coverage]
    research[Research\nMeasure coverage and analyze gaps]
    plan[Plan\nPrioritize gaps by package]
    implement[Implement\nWrite tests per phase]
    build[Build\ngolangci-lint and go build]
    test[Test\ngo test]
    fix[Fix\nRepair errors]

    start --> research --> plan --> implement
    implement --> build
    implement --> test
    implement --> fix
    fix --> build
    fix --> test

Phase 1: Research

Thoroughly analyze the codebase and measure current coverage before writing any tests.

Step 1: Measure Baseline Coverage

Run coverage analysis for the entire project:

go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out

Record the per-package and per-function coverage percentages. This is the baseline.

Read the full file on GitHub · 502 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. 11d ago Changed dc3716edef45
  2. 22d ago Changed 74f99f824130
  3. 1mo ago Changed c187e767b019
  4. 1mo ago Changed · +4 lines 99626b9f8449
  5. 2mo ago Changed eece0e4531e2
  6. 2mo ago Changed · -1 lines 7ec56114167d
  7. 2mo ago Changed 6a4efe9a76a5
  8. 2mo ago Changed 6e5a1b481fb3
  9. 2mo ago Changed · +8 lines fc612b3a6793
  10. 2mo ago First seen · 491 lines · 84 tokens per session scan B 39ec9ec7d117

Subscribe to this mod's changes

increase-test-coverage is a skill published in the GitHub repository jmrplens/gitlab-mcp-server (58 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 5,945 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

increase-test-coverage compared with skills from other repositories

increase-test-coverage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
increase-test-coveragejmrplens/gitlab-mcp-serverSkill58todayMITB84Claude Code, Codex
go-testingcxuu/golang-skillsSkill1995mo agoApache-2.0A80Claude Code
golang-testingaffaan-m/ECCSkill317k4d agoMITA37Claude Code, Kiro
goaizendev-sh/goaiSkill2508d agoMITA0Claude Code, Codex
golang-benchmarkseaworld008/Commonly-used-high-value-skillsSkill756d agoMITA20Claude Code, Codex
golang-observabilityseaworld008/Commonly-used-high-value-skillsSkill756d agoMITA31Claude Code, Codex
golang-testingalexastrum/sklSkill114d agoMITA115Claude Code