·code-reviewer
</>

code-reviewer

charon-fan/agent-playbook

審查拉取請求和代碼更改的質量、安全性和最佳實踐。當用戶要求代碼審查、PR 審查或提及審查更改時使用。

12安裝·1熱度·@charon-fan

安裝

$npx skills add https://github.com/charon-fan/agent-playbook --skill code-reviewer

SKILL.md

A comprehensive code review skill that analyzes pull requests and code changes for quality, security, maintainability, and best practices.

| Hardcoded secrets | const APIKEY = "sk-" | Use environment variables | | SQL injection | \"SELECT FROM...\" + userinput | Use parameterized queries | | XSS vulnerability | innerHTML = userinput | Sanitize or use textContent | | Missing auth check | New endpoint without @RequireAuth | Add authentication middleware |

| N+1 query | Loop with database call | Use eager loading or batch queries | | Unnecessary re-render | Missing dependencies in useEffect | Fix dependency array | | Memory leak | Event listener not removed | Add cleanup in useEffect return | | Inefficient loop | Nested loops O(n²) | Consider hash map or different algorithm |

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/charon-fan/agent-playbook --skill code-reviewer
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 code-reviewer?

審查拉取請求和代碼更改的質量、安全性和最佳實踐。當用戶要求代碼審查、PR 審查或提及審查更改時使用。 來源:charon-fan/agent-playbook。

如何安裝 code-reviewer?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/charon-fan/agent-playbook --skill code-reviewer 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/charon-fan/agent-playbook