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.
curl -O https://raw.githubusercontent.com/jmrplens/gitlab-mcp-server/main/.github/skills/go-source-documentation/SKILL.mdgit clone --depth 1 https://github.com/jmrplens/gitlab-mcp-serverWrote 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.
[](https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/go-source-documentation)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.03448 |
| Opus 5.5 | $0.00030 | $0.01379 |
| Sonnet 5.5 | $0.00015 | $0.00690 |
| Haiku 4.5 | $0.00007 | $0.00345 |
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.
How it starts
The opening of the file, as written. The whole thing — 364 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-goor/doc-go - Asks to add file headers to Go files
- Asks to document a Go package
Prerequisites
Before starting, gather context:
- Read the target file(s) completely to understand structure and purpose
- Read related files in the same package to understand the package API surface
- Check existing tests to understand what behavior the code implements
- Identify the package role within the project architecture
- 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:
// branches.go implements MCP tool handlers for GitLab branch operations.
//
// It provides the following tools:
// - gitlab_branch_create: Create a new branch from a ref
// - gitlab_branch_list: List branches with optional search
// - gitlab_branch_protect: Protect a branch with access levels
// - gitlab_branch_unprotect: Remove protection from a branch
package branches
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.
- 1mo ago Changed · +12 lines 485304ee97fc
- 1mo ago First seen · 352 lines · 75 tokens per session scan A 8a862508a663
go-source-documentation is a skill published in the GitHub repository jmrplens/gitlab-mcp-server (46 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 3,448 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.
Other skills, from other repositories
goai
GoAI is a Go SDK for AI applications. One unified API across 25+ LLM providers. Inspired by the Vercel AI SDK, adapted to Go idioms (generics, interfaces, channels).
golang-benchmark
Run reproducible Go benchmarks, profiling, benchstat and CI regression analysis.
golang-observability
Instrument Go services using slog, OpenTelemetry, Prometheus and profiling.
go-expert
Expert-level Go development with Go 1.22+ features, concurrency, standard library, and production-grade best practices. Use when the user mentions concurrency, microservices, or backend, or when the task involves idiomatic Go, goroutines and channels, context-based cancellation, or writing an HTTP server.
go-code-review
Use when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code changes, even if the user doesn't explicitly request a style review. Does not cover language-specific syntax — delegates to specialized skills.
go-concurrency
Use when writing concurrent Go code — goroutines, channels, mutexes, or thread-safety guarantees. Also use when parallelizing work, fixing data races, or protecting shared state, even if the user doesn't explicitly mention concurrency primitives. Does not cover context.Context patterns (see go-context).