Claude Code plugin
Go Guidelines
Make your AI code agent write production-grade Go instead of tutorial-grade Go. A plugin for Opencode, Codex, Pi, Cursor and Claude Code with version-aware guidelines (Go 1.0–1.27) covering modern syntax, performance tuning, error handling, concurrency patterns, testing, and graceful shutdown.
Install
/plugin marketplace add mhmtszr/go-guidelinesFound in the project README. Check it for setup steps after installing.
git clone https://github.com/mhmtszr/go-guidelines.gitFrom the README
Go Guidelines Make your AI code agent write production-grade Go instead of tutorial-grade Go. A composable skill plugin for coding agents — covering modern syntax, generics, performance, concurrency safety, error handling, testing, and post-change verification including go fix on Go 1.26+. Quickstart Install Go Guidelines for your agent: Claude Code, Codex CLI, Cursor, OpenCode, Pi. Motivation All coding agents tend to generate outdated and suboptimal Go. Key reasons: 1. Training data lag. Models don't know about features added after their training cutoff. They can't use wg.Go() (1.25), new(val) (1.26), or generic methods (1.27) if they've never seen them. 2. Frequency bias. Even for features the model knows, it picks older patterns. There's more for i := 0; i < n; i++ in the training data than for i := range n, so that's what comes out. 3. No performance awareness. Agents don't align struct fields, don't set GOMAXPROCS for containers, and spawn unbounded goroutines instead of using pools. 4. Broken operational patterns. Generated shutdown code closes the database before draining the HTTP server. Resources get leaked. Signals get ignored. 5. No post-change verification. Agents never run golangci-lint, go fix (Go 1.26+), or tests with the race detector after making changes. These guidelines fix all of the above by giving the agent an explicit, version-aware reference. The agent detects your Go version from go.mod and applies only the features and patterns available up to that version. This aligns with the Go team's direction. The rewritten go fix command (Go 1.26+) modernizes existing code with analyzers for newer idioms. These guidelines serve the same goal for *new* code — and on Go 1.26+ they also require agents to run go fix after changes. How it…
How plugins work
- A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
- Add the marketplace inside Claude Code with /plugin marketplace add mhmtszr/go-guidelines, then run /plugin to pick what to install.
- You can turn a plugin off again from /plugin without deleting anything.
Details
- Repository
- mhmtszr/go-guidelines
- Language
- JavaScript
- License
- MIT
- Last updated
- 28 August 2026
FAQ
What is Go Guidelines?
Make your AI code agent write production-grade Go instead of tutorial-grade Go. A plugin for Opencode, Codex, Pi, Cursor and Claude Code with version-aware guidelines (Go 1.0–1.27) covering modern syntax, performance tuning, error handling, concurrency patterns, testing, and graceful shutdown. It is a plugin for Claude Code, from mhmtszr/go-guidelines on GitHub.
How do I install Go Guidelines?
Run /plugin marketplace add mhmtszr/go-guidelines inside Claude Code, then follow the setup in the README.
Is Go Guidelines popular?
mhmtszr/go-guidelines has 105 GitHub stars and 6 forks. It was last updated on 28 August 2026.
More plugins & marketplaces
Immich Photo Manager
62drolosoft/immich-photo-manager
MCP server and Claude Code plugin for self-hosted Immich: CLIP and OCR search, geographic albums, duplicates, people and faces, metadata repair, PDF photobooks. 94 tools, tested live on Immich 2.x and 3.x.
Skills
101obie/skills
Claude Code skills marketplace - Production-ready skills for enhanced development workflows
Claude Code Seo
111huifer/claude-code-seo
Next.js SEO assistant plugin for Claude Code CLI. Automated SEO audits with 100-point scoring across 6 dimensions. Covers metadata, structured data, E-E-A-T, content strategy, local SEO, and backlink building. Supports bilingual optimization, smart route detection, and 27+ commands for comprehensive SEO management.
Dna Claude Analysis
59shmlkv/dna-claude-analysis
Run scripts, explore your genome, and get personalized explanations — all in natural dialogue.
Claude Code Toolkit
92stefan-jansen/claude-code-toolkit
Superseded by coding-agent-toolkit — see README. Preserved for reference: Claude-Code-only patterns from earlier iteration.
Claude Chief Of Staff
89loganhc-09/claude-chief-of-staff
How I turned Claude Code into a persistent AI chief of staff — the full architecture, now installable as a plugin in one command.
Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.