Code Reviewer Cn

代码审查,生成中文报告,基于 anthropics/skills 和 obra/superpowers 项目

9 stars 1 forksSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add 5tldr/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add 5tldr/claude-skills --skill code-reviewer-cn
Manual install
git clone --depth 1 https://github.com/5tldr/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/code-reviewer-cn ~/.claude/skills/code-reviewer-cn

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 代码审查(中文版)

基于 [anthropics/skills](https://github.com/anthropics/skills) 和 [obra/superpowers](https://github.com/obra/superpowers) 的代码审查方法论。

## 触发条件

当用户请求代码审查、PR Review、或代码质量检查时激活。

## 审查流程

### 1. 理解上下文
- 阅读相关文件和依赖
- 理解代码的业务目的
- 识别关键路径和边界条件

### 2. 分层审查

#### 架构层
- 设计模式是否合理
- 模块划分是否清晰
- 依赖关系是否健康

#### 逻辑层
- 算法正确性
- 边界条件处理
- 错误处理完整性

#### 安全层
- 输入验证
- SQL注入/XSS防护
- 敏感信息处理

#### 性能层
- 时间复杂度
- 内存使用
- 数据库查询优化

#### 可维护性
- 代码可读性
- 命名规范
- 注释完整性

### 3. 问题分级

| 级别 | 说明 | 处理方式 |
|------|------|----------|
| 🔴 Critical | 安全漏洞、数据丢失风险 | 必须修复 |
| 🟠 Major | 逻辑错误、性能问题 | 强烈建议修复 |
| 🟡 Minor | 代码风格、可读性 | 建议改进 |
| 🔵 Info | 最佳实践建议 | 可选优化 |

## 输出格式

```markdown
# 代码审查报告

## 📋 概览
- **审查范围**:[文件/模块列表]
- **代码行数**:[总行数]
- **审查时间**:[日期]

## 📊 评分

| 维度 | 评分 | 说明 |
|------|------|------|
| 正确性 | X/10 | |
| 安全性 | X/10 | |
| 性能 | X/10 | |
| 可维护性 | X/10 | |
| **综合** | **X/10** | |

## 🔴 Critical 问题 (X个)

### [问题标题]
- **位置**:`文件名:行号`
- **问题**:[描述]
- **风险**:[影响说明]
- **建议**:
```[语言]
// 修复代码
```

## 🟠 Major 问题 (X个)
[同上格式]

## 🟡 Minor 问题 (X个)
[同上格式]

## 🔵 改进建议
[最佳实践建议列表]

## ✅ 亮点
[代码中做得好的地方]
```

## 审查原则

1. **先理解,后评判** - 不要急于下结论
2. **对事不对人** - 关注代码,不评价作者
3. **给出解决方案** - 不只指出问题,还要提供修复建议
4. **保持建设性** - 语气友善,鼓励改进

## 常见检查项

### JavaScript/TypeScript
- [ ] 是否有未处理的 Promise rejection
- [ ] 是否有潜在的内存泄漏
- [ ] TypeScript 类型是否完整
- [ ] 是否有 any 类型滥用

### Python
- [ ] 是否有类型注解
- [ ] 异常处理是否完整
- [ ] 是否有资源泄漏(文件、连接)
- [ ] 是否遵循 PEP8

### 通用
- [ ] 是否有硬编码的敏感信息
- [ ] 是否有适当的日志记录
- [ ] 是否有单元测试覆盖
- [ ] 是否有文档说明
Read the full skill on GitHub

Details

Skill name
code-reviewer-cn
Path
skills/code-reviewer-cn/SKILL.md
License
MIT
Repo updated
18 January 2026

FAQ

What does the Code Reviewer Cn skill do?

代码审查,生成中文报告,基于 anthropics/skills 和 obra/superpowers 项目

How do I install the Code Reviewer Cn skill?

Claude Code plugin: /plugin marketplace add 5tldr/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Code Reviewer Cn popular?

It lives in 5tldr/claude-skills, which has 9 GitHub stars and 1 forks.

Related skills

Hex Setup

8

hex-inc/hex-skills

Install, authenticate, and configure the Hex CLI for use with CoCo. Use when: setting up Hex, installing Hex CLI, authenticating with Hex, configuring Hex profiles, verifying Hex connection, Hex auth error, Hex not found, brew install hex. Triggers: install hex, hex setup, hex auth, hex login, hex configure, hex not found, hex authentication, hex profile, hex token, connect to hex.

Software Development

Challenge Me

9

milistu/agent-skills

Direct technical advisor mode for counting/estimation and architecture/design

Software Development

Octo

10

meshmakers/octo-claude-skills

Primary entry point and router for ALL OctoMesh tasks. Drives the octo-cli for platform administration (users, roles, groups, tenants, clients, identity providers, blueprints, CK catalog/library management, stream-data archives, communication adapters/pipelines, AI services) and explores the data model and runtime instances via GraphQL. Routes specialized work to sibling skills. When unsure which OctoMesh skill to use, start here. Trigger on: OctoMesh, octo-cli, CLI command, environment switch, auth/login, AuthStatus, tenant, temporary tenant, test tenant, user, role, group, client credentials

Software Development

Ziniao Skill Maker

9

ziniao-open/skills

创建 ziniao-cli 的自定义 Skill。当用户需要把紫鸟 API 操作封装成可复用的 Skill(包装原子 API 或编排多步流程)时使用。

Software Development

Pipeline Expert

10

meshmakers/octo-claude-skills

Authoring, reading, editing, debugging, and validating OctoMesh ETL pipeline YAML — the node-by-node config, DataContext/JSONPath data flow, triggers, transformations, entity CRUD via CreateUpdateInfo/ApplyChanges, archive (CrateDB) writes, inter-pipeline chaining within a DataFlow, and deployment/debug troubleshooting. Use whenever someone builds or fixes a pipeline definition or asks what a node does. Trigger on: pipeline YAML, pipeline node, node configuration, DataContext, ForEach, For, DataFlow, PipelineTrigger, cron schedule, ToPipelineDataEvent, FromPipelineDataEvent, FromPipelineTrigge

Software Development

Ziniao Shared

9

ziniao-open/skills

紫鸟 CLI 共享基础:应用配置初始化、ZClaw 客户端与 Bridge 就绪、统一 apiKey 认证、错误处理、输出格式和安全规则。当用户需要首次使用 ziniao-cli、配置 API Key、启动紫鸟客户端、登录 ZClaw 或排查认证/Bridge 问题时触发。

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.