golang-documentation
Write, update, or review Go documentation: doc comments, package docs, runnable examples, READMEs, contribution guides, API references, and change notes.
Skill by reagin
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/reagin-golang-documentation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend, writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/golang-documentation
What's inside
- Skill name
golang-documentation- Description
- Write, update, or review Go documentation: doc comments, package docs, runnable examples, READMEs, contribution guides, API references, and change notes. Use when documentation is a deliverable or public behavior needs an audience-focused explanation.
- License
- MIT
- Instructions
- 80 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Go Documentation Write documentation that helps its intended reader make a correct decision or complete a task. Match the repository's voice, terminology, and existing information architecture. ## Establish audience and truth Before editing: 1. Inspect the documented code, go.mod, existing package comments, examples, README, contribution guidance, and release process. 2. Identify the primary audience: package consumer, CLI user, service operator, contributor, or maintainer. 3. Determine the source of truth for commands, configuration, defaults, compatibility, and generated API material. 4. Check whether the requested change affects a public API, behavior, migration path, or security assumption. Do not add README, CONTRIBUTING, CHANGELOG, llms.txt, badges, or generated API pages simply because a template exists. Create only artifacts required by the task and repository conventions. ## Go package documentation For exported packages and APIs: - Describe the contract, purpose, important invariants, side effects, concurrency behavior, ownership, and error conditions that callers cannot infer safely from the signature. - Keep comments close to the declaration and begin with the declared name when that improves Go documentation and lint compatibility. - Document units, accepted ranges, zero-value behavior, nil behavior, cancellation, mutation, and resource ownership when relevant. - State compatibility or deprecation guidance with an actionable replacement and timeline when one exists. - Avoid repeating the function body line by line or promising implementation details that are not contractual. - Use package comments to explain the package boundary and the smallest useful usage path. Examples should be minimal, compilable, deterministic, and safe to copy. Use Go example tests when executable output or discoverability in go doc matters. Do not include live credentials, unstable network dependencies, or time-sensitive output. ## Project and application documentation A useful project entry point normally answers only what the audience needs: - what the project is and is not; - how to install or build it using the repository's real commands; - one verified first-use path; - configuration precedence and required external services; - compatibility and support expectations; - where deeper operational, API, security, and contribution information lives. For commands, copy help output only when it is generated or kept in sync. For services, document health, startup dependencies, migrations, graceful shutdown, and operator-visible failure modes where applicable. Keep architecture documentation focused on decisions, boundaries, and consequences. Avoid directory-by-directory prose that becomes stale as soon as files move. ## API and change documentation When behavior changes, update the documentation at the same abstraction level: - public symbol change: doc comments and examples; - CLI or configuration change: user guide and migration note; - service contract change: authoritative API specification and compatibility note; - operational change: deployment or runbook documentation; - contributor workflow change: contribution guidance. A changelog should describe user-visible impact, not restate commit messages. Preserve the project's release format and do not invent semantic-version promises. ## Verification Use the repository's existing checks. Depending on the artifact, verify: - gofmt and go test for Go examples; - go doc rendering and package discovery; - documented commands in a safe local mode; - local Markdown links and headings; - names, flags, defaults, environment variables, and output against source; - generated documentation through its pinned generator rather than hand edits. Verify examples in a safe local mode. Treat publishing, large site regeneration, and repository-configuration changes as separate deliverables. ## Review checklist - Every statement is supported by current code or an authoritative source. - The document serves a defined audience and task. - Examples compile or are clearly marked as illustrative. - Public contracts include the non-obvious failure and ownership semantics. - Secrets, personal data, and internal-only endpoints are absent. - Links are direct, local links resolve, and duplicated guidance has one source of truth. - Removed or renamed behavior is not still advertised elsewhere. - The final document is concise enough to stay maintainable.
From reagin/agent-skills, MIT.
More from reagin/agent-skills
- 0.565score
frontend-apple-design
reagin
Design or review Apple-inspired web interfaces with clear hierarchy, consistent typography and materials, restrained motion, and accessible interactions.
SkillAFreshness: AClaude Code +9 - 0.565score
golang-continuous-integration
reagin
Create, improve, or simplify GitHub Actions for a Go repository, including tests, linting, caching, matrices, and release gates.
SkillAFreshness: AClaude Code +9 - 0.559score
frontend-react-file-structure
reagin
Use for React TypeScript file-structure work involving ownership or folders for new or moved files, multi-file components with narrow public entries, page and…
SkillAFreshness: AClaude Code +9 - 0.559score
frontend-ui-refinement
reagin
Refine existing web interfaces and simplify their behavioral tests.
SkillAFreshness: AClaude Code +9 - 0.529score
golang-context
reagin
Design or repair context propagation, cancellation, deadlines, and request-scoped values in Go APIs.
SkillBFreshness: BClaude Code +9 - 0.529score
golang-benchmark
reagin
Design, run, and interpret Go benchmarks, profiles, traces, and compiler diagnostics.
SkillBFreshness: BClaude Code +9 - 0.529score
golang-error-handling
reagin
Design or review Go error creation, wrapping, inspection, aggregation, logging boundaries, transport mapping, and panic recovery.
SkillBFreshness: BClaude Code +9 - 0.529score
golang-design-patterns
reagin
Select or review idiomatic Go patterns for constructors, configuration, lifecycle, resilience, streaming, data flow, and package boundaries.
SkillBFreshness: BClaude Code +9 - 0.529score
golang-cli
reagin
Design or review the framework-independent behavior and architecture of Go command-line applications: command UX, flags, configuration, output and exit…
SkillBFreshness: BClaude Code +9 - 0.529score
golang-gopls
reagin
Use gopls through an available host LSP integration, MCP surface, or CLI for semantic Go navigation, references, implementations, call hierarchy, diagnostics…
SkillBFreshness: BClaude Code +9 - 0.529score
golang-concurrency
reagin
Design or review concurrent Go code involving goroutines, channels, locks, atomics, worker pools, or race and leak symptoms.
SkillBFreshness: BClaude Code +9 - 0.526score
golang-graphql
reagin
Build, review, or debug Go GraphQL APIs using `github.com/99designs/gqlgen` or `github.com/graph-gophers/graphql-go`.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 25, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/reagin/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from reagin
- 0.565score
frontend-apple-design
reagin
Design or review Apple-inspired web interfaces with clear hierarchy, consistent typography and materials, restrained motion, and accessible interactions.
SkillAFreshness: AClaude Code +9 - 0.565score
golang-continuous-integration
reagin
Create, improve, or simplify GitHub Actions for a Go repository, including tests, linting, caching, matrices, and release gates.
SkillAFreshness: AClaude Code +9 - 0.559score
frontend-react-file-structure
reagin
Use for React TypeScript file-structure work involving ownership or folders for new or moved files, multi-file components with narrow public entries, page and…
SkillAFreshness: AClaude Code +9 - 0.559score
frontend-ui-refinement
reagin
Refine existing web interfaces and simplify their behavioral tests.
SkillAFreshness: AClaude Code +9 - 0.529score
golang-context
reagin
Design or repair context propagation, cancellation, deadlines, and request-scoped values in Go APIs.
SkillBFreshness: BClaude Code +9 - 0.529score
golang-concurrency
reagin
Design or review concurrent Go code involving goroutines, channels, locks, atomics, worker pools, or race and leak symptoms.
SkillBFreshness: BClaude Code +9
Cite this page
golang-documentation skill. Agent Mart. https://agentmart.dev/skills/reagin-golang-documentation (last updated 2026-10-24)