agentleFS
Red-empty-potatoRed-empty-potato/ai-agent-skills/skills/ai-code-review/SKILL.md

ai-code-review

Skill0 starsChanged 3 months agoMITView on GitHub

Run an AI-assisted code review covering correctness, security, and simplification. AI 辅助代码审查。

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

AI Code Review | AI 代码审查

Review a set of changes for bugs, security issues, and simplification — and report findings with concrete file:line anchors.

审查一段改动:找 bug、找安全隐患、找可简化的地方,并给到具体位置。

When to use | 适用场景

  • 用户说「帮我 review 这段改动 / 这个 PR」
  • 提交前自查

Workflow | 工作流程

  1. 明确审查范围:改动 diff / 某个 commit / 某几个文件。
  2. 逐文件看改动,重点:
    • 正确性:边界条件、空值、并发、错误处理
    • 安全:输入校验、密钥泄露、注入、越权
    • 简化:重复代码、可复用已有函数、过度设计
  3. 给每条发现标 file:line,按严重度排序(严重 / 建议 / 风格)。
  4. 给整体结论 + 建议的修复顺序。

Tips | 提示

  • 只说「有问题」没用,务必给出位置和为什么。
  • 拿不准的标「需确认」,不要臆断。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.