codex-review
使用 Codex 自動化程式碼審查與變更日誌
手動程式碼審查耗時且變更日誌經常被忽略。此技能使用 Codex AI 自動化這兩項工作,確保一致的品質和即時的文件。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "codex-review". Review the changes in src/auth.py
Résultat attendu:
程式碼審查摘要:建議 3 項改進。密碼雜湊使用安全演算法。考慮為登入嘗試新增速率限制。變數命名遵循 PEP 8 標準。
Utilisation de "codex-review". Generate changelog for recent commits
Résultat attendu:
已產生 CHANGELOG 條目:新增使用者認證模組、修復會話逾時錯誤、將相依性更新至最新版本
Audit de sécurité
SûrAll static analysis findings were false positives. The SKILL.md file is documentation-only markdown with no executable code. Referenced external commands (npx) and URLs are installation instructions and documentation links, not actual code execution or network calls. No cryptographic operations exist.
Score de qualité
Ce que vous pouvez construire
提交前程式碼審查
在提交之前獲得程式碼變更的自動回饋,以便及早發現問題
自動化變更日誌維護
隨著程式碼演進自動更新 CHANGELOG.md,無需手動操作
大型重構分析
系統性地審查廣泛的程式碼變更,確保沒有遺漏任何內容
Essayez ces prompts
審查我最近的程式碼變更,並提供有關程式碼品質、潛在錯誤和改進建議的回饋
分析修改過的檔案,並依照慣用變更日誌格式產生適當的 CHANGELOG.md 條目
審查此程式碼,重點關注安全性漏洞、輸入驗證和潛在的攻擊途徑
審查此大規模重構,並驗證在程式碼品質改善的同時保留了功能
Bonnes pratiques
- 在使用此技能之前,請在專案根目錄中保留 CHANGELOG.md
- 使用慣用提交訊息以獲得準確的變更日誌產生
- 在合併到 main 之前,在功能分支上執行審查
Éviter
- 不要因為變更很小而跳過審查 - 錯誤經常隱藏在簡單的程式碼中
- 避免在未審查的情況下提交安全性敏感的變更
- 不要僅依賴自動審查來處理關鍵系統變更