Skip to content
Back to skills

Golang Code Review

ASecurity

此技能对 Git merge 提交的 Golang 代码进行全面的代码审查,包括: - **格式检测**:遵循 `gofmt`、`goimports` 等 Go 语言标准格式规范 - **合理性和质量检测**:使用静态分析工具(如 `staticcheck`, `unused`, `errcheck`) - **最佳实践检查**:参考 Go Code Review Comments (`https://github.com/golang/go/wiki/CodeReviewComments`) - **安全漏洞扫描**:检测常见安全问题(SQL 注入、XSS、不安全的反序列化等)

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
code-qualitygosqlcode-reviewgit

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill golang-code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Golang Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Golang Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-golang-code-review/badge)](https://www.skillsdirectory.com/skills/luokai0-golang-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 🐛 golang-code-review - Golang 代码审查技能

## 功能描述
此技能对 Git merge 提交的 Golang 代码进行全面的代码审查,包括:
- **格式检测**:遵循 `gofmt`、`goimports` 等 Go 语言标准格式规范
- **合理性和质量检测**:使用静态分析工具(如 `staticcheck`, `unused`, `errcheck`)
- **最佳实践检查**:参考 Go Code Review Comments (`https://github.com/golang/go/wiki/CodeReviewComments`)
- **安全漏洞扫描**:检测常见安全问题(SQL 注入、XSS、不安全的反序列化等)

## 输出报告
生成详细的 Markdown 报告,包含:
- 📋 总体评分
- ⚠️ 问题分类和严重等级
- 🔧 修复建议
- 📊 代码度量(复杂度、行数、空白检测)

## 规范参考
- Go Code Review Comments: https://github.com/golang/go/wiki/CodeReviewComments
- Go Error Handling: https://github.com/golang/go/wiki/ErrorHandlingBestPractices
- Effective Go: https://golang.org/doc/effective_go.html
- GO linting rules (https://staticcheck.io)

---

Files in this skill

  • .clawhub/origin.json150 B
  • SKILL.md1 KB
  • _meta.json137 B
  • config.md848 B
  • index.go5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…