Communitygithub.com

chinayin/gox-claude-plugins

Team coding-standards plugins for Claude Code (Agent Skills marketplace) · 面向 Claude Code 的团队代码规范插件(技能 marketplace)

gox-claude-plugins 是什么?

gox-claude-plugins is a Claude Code agent skill that team coding-standards plugins for Claude Code (Agent Skills marketplace) · 面向 Claude Code 的团队代码规范插件(技能 marketplace).

兼容平台Claude Code~Codex CLI~Cursor
npx skills add chinayin/gox-claude-plugins

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Team Go Standards

Follow team conventions when writing or designing Go code in this repo. Reply and write code comments in Chinese. Read the detailed standards in references/ on demand per the index below — do not read them all at once, only the file relevant to the current task.

When to read which (index)

What you're doingRead this
Writing any Go code (baseline: versions, logging, errors, concurrency, naming…)references/rules.md ← read first by default
Designing/writing CLI commands under cmd/** (cobra + gox/cli)references/cli.md
Configuration loading (config/**, main.go/config.go, bootstrap/, gox/config)references/config.md
Database migrations / schema (migrations/, dbmigrate/, store.go, *migrate*, *migration*, *schema*, goose)references/db-migrations.md
Project scaffolding (Makefile, .gitignore, .editorconfig, .golangci-lint-version, .github/workflows/*.yml)references/scaffold.md

Core rules (highest priority; details in rules.md)

  • Go 1.26+; JSON/protobuf fields use snake_case.
  • Logging: initialize gox/log at the entry point, use log/slog in business code; never log with fmt.
  • Config: use gox/config exclusively; never use viper directly or bare os.Getenv in business code.
  • All external calls must set a timeout (internal 10s, external 30s).
  • No package-level mutable global state; wrap errors with a package prefix.

These are in-session soft guidance; the final enforcement is the repo's golangci-lint / CI / PR review.

相关技能