进行系统化的代码审查,检查代码质量、安全性和性能。当用户要求审查代码、review 或检查代码时使用
60
72%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/code-reviewer/SKILL.md对代码进行全面、系统的质量检查,识别潜在问题并提供改进建议。
必须按以下顺序检查:
按严重程度分类报告:
阻塞问题,必须在合并前解决
显著影响质量或安全,应尽快解决
可以改进的地方,不阻塞合并
性能或可读性优化建议
每个问题必须包含:
## 审查结果
### 严重(1 个问题)
**SQL 注入风险** - src/api/user.js:45
问题:直接拼接用户输入到 SQL 查询
风险:攻击者可以注入恶意 SQL 代码
建议:使用参数化查询
```javascript
// 修复前
const query = `SELECT * FROM users WHERE id = ${userId}`;
// 修复后
const query = 'SELECT * FROM users WHERE id = ?';
db.execute(query, [userId]);...
b1b2fe0
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.