Skip to main content
在 Manus 中运行任何 Skill
一键导入

go-code-analysis

星标4
分支0
更新时间2026年3月31日 01:56

Analyze Go code comprehensively by examining code structure, identifying Go-specific patterns, and providing optimization recommendations. When reviewing Go code: 1) Parse package structure and imports to understand dependencies and architecture, 2) Identify Go idioms like proper error handling with if err != nil patterns, interface usage, and goroutine implementations, 3) Check for performance opportunities including memory allocation patterns, slice/map usage efficiency, and unnecessary allocations, 4) Evaluate error handling patterns ensuring errors are properly wrapped, returned, and handled according to Go conventions, 5) Review concurrency patterns including proper channel usage, goroutine lifecycle management, and race condition prevention, 6) Suggest Go-specific optimizations like using sync.Pool for object reuse, avoiding string concatenation in loops, and leveraging build tags, 7) Validate adherence to Go best practices including naming conventions, package organization, and effective Go patterns li

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly