Compétences code-review-checklist
📋

code-review-checklist

Sûr

إتقان مراجعات الكود مع قوائم شاملة

提供系统的检查清单进行彻底的代码审查,帮助审查者发现错误、识别安全问题,并在任何代码库中维护代码质量标准。

Prend en charge: Claude Codex Code(CC)
🥉 74 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "code-review-checklist". Review this code for security issues: const query = `SELECT * FROM users WHERE email = '${email}'`

Résultat attendu:

Security Issue Found:

**Issue:** SQL Injection Vulnerability

The code uses string interpolation to build a SQL query, allowing attackers to inject malicious SQL code through the email parameter.

**Risk:** Attackers could extract, modify, or delete database contents.

**Recommendation:** Use parameterized queries:
```javascript
const query = 'SELECT * FROM users WHERE email = $1';
db.query(query, [email]);
```

Utilisation de "code-review-checklist". Check this code for best practices: function calc(a, b, c) { return a * b + c; }

Résultat attendu:

Code Quality Issue Found:

**Issue:** Unclear naming

- Variable names 'a', 'b', 'c' are not descriptive
- Function name 'calc' does not explain what is being calculated
- Magic numbers should be replaced with named constants

**Recommendation:** Use descriptive names:
```javascript
function calculateTotalPrice(quantity, unitPrice, tax) {
return quantity * unitPrice + tax;
}
```

Utilisation de "code-review-checklist". What should I check for in a pre-review?

Résultat attendu:

Pre-Review Checklist:

- [ ] Read the PR description and linked issues
- [ ] Understand what problem is being solved
- [ ] Check if tests pass in CI/CD
- [ ] Pull the branch and run it locally
- [ ] Review any related documentation changes

Audit de sécurité

Sûr
v1 • 2/25/2026

This skill is a benign code review checklist educational resource. All static analyzer findings are FALSE POSITIVES triggered by example code snippets in documentation. The skill teaches security best practices by showing examples of vulnerable code patterns (SQL injection, hardcoded secrets) to help developers identify and avoid them during reviews.

1
Fichiers analysés
447
Lignes analysées
0
résultats
1
Total des audits
Aucun problème de sécurité trouvé
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
100
Sécurité
91
Conformité aux spécifications

Ce que vous pouvez construire

مراجعات طلبات السحب

使用检查清单系统地审查请求请求,并在批准更改之前确保不会遗漏任何内容。

عمليات التدقيق الأمني

应用以安全为重点的检查清单部分来识别部署前代码中的潜在漏洞。

تكوين الفريق

使用综合检查清单框架培训新团队成员了解代码审查标准和最佳实践。

Essayez ces prompts

مراجعة الكود الأساسية
Use the code review checklist to review these changes: [paste diff or describe changes]. Focus on functionality, security, and code quality.
مراجعة أمنية
Perform a security review of this code using the security checklist. Look for SQL injection, XSS, authentication issues, hardcoded secrets, and input validation: [paste code]
مراجعة شاملة
Conduct a thorough code review using all checklist sections: functionality, security, performance, code quality, tests, and documentation. Review these changes: [paste diff or describe changes]
تعليقات المراجعة
Help me write constructive review comments for the following issues found during code review: [list issues]. Use the review comment templates from the checklist.

Bonnes pratiques

  • 审查小的、集中的更改而不是大的PR以确保彻底性
  • 首先检查测试 - 验证它们是否通过并充分覆盖新代码
  • 除了手动审查外,还使用自动化工具如linter和安全扫描仪
  • 专注于重要的问题如安全和逻辑错误,而不是小问题

Éviter

  • 不要在未真正阅读和理解代码的情况下批准代码
  • 不要跳过安全检查 - 安全漏洞是关键
  • 不要提供模糊的反馈而没有具体的例子或建议
  • 不要橡皮图章审查 - 每次审查都应该增加价值

Foire aux questions

什么是代码审查检查清单?
A code review checklist is a systematic list of items to check during code reviews, covering functionality, security, performance, code quality, and other important aspects to ensure thorough and consistent reviews.
我为什么应该使用代码审查检查清单?
Checklists help ensure nothing is missed during reviews, provide consistency across different reviewers, and help train new developers on what to look for in code reviews.
我应该查找哪些安全问题?
Key security issues include SQL injection, XSS vulnerabilities, improper authentication/authorization, hardcoded secrets, missing input validation, and insecure dependency usage.
如何提供建设性的反馈?
Be specific about issues, show examples of problematic code, suggest improvements, explain why changes are needed, and acknowledge good code practices you see.
我可以为我的团队定制检查清单吗?
Yes, the checklist is a template that should be customized to fit your team's specific needs, coding standards, and project requirements.
如果发现安全漏洞该怎么办?
Mark the review as requiring changes, clearly explain the security issue and its potential impact, provide a secure alternative, and consider escalating to your security team for critical issues.

Détails du développeur

Structure de fichiers

📄 SKILL.md