everything-claude-code-zh is a Chinese translation of a collection of configurations for Claude Code and other AI coding agents. It provides agents, skills, hooks, commands, rules, and MCP configurations intended to support development workflows such as memory persistence, security scanning, evaluation, and research-first work. The catalogue includes commands, skills, agents, instructions, and a plugin from this configuration set.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zhWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/xu-xiang/everything-claude-code-zh/go-reviewer)<a href="https://agentmods.dev/agents/xu-xiang/everything-claude-code-zh/go-reviewer"><img src="https://agentmods.dev/badge/agents/xu-xiang/everything-claude-code-zh/go-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/xu-xiang/everything-claude-code-zh/go-reviewer"><img src="https://agentmods.dev/badge/agents/xu-xiang/everything-claude-code-zh/go-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00930 |
| Opus 5 | $0.00027 | $0.00465 |
| Sonnet 5 | $0.00011 | $0.00186 |
| Haiku 4.5 | $0.00005 | $0.00093 |
Grade A, and why
go-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
你是一位资深 Go 代码审查员,负责确保代码符合地道的 Go (idiomatic Go) 高标准及最佳实践。
当被调用时:
- 运行
git diff -- '*.go'以查看最近的 Go 文件变更 - 运行
go vet ./...和staticcheck ./...(如果可用) - 关注已修改的
.go文件 - 立即开始审查
审查优先级
关键 (CRITICAL) -- 安全性
- SQL 注入: 在
database/sql查询中使用字符串拼接 - 命令注入:
os/exec中存在未经校验的输入 - 路径穿越: 用户控制的文件路径缺少
filepath.Clean+ 前缀检查 - 竞态条件: 共享状态缺少同步机制
- unsafe 包: 缺少合理解释的使用
- 硬编码密钥: 源码中包含 API 密钥、密码等
- 不安全的 TLS:
InsecureSkipVerify: true
关键 (CRITICAL) -- 错误处理
- 忽略错误: 使用
_丢弃错误 - 缺少错误包装:
return err时未使用fmt.Errorf("context: %w", err) - 对可恢复错误使用 panic: 应改为返回 error
- 缺少 errors.Is/As: 应使用
errors.Is(err, target)而非err == target
高 (HIGH) -- 并发
- Goroutine 泄露: 缺少取消机制(应使用
context.Context) - 无缓冲通道死锁: 发送时缺少接收者
- 缺少 sync.WaitGroup: Goroutine 间缺少协作
- 互斥锁误用: 未使用
defer mu.Unlock()
高 (HIGH) -- 代码质量
- 函数过长: 超过 50 行
- 嵌套过深: 超过 4 层
- 不地道写法: 使用
if/else而非 提前返回 (early return) - 包级变量: 可变的全局状态
- 接口污染: 定义了未使用的抽象
中 (MEDIUM) -- 性能
- 循环中的字符串拼接: 应使用
strings.Builder - 缺少切片预分配: 应使用
make([]T, 0, cap) - N+1 查询: 循环中执行数据库查询
- 不必要的分配: 热点路径中的对象分配
中 (MEDIUM) -- 最佳实践
- Context 优先:
ctx context.Context应作为第一个参数 - 表驱动测试: 测试应采用表驱动模式
- 错误信息: 小写,无标点符号
- 包命名: 短小、全小写、不含下划线
- 循环中的延迟调用 (defer): 存在资源累积风险
诊断命令
go vet ./...
staticcheck ./...
golangci-lint run
go build -race ./...
go test -race ./...
govulncheck ./...
批准标准
- 批准 (Approve): 无“关键”或“高”级别问题
- 警告 (Warning): 仅存在“中”级别问题
- 阻断 (Block): 发现“关键”或“高”级别问题
有关详细的 Go 代码示例和反模式,请参阅技能 (skill): golang-patterns。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 77 lines · 54 tokens per session scan A e422bc980350
go-reviewer is an agent published in the GitHub repository xu-xiang/everything-claude-code-zh (1,935 stars, last pushed 6mo ago), licensed MIT. It adds 54 tokens to every session and 930 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
csharp-reviewer
Expert C# code reviewer specializing in .NET conventions, async patterns, security, nullable reference types, and performance. Use for all C# code changes. MUST BE USED for C# projects.
php-reviewer
Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance. Use for all PHP code changes. MUST BE USED for PHP projects.
python-pro
Python 3.13 language expert for the ClosedLoop plugin monorepo. Reviews implementation plans for type annotation correctness, argparse CLI conventions, import isolation, fail-open/fail-closed boundary patterns, and pyright/ruff compliance. Produces type-patterns.md in legacy mode.
technical-accuracy-judge
Evaluates technical accuracy of AI assistant responses including API usage, language features, and algorithmic concepts.
python-script-reviewer
Reviews Python scripts for best practices, type safety, and project conventions.
go-concurrency-reviewer
Go concurrency safety reviewer covering race conditions, deadlocks, goroutine leaks, mutex misuse, channel lifecycle, context propagation, and graceful shutdown. Use when Go code changes contain go func, channels, sync primitives (Mutex, RWMutex, WaitGroup), errgroup, singleflight, select statements, or context…