·code-reviewer
</>

code-reviewer

charon-fan/agent-playbook

审查拉取请求和代码更改的质量、安全性和最佳实践。当用户要求代码审查、PR 审查或提及审查更改时使用。

12安装·0热度·@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