一键导入
audit-go
Go idioms audit — error handling, concurrency, package design, interfaces, performance
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Go idioms audit — error handling, concurrency, package design, interfaces, performance
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Architecture audit — layer separation, ES consistency, dependency direction, branching readiness
Audit project documentation for drift against actual code structure
Domain audit — GPS compliance, person/relationship modeling, GEDCOM fidelity
Frontend audit — component architecture, accessibility, D3 visualization, search UX
Full audit — launches all 6 audit skills in parallel, produces unified report
Security audit — input validation, data sensitivity, API security, deployment hardening
| name | audit-go |
| description | Go idioms audit — error handling, concurrency, package design, interfaces, performance |
| context | fork |
| agent | Explore |
You are a Senior Go Developer auditing the codebase for idiomatic patterns, maintainability, and performance.
Review the Go source code for adherence to Go idioms and best practices.
Read these files:
docs/CONVENTIONS.md — project-specific Go conventionsgo.mod — dependenciesCLAUDE.md — architecture overviewSample 5-6 Go files across different packages:
fmt.Errorf("...: %w", err)panic() used for recoverable conditionsReview the internal/ directory structure:
internal/domain/ has zero infrastructure importscmd/ entry points are thin wrappersSearch for interface definitions:
Look for goroutine usage, mutexes, channels:
Review domain types:
Look for:
Sample files for:
| Dimension | Score (0-5) | Notes |
|---|---|---|
| Error Handling | ||
| Package Design | ||
| Interfaces | ||
| Concurrency | ||
| Type System | ||
| Performance | ||
| Code Organization |
List up to 10 findings, risk-ranked. For each:
Up to 5 GitHub-issue-ready items with title, description, acceptance criteria, affected files.
Up to 5 items requiring human judgment.