一键导入
code-quality-review
Go code quality checklist based on Google Go Style Guide. Load when conducting code quality reviews.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Go code quality checklist based on Google Go Style Guide. Load when conducting code quality reviews.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Architectural validation checklist for feature approval. Load when validating that features fit into the existing architecture.
Architecture Decision Record format, naming conventions, and when to create ADRs. Load when making or documenting architectural decisions.
Audit the agentic configuration for consistency, coherence, and conciseness. Load when modifying agent definitions, skills, or pipeline structure, or to verify cross-tool parity.
Build, test, format, and lint requirements that must pass before code review. Load when checking implementation completeness or running the quality gate.
Pre-commit safety checks for secrets, credentials, local settings, and sensitive file patterns. Load before committing or when reviewing staged changes for accidental exposure.
Documentation review checklist, validation categories, and review process for Go projects. Load when conducting documentation reviews.
| name | code-quality-review |
| description | Go code quality checklist based on Google Go Style Guide. Load when conducting code quality reviews. |
| compatibility | ["claude-code","opencode","github-copilot"] |
| metadata | {"version":"1.0","author":"team"} |
gofmtMixedCapsmixedCapsURL, HTTP, ID (all caps) or url, http, id (all lower)Get prefix on getters (use Counts not GetCounts)MaxRetries not Three)context, errors, fmt)error as final return parameternil for successful operationsfmt.Errorf("context: %w", err)%w at end of error stringerrors.Is for wrapped errors, not string matchingcontext.Context always first parameter (except HTTP handlers)context.Context<-chan, chan<-) where possibleMustXYZ naming for helpers that panic; use only at program startuplog.Fatal for invariant failures, not panic:= over var when initializing with non-zero valuesvar for zero values conveying "empty and ready for later use"nil slices over empty slices for local variablesany over interface{} (Go 1.18+)%q for readable string output with quotation marks