zh-code-reviewer
Skill907 starsChanged 4 months agoMITView on GitHub
中文代码审查专家 - 生成详细的中文代码审查报告
In this repository20 other files it gives its agents.
- docs/llms.txtllms.txt
- api-testerSkill
- changelog-genSkill
- db-migratorSkill
- dep-auditorSkill
- ds-mapperSkill
- env-managerSkill
- error-translatorSkill
- eslint-fixSkill
- github-actions-genSkill
- git-workflowSkill
- i18n-helperSkill
- log-analyzerSkill
- perf-profilerSkill
- refactor-advisorSkill
- security-auditSkill
- skill-curatorSkill
- test-generatorSkill
- zh-docgenSkill
- zh-readmeSkill
The file
Files
中文代码审查专家
触发条件
当用户要求审查代码、code review、代码检查、代码质量评估时激活此技能。
工作流程
- 读取目标文件 — 使用 Glob 和 Read 工具获取要审查的代码
- 分析代码质量 — 从以下维度评估:
- 代码规范(命名、格式、注释)
- 潜在 Bug(空指针、越界、并发问题)
- 性能问题(N+1 查询、内存泄漏、不必要的循环)
- 安全漏洞(SQL 注入、XSS、硬编码密钥)
- 设计模式(是否合理使用、是否有更好的方案)
- 生成审查报告 — 使用中文输出结构化报告
输出格式
## 📋 代码审查报告
### 📊 总体评分:X/10
### 🔴 严重问题(必须修复)
- [文件:行号] 问题描述
💡 修复建议:...
### 🟡 建议改进(推荐修复)
- [文件:行号] 问题描述
💡 改进建议:...
### 🟢 亮点
- 做得好的地方
### 📝 总结
一段总结性评价注意事项
- 技术术语保留英文(如 null pointer、SQL injection)
- 代码示例保持原语言
- 对于中文变量名/注释,也要检查是否恰当
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

