Compétences code-review-excellence
📦

code-review-excellence

Risque faible ⚡ Contient des scripts🌐 Accès réseau⚙️ Commandes externes

掌握程式碼審查最佳實踐

程式碼審查經常成為團隊效率的瓶頸或摩擦來源。本技能提供結構化的技巧,幫助給予建設性的回饋、進行徹底的審查,並將每次審查轉化為知識分享的機會,從而提升程式碼品質和團隊協作。

Prend en charge: Claude Codex Code(CC)
⚠️ 67 Médiocre
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-excellence". How should I give feedback on this code that has a security vulnerability?

Résultat attendu:

Frame your feedback using the context-issue-solution pattern:

[Context] I noticed the payment processing logic is in the controller.

[Specific Issue] The calculateTotal() function uses string concatenation for SQL queries, which is vulnerable to injection.

[Helpful Solution] Consider using parameterized queries instead. Here's an example pattern...

Utilisation de "code-review-excellence". What are the key things to check when reviewing a pull request?

Résultat attendu:

Use the 4-phase review process:

1. Context Gathering: PR description, CI status, business requirements
2. High-Level Review: Architecture, design, file organization, testing strategy
3. Line-by-Line Review: Logic correctness, security, performance, maintainability
4. Summary: Clear decision with prioritized feedback

Audit de sécurité

Risque faible
v5 • 1/21/2026

Static analysis detected patterns in documentation that appear concerning but are false positives. The skill is a code review guide containing examples of vulnerabilities and code patterns for educational purposes. All detected patterns (eval references, backticks, URLs, fetch calls) are documentation content, not executable code. No actual security risks found. Safe to publish.

2
Fichiers analysés
1,256
Lignes analysées
3
résultats
5
Total des audits

Facteurs de risque

⚡ Contient des scripts
Aucun emplacement spécifique enregistré
🌐 Accès réseau
Aucun emplacement spécifique enregistré
⚙️ Commandes externes
Aucun emplacement spécifique enregistré

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
21
Communauté
90
Sécurité
87
Conformité aux spécifications

Ce que vous pouvez construire

學習有效的程式碼審查

新手開發者或團隊成員學習如何進行建設性的程式碼審查,在保持積極團隊動態的同時提升程式碼品質。

改進審查流程

希望使用系統化方法、檢查清單和回饋框架來建立或改進程式碼審查實踐的團隊。

程式碼審查協助

在準備或進行程式碼審查時,使用本技能來結構化回饋、優先處理問題,並確保全面覆蓋。

Essayez ces prompts

一般程式碼審查請求
Help me review this pull request. I want to: 1) Understand the overall approach and architecture, 2) Check for security issues, 3) Look for performance problems, 4) Ensure the code is maintainable. What should I focus on and what questions should I ask the author?
安全性重點審查
Review this code specifically for security issues. Check for: input validation, SQL injection risks, XSS vulnerabilities, authentication gaps, hardcoded secrets, and proper error handling. What security concerns should I raise?
Python 程式碼審查
Review this Python code for Python-specific issues like mutable default arguments, bare except clauses, correct exception handling, and Pythonic patterns. What improvements would you suggest?
回饋建構
I found several issues in this code. Help me construct feedback that is: specific and actionable, educational rather than judgmental, balanced with praise for what was done well, and clearly prioritized by severity.

Bonnes pratiques

  • 在 24 小時內及時審查程式碼,以維持團隊效率並尊重作者的工作
  • 使用改良的三明治方法:先說明脈絡,然後是具體問題,最後是解決方案
  • 清楚區分嚴重程度,使用 [blocking]、[important]、[nit] 和 [praise] 等標籤

Éviter

  • 挑剔應該由 linter 自動捕捉的格式問題
  • 回饋模糊或不清楚需要改變什麼
  • 將回饋針對個人而非程式碼
  • 當程式碼做得好的時候跳過正面回饋

Foire aux questions

這個技能是做什麼的?
本技能提供進行有效程式碼審查的指導。它提供框架、檢查清單和技巧,幫助給予建設性的回饋、發現錯誤和分享知識。
這個技能可以自動分析我的程式碼嗎?
不會。本技能提供如何自行審查程式碼的指導。它不會直接執行或分析程式碼。您提供程式碼上下文,然後收到審查指導。
這個技能涵蓋哪些類型的程式碼審查?
本技能涵蓋一般程式碼審查、安全性審查、性能審查,並包含針對 Python 和 TypeScript 的特定語言指導。
如何給予開發者會接受的回饋?
使用建設性的語言,專注於程式碼而非個人,具體且可行動,平衡批評與讚美,並提供協助實作修正。
程式碼審查應該花多長時間?
仔細審查 200-400 行程式碼通常需要 20-30 分鐘。連續審查應限制在 60 分鐘內並休息。在 24 小時內及時審查。
這適用於 GitHub 等特定平台嗎?
是的。這些原則適用於任何審查平台。本技能包含有效使用平台功能和模板的指導。

Détails du développeur

Structure de fichiers

📄 SKILL.md