← 返回 Skills 市场
solomonneas

Pr Review

作者 Solomon Neas · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
175
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sn-pr-review
功能描述
Comprehensive pull request review covering code quality, security, performance, and maintainability. Use for any code review task.
使用说明 (SKILL.md)

Pull Request Review

Perform a thorough code review covering quality, security, performance, and maintainability.

Review Checklist

Code Quality

  • Naming: clear, descriptive, consistent with codebase conventions
  • Functions: single responsibility, reasonable length (\x3C50 lines)
  • Error handling: all failure paths covered, no swallowed exceptions
  • Types: proper TypeScript/type annotations where applicable
  • DRY: no unnecessary duplication
  • Dead code: nothing unused or commented out

Security (see also: security-review skill)

  • No secrets or credentials in code
  • Input validation on all user-facing endpoints
  • Parameterized queries (no string concatenation for SQL)
  • Proper auth/authz checks

Performance

  • N+1 query patterns
  • Missing database indexes for new queries
  • Unbounded loops or recursive calls
  • Large payload responses without pagination
  • Missing caching where appropriate

Testing

  • New functionality has tests
  • Edge cases covered (empty arrays, null, boundaries)
  • Tests are deterministic (no timing dependencies)
  • Mocks are appropriate (not over-mocked)

Maintainability

  • Changes are documented (README, comments for complex logic)
  • Breaking changes are noted
  • Migration path is clear for schema changes
  • Dependencies added are justified

Output Format

Start with a summary:

## Review Summary
**Verdict:** APPROVE | REQUEST_CHANGES | COMMENT
**Risk Level:** Low | Medium | High
**Key Findings:** [1-3 sentence summary]

Then list findings by category, each with:

  • File and line reference
  • What the issue is
  • Suggested fix (with code when helpful)
  • Severity (blocking vs. nit)

End with:

## Positive Notes
[Things done well worth calling out]
安全使用建议
This skill is low-risk: it's purely instructional, asks for no installs or secrets, and aligns with its stated purpose. Before enabling it, ensure the agent invocation supplies only the PR/diff content you intend it to review (don't pass sensitive files or secrets inside diffs). If you combine it with other skills (e.g., the referenced security-review skill), review those skills' requirements too. As a best practice, test the skill on non-sensitive, sample PRs to confirm the output format and content meet your needs.
功能分析
Type: OpenClaw Skill Name: sn-pr-review Version: 1.0.0 The skill bundle provides a standard and well-structured framework for an AI agent to perform code reviews. The instructions in SKILL.md focus on legitimate software engineering practices such as code quality, security, performance, and maintainability, with no evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
Name, description, and checklist align: the skill is an instruction-only PR reviewer and does not request unrelated binaries, credentials, or system access.
Instruction Scope
SKILL.md provides a focused checklist and a clear JSON output format. It does not itself instruct the agent to fetch PR diffs or external data (it assumes the agent will be invoked with the code context), and it references a separate 'security-review' skill but does not require any extra scope or data exfiltration.
Install Mechanism
No install spec or code files are present; nothing is written to disk or downloaded as part of this skill.
Credentials
The skill declares no environment variables, credentials, or config paths — appropriate for an instruction-only review helper.
Persistence & Privilege
always is false, the skill does not request permanent presence or system-wide configuration changes. Autonomous invocation is allowed by platform default but is not unusual or excessive here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sn-pr-review
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sn-pr-review 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish. Comprehensive PR review covering code quality, security, performance, testing, and maintainability.
元数据
Slug sn-pr-review
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Pr Review 是什么?

Comprehensive pull request review covering code quality, security, performance, and maintainability. Use for any code review task. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 175 次。

如何安装 Pr Review?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sn-pr-review」即可一键安装,无需额外配置。

Pr Review 是免费的吗?

是的,Pr Review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Pr Review 支持哪些平台?

Pr Review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Pr Review?

由 Solomon Neas(@solomonneas)开发并维护,当前版本 v1.0.0。

💬 留言讨论