Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

codereview-assistant代码审查助理

Agent Skill

codereview-assistant 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,834

周安装

163

GitHub Stars

公开资料未说明

下载量

1,343
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:codereview-assistant(代码审查助理)
来源仓库:https://github.com/sydpz/codereview-assistant
安装命令:
openclaw skills install codereview-assistant
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install codereview-assistant

简介

codereview-assistant 用于记录任务执行中的错误和经验缺口。

  • 帮助 Agent 持续沉淀问题修正和最佳实践。
  • 通过 clawhub 安装,需确认是否会写入文件或修改配置。
  • 适合用于团队协作和知识库建设场景。codereview-assistant 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 建议定期复核生成的内容以确保准确性。

SKILL.md

name
code-review
description
>
Triggers
code review, PR review, pull request review, peer review, code quality,
Provides
review checklist templates, focus areas by language/framework,

Code Review Skill

A structured approach to code review that balances thoroughness with efficiency.

Core Principles

  1. Review the code, not the author — Assume good intent, focus on the work.
  2. Be specific and constructive — Every comment should have a clear action.
  3. Prioritize by severity — Not all issues are equal.
  4. Approve with confidence — Don't approve code you wouldn't want to maintain.

Review Focus Areas

🔴 Critical — Must Fix Before Merge

  • Security vulnerabilities (SQL injection, auth bypass, secrets in code)
  • Data loss risks (missing validations, unguarded deletions)
  • Race conditions and concurrency bugs
  • Breaking production failures

🟡 Important — Should Fix Before Merge

  • Error handling gaps
  • Performance issues (N+1 queries, missing indexes, memory leaks)
  • Missing test coverage for critical paths
  • Inconsistent error responses
  • Code that violates team conventions

🟢 Nit — Consider Fixing

  • Naming that could be clearer
  • Commented-out code
  • Minor formatting inconsistencies
  • Overly complex one-liners

Review Workflow

Step 1: Understand the Context

  1. Read the PR description and linked issues/tickets
  2. Check what the PR is trying to accomplish
  3. Understand the scope of changes

Step 2: Scan First Pass

Quick scan for:

  • Obvious bugs or logic errors
  • Security concerns
  • Missing tests
  • Breaking changes

Step 3: Deep Review

For each changed file:

  1. Read the diff carefully
  2. Cross-reference with design documents
  3. Check for side effects on existing functionality
  4. Verify test coverage

Step 4: Classify and Comment

For each issue found, classify:

[🔴 CRITICAL] <title>
Description of the issue.
Suggested fix: <action>
[🟡 IMPORTANT] <title>
Description of the issue.
Suggested fix: <action>
[🟢 NIT] <title>
Optional suggestion.

Step 5: Make a Decision

ConditionDecision
No critical issues, minor nitsApprove
Important issues need fixing🔄 Request Changes
Critical issues foundRequest Changes (block merge)
Need context/clarification💬 Comment (don't approve yet)

PR Description Checklist

A good PR description should have:

  • [ ] What — Brief summary of the change
  • [ ] Why — Business or technical motivation
  • [ ] How — High-level approach taken
  • [ ] Testing — How the change was tested
  • [ ] Screenshots — UI changes (before/after)
  • [ ] Breaking Changes — Any API or contract changes
  • [ ] Related Issues — Links to tickets

Review Comment Templates

Starting a Review

I've reviewed this PR. Here's my feedback:

**Looking at:** [files/modules]
**Tested locally:** [yes/no with details]

Approving

✅ **Approve** — Code looks good, ready to merge.
Minor suggestions (non-blocking):
- [nit 1]
- [nit 2]

Requesting Changes

🔄 **Request Changes** — Please address the following before merging:

**Critical:**
1. [issue] — [fix suggestion]

**Important:**
2. [issue] — [fix suggestion]

Blocking Merge

❌ **Blocking Merge** — This PR introduces a critical issue that must be resolved:

[Detailed description of the critical issue]

Per-Language/Framework Notes

Go

  • Check error handling on every function call
  • Verify context.Context propagation
  • Look for defer resource cleanup
  • Check goroutine leaks (use go vet)
  • Review SQL query construction (avoid string concatenation)

TypeScript/Node.js

  • Check async/await error handling
  • Verify input validation on API handlers
  • Look for memory leak patterns (event listeners not removed)
  • Check dependency injection patterns
  • Review any type usage

Python

  • Check exception handling
  • Verify database connection cleanup
  • Look for proper with statement usage
  • Review decorator usage for side effects
  • Check type hints completeness

Java/Kotlin

  • Check exception handling and logging
  • Verify resource cleanup (try-with-resources)
  • Review Spring annotations usage
  • Look for thread safety issues
  • Check transaction boundaries

Automation Complement

Code review augments (not replaces) automated tools:

  • Linters — Formatting, style conventions
  • Type checkers — Type safety
  • SAST scanners — Security vulnerability detection
  • Coverage tools — Test coverage metrics

Always verify what the automation missed.

File Structure

code-review/
├── SKILL.md
└── references/
    ├── review-checklist.md
    ├── comment-templates.md
    ├── severity-classification.md
    └── per-language-notes/
        ├── go.md
        ├── typescript.md
        ├── python.md
        └── java.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.18%
按下载量换算1,144

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills