Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xobotyiv1.6.0MITIn 1 marketplace
Writes and reviews Go code against the language's idioms, with gopls-based navigation instead of text search. Also covers templ templates, Charmbracelet v2 terminal UIs and Zog validation. Requires gopls installed in PATH.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
golang, gopls, lsp, code-review, templ, tui, schema-validation, conventions ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Go that follows the language's own idioms and the version the module's go directive permits, navigated through gopls
instead of text search.
Go has strong idioms and conventions that differ significantly from other languages. Common pitfalls include premature abstraction, incorrect error handling, misuse of interfaces, context mismanagement, and concurrency bugs. The templ templating library adds another layer of conventions for type-safe HTML rendering that requires understanding both Go and templ-specific patterns.
Beyond conventions, Claude Code's default approach to code navigation — Grep and Glob — misses Go's semantic structure. Text search can't resolve imports, distinguish shadowed names, find interface implementations, or trace call hierarchies. Without LSP-powered navigation, exploration is imprecise and error-prone.
This plugin provides language and library skills plus a gopls language-server configuration that together give Claude
deep Go fluency. The golang skill covers core Go conventions (naming, error handling, interfaces, concurrency,
testing, project structure) and enforces LSP-first code navigation — agents must use goToDefinition, findReferences,
hover, and other LSP tools instead of text search for semantic navigation tasks. The templ skill extends those
conventions to type-safe HTML templating, charm-tui covers the Charmbracelet v2 terminal UI stack, and zog covers
schema validation. Skills include anti-pattern references and route to detailed topic-specific guides.
Install gopls (the Go language server) and ensure it's available in PATH:
go install golang.org/x/tools/gopls@latest
Make sure $GOPATH/bin (or $HOME/go/bin) is in your PATH.
Then install the plugin:
/plugin install golang --marketplace xobotyi/cc-foundry
Enforces the Go conventions a model gets wrong on its own, and leaves out the ones it already follows. Covers the traps
(shadowed err, deferred argument evaluation, append aliasing, typed nil interfaces, copied mutexes), error
discipline (handle once — log or return, never both; wrap without a "failed to" prefix; %w versus %v), goroutine
lifecycles (every goroutine joined, channel buffers of zero or one, the fmt.Errorf deadlock), and the project
conventions that diverge from vanilla Go — kebab-case file names, give/want table fields, Test_TypeName, test
doubles in a <subject>test package. Topic guides for errors, concurrency, testing, idioms, gotchas, and structure live
under references/conventions/ and load only when the situation calls for one.
The skill also enforces LSP-first navigation: use goToDefinition instead of grepping for function names,
findReferences instead of text-searching for usages, goToImplementation instead of pattern-matching interface types,
and workspaceSymbol instead of globbing for symbols. Grep/Glob remain appropriate for non-semantic searches (comments,
string literals, config values).
The skill teaches idioms without version gates and keeps a floor-version index for the features that have one, so it
writes code the module's go directive actually permits. Per-version references under references/versions/ (go1.21
through go1.27) cover what each release added, which behavior changes its go directive gates, and the traps it
introduced.
Use when: writing, reviewing, refactoring, debugging, or exploring any Go code, or raising a module's Go version.
Enforces templ conventions for type-safe HTML rendering, concentrating on the places templ diverges from what a model
would assume. { } writes a value while {{ }} runs Go statements — the opposite of html/template, and the most
likely habit to carry over wrongly. Void elements must close in source. Text starting with if or for parses as a
statement. A conditional attribute replaces rather than merges, so a flipped condition silently drops the base classes.
Only href, src, and action sanitize a dynamic URL, which is why an htmx attribute needs an explicit templ.URL().
Sanitizers substitute a fixed marker instead of failing, so the skill lists the markers as the diagnostic.
Topic guides for syntax, components, attributes, styling, JavaScript, patterns, and testing load only when the situation calls for one.
Use when: writing or reviewing .templ files, creating components, composing templates, or testing rendered output.
7-day copy clicks
npx claudepluginhub xobotyi/cc-foundry --plugin golangBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground