---
name: Chinese Code Reviewer
slug: chinese-code-reviewer
category: Quality
description: Chinese Code Reviewer generates structured code review reports in Chinese. Use it when you need to check code quality, bugs, performance, security, and design issues.
github: "https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/zh-code-reviewer"
language: Python
stars: 786
forks: 84
install: "npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/zh-code-reviewer ~/.claude/skills/zh-code-reviewer"
installs_to: ~/.claude/skills/zh-code-reviewer
source_path: skills/zh-code-reviewer/SKILL.md
collection_size: 20
category_size: 1354
collection_url: "https://dirskills.com/collections/laolaoshiren/claude-code-skills-zh"
added: 2026-08-23T05:19:03.319Z
last_synced: 2026-08-23T05:19:03.319Z
canonical_url: "https://dirskills.com/skills/chinese-code-reviewer"
---

# Chinese Code Reviewer

Chinese Code Reviewer generates structured code review reports in Chinese. Use it when you need to check code quality, bugs, performance, security, and design issues.

**Install:**

```bash
npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/zh-code-reviewer ~/.claude/skills/zh-code-reviewer
```

## README

# 中文代码审查专家

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

## 工作流程

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

## 输出格式

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

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

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

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

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

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

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