convez.ai
SkillProdutividadeIntermediário
cicdteam

Google Go Style

cicdteam/google-go-style

Guia de estilo Google Go integrado ao Claude Code para Go profissional

Ver no GitHub
BomPluginScore · de 0 a 100

Skill que codifica o Google Go Style Guide em regras acionáveis para Claude seguir ao escrever, revisar e refatorar código Go. Cobre convenções de nomenclatura, tratamento de erros, testes, design de API, layout de pacotes e muito mais.

Instalação

$npx convez-ai cicdteam/google-go-style

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
8
Forks
1
Acompanhando
1
Saúde
42%
Último commit
há 5 meses
Versão
v0.2.1
Issues abertas
0
Contribuidores
1

Casos de uso

  • Revisar código Go contra as convenções Google
  • Refatorar código Go mantendo padrões de qualidade
  • Gerar código Go seguindo melhores práticas de estilo
  • Orientar decisões de design de API em Go

Veredito

Skill bem estruturado que torna o Google Go Style Guide prático ao editar código. Ideal para times que adotam Go e querem garantir consistência de estilo automaticamente.

README

A tradução para o português deste README ainda está na fila.

google-go-style

Listed on ClaudePluginHub

A Claude Code plugin that ships a single skill: google-go-style. The skill codifies the Google Go Style Guide into actionable rules that Claude consults whenever you write, review, or refactor Go code.

About

This skill encodes my interpretation of the Google Go Style Guide for use with Claude Code. The upstream guide is © Google LLC, licensed under CC-BY 3.0. This skill (SKILL.md and supporting files under plugins/google-go-style/skills/google-go-style/) is my own work, licensed Apache-2.0.

What it does

When loaded, Claude follows the rules in SKILL.md on every Go change. Topics covered:

  • Naming (receivers, initialisms, repetition, test doubles, package names)
  • Error handling (%v vs %w, sentinels, RPC boundaries, errors.Is / As)
  • Panics, log.Fatal, and error return — when each applies
  • Test discipline (no assertion libraries, t.Error vs t.Fatal, goroutines)
  • API design (option struct vs variadic options, interfaces, channel direction)
  • Documentation conventions
  • Package layout, imports, internal/
  • Variable declaration, zero values, strings, shadowing

SKILL.md is the quick-reference. Eight files under references/ carry the detailed rules; Claude loads them on demand.

Why

The upstream guide is large and not optimised for being consulted on every file edit. This skill is a digest — it puts the rules Claude needs on the hot path and leaves the long-form material as references it can fetch when a specific topic comes up.

Install

Claude Code (native plugin)

claude plugin marketplace add cicdteam/google-go-style
claude plugin install google-go-style@cicdteam

Cross-agent (Claude Code, Cursor, Codex, OpenCode, …)

npx skills add cicdteam/google-go-style

After install, Claude loads the skill automatically when triggers in its description match (writing or reviewing Go, error handling, panics, tests, API design, naming, package layout, variables and strings).

Semver

Versions follow Semantic Versioning. Breaking changes to the rule set or plugin layout bump the major; additive rule changes bump the minor; fixes bump the patch. See CHANGELOG.md for per-release notes.

Contributing

Issues are welcome — particularly if you spot a rule that contradicts the upstream guide or that's no longer current. PRs are accepted on a best-effort basis; please open an issue first for non-trivial changes so we can agree on scope.

Attribution

The skill is a derivative work based on the Google Go Style Guide, © Google LLC, licensed under CC-BY 3.0. See NOTICE for the full attribution.

License

Apache-2.0. See LICENSE.

Ver o original no GitHub

Bom para

Relacionados