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.
Borrowing it
Nothing to install: this file belongs to xu-xiang/everything-claude-code-zh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xu-xiang/everything-claude-code-zh/main/.opencode/commands/go-review.mdgit 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/commands/xu-xiang/everything-claude-code-zh/go-review)<a href="https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/go-review"><img src="https://agentmods.dev/badge/commands/xu-xiang/everything-claude-code-zh/go-review/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/commands/xu-xiang/everything-claude-code-zh/go-review"><img src="https://agentmods.dev/badge/commands/xu-xiang/everything-claude-code-zh/go-review.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.00019 | $0.00631 |
| Opus 5 | $0.00010 | $0.00316 |
| Sonnet 5 | $0.00004 | $0.00126 |
| Haiku 4.5 | $0.00002 | $0.00063 |
Grade A, and why
go-review 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 Review)命令
审查 Go 代码的惯用模式(idiomatic patterns)和最佳实践:$ARGUMENTS
你的任务
- 分析 Go 代码 的惯用语和模式
- 检查并发性(Concurrency) - goroutines、channels、mutexes
- 审查错误处理(Error handling) - 正确的错误包装(error wrapping)
- 验证性能 - 内存分配(allocations)、瓶颈(bottlenecks)
审查清单(Review Checklist)
惯用 Go 代码(Idiomatic Go)
- 包命名(全小写,不含下划线)
- 变量命名(驼峰式 camelCase,保持简短)
- 接口命名(以 -er 结尾)
- 错误命名(以 Err 开头)
错误处理(Error Handling)
- 检查错误而非忽略
- 使用上下文包装错误(
fmt.Errorf("...: %w", err)) - 适当地使用哨兵错误(Sentinel errors)
- 必要时使用自定义错误类型
并发(Concurrency)
- 妥善管理 Goroutines
- 适当地缓冲 Channels
- 无数据竞态(使用
-race标志) - 传递 Context 以支持取消操作
- 正确使用 WaitGroups
性能
- 避免不必要的内存分配
- 针对频繁的分配使用
sync.Pool - 对于小型结构体,优先使用值接收者(value receivers)
- 对 I/O 操作进行缓冲
代码组织
- 小型且专注的包
- 清晰的依赖方向
- 使用 internal 包存放私有代码
- 在导出内容上添加 Godoc 注释
报告格式
惯用法问题
- [file:line] 问题描述 建议:如何修复
错误处理问题
- [file:line] 问题描述 建议:如何修复
并发问题
- [file:line] 问题描述 建议:如何修复
性能问题
- [file:line] 问题描述 建议:如何修复
提示(TIP):运行 go vet 和 staticcheck 进行额外的自动化检查。
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 · 72 lines · 19 tokens per session scan A 71d1b7485d94
go-review is a command published in the GitHub repository xu-xiang/everything-claude-code-zh (1,935 stars, last pushed 6mo ago), licensed MIT. It adds 19 tokens to every session and 631 once invoked, about $0.0001 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 commands, from other repositories
cpp-review
Comprehensive C++ code review for memory safety, modern C++ idioms, concurrency, and security. Invokes the cpp-reviewer agent.
cpp-test
Enforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov.
cpp-build
Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.
flutter-review
Review Flutter/Dart code for idiomatic patterns, widget best practices, state management, performance, accessibility, and security. Invokes the flutter-reviewer agent.
fastapi-review
Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, security, performance, and testability.
feature-dev
Guided feature development with codebase understanding and architecture focus.