gitlab-mcp-server: Skill for Claude Code

.github/skills/go-source-documentation/SKILL.md

go-source-documentation is a skill for Claude Code, Codex from jmrplens/gitlab-mcp-server. It costs 75 tokens per session (3,529 once invoked), scanned A, original, MIT.

A guide for adding standard Go documentation comments to source and test files. These comments explain packages, types, functions, constants, variables, and tests in the format used by Go's documentation tools.

In plain words
What is it for?
Use it when documenting Go files or packages, adding or improving comments, or explaining what tests validate.
Why use it?
It makes Go code easier to understand and produces documentation that follows the language's conventions.

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/go-source-documentation/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 go-source-documentation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/go-source-documentation"><img src="https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/go-source-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,529 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

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 →

  • high Privilege Escalation · line 281
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00075 $0.03529
Opus 5.5 $0.00030 $0.01412
Sonnet 5.5 $0.00015 $0.00706
Haiku 4.5 $0.00007 $0.00353

Measured 1mo ago against content hash 507e532f21d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-source-documentation 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.

.github/skills/go-source-documentation/SKILL.md · 367 lines

How it starts

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

Go Source Documentation Skill

Activation

Activate this skill when the user:

  • Asks to document Go source files or test files
  • Asks to add doc comments to Go code
  • Asks to improve or fix Go documentation
  • Mentions /document-go or /doc-go
  • Asks to add file headers to Go files
  • Asks to document a Go package

Prerequisites

Before starting, gather context:

  1. Read the target file(s) completely to understand structure and purpose
  2. Read related files in the same package to understand the package API surface
  3. Check existing tests to understand what behavior the code implements
  4. Identify the package role within the project architecture
  5. Use Context7 to verify current Go doc comment conventions if uncertain

Documentation Patterns

Pattern 1: Package Comment

Every package needs exactly one Package comment, and it lives in doc.go (the godoc audit reports one anywhere else; go run ./cmd/godoc_tool/ fix --move-package-doc moves it):

// Package tools implements MCP tool handlers for GitLab operations.
//
// Each tool follows a consistent pattern: a typed input struct with jsonschema
// tags defining the parameter schema, a handler function that calls the GitLab
// API, and a typed output struct for the response.
//
// Actions are exposed through [ActionSpecs], which feed catalog-backed meta,
// dynamic, gitlab://tools resources, and individual tool surfaces with
// appropriate annotations.
//
// # Supported Operations
//
//   - Branches: create, list, protect, unprotect
//   - Issues: create, list, get, update, search
//   - Merge Requests: create, list, get, update, merge
//   - Files: get content, create, update
//   - Commits: list, get details
package tools

Pattern 2: File Header Comment

For multi-file packages, each file gets a header describing its scope. The header goes immediately before the package declaration. Above it, separated by a blank line, every file (doc.go and the test files included) opens with the copyright and license header, which is not a doc comment and is never edited into one (Copyright and License Headers):

Read the full file on GitHub · 367 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. 1mo ago Changed · +3 lines 507e532f21d5
  2. 3mo ago Changed · +12 lines 485304ee97fc
  3. 3mo ago First seen · 352 lines · 75 tokens per session scan A 8a862508a663

Subscribe to this mod's changes

go-source-documentation is a skill published in the GitHub repository jmrplens/gitlab-mcp-server (58 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 3,529 once invoked, about $0.0003 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-30.

Related

go-source-documentation compared with skills from other repositories

go-source-documentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-source-documentationjmrplens/gitlab-mcp-serverSkill58todayMITA75Claude Code, Codex
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
go-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A65Claude Code
code-review-gosoulcodex/agenticSkill102d agoMITA61Claude Code, Codex
go-code-reviewcxuu/golang-skillsSkill1995mo agoApache-2.0A56Claude Code