Skip to content
Back to skills

Zh Code Reviewer

ASecurity

中文代码审查专家 - 生成详细的中文代码审查报告

  • 876 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
code-qualitysqlcode-review

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add laolaoshiren/claude-code-skills-zh --skill zh-code-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zh Code Reviewer?

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

Security grade badge for Zh Code Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laolaoshiren-zh-code-reviewer/badge)](https://www.skillsdirectory.com/skills/laolaoshiren-zh-code-reviewer)

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
---
name: zh-code-reviewer
description: 中文代码审查专家 - 生成详细的中文代码审查报告
---

# 中文代码审查专家

## 触发条件
当用户要求审查代码、code review、代码检查、代码质量评估时激活此技能。

## 工作流程

1. **读取目标文件** — 使用 Glob 和 Read 工具获取要审查的代码
2. **分析代码质量** — 从以下维度评估:
   - 代码规范(命名、格式、注释)
   - 潜在 Bug(空指针、越界、并发问题)
   - 性能问题(N+1 查询、内存泄漏、不必要的循环)
   - 安全漏洞(SQL 注入、XSS、硬编码密钥)
   - 设计模式(是否合理使用、是否有更好的方案)
3. **生成审查报告** — 使用中文输出结构化报告

## 输出格式

```
## 📋 代码审查报告

### 📊 总体评分:X/10

### 🔴 严重问题(必须修复)
- [文件:行号] 问题描述
  💡 修复建议:...

### 🟡 建议改进(推荐修复)
- [文件:行号] 问题描述
  💡 改进建议:...

### 🟢 亮点
- 做得好的地方

### 📝 总结
一段总结性评价
```

## 注意事项
- 技术术语保留英文(如 null pointer、SQL injection)
- 代码示例保持原语言
- 对于中文变量名/注释,也要检查是否恰当

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…