Skip to content
Agentmart
Submit a tool

code-review

完成任务、实现功能或合并前使用 — 结构化代码审查:正确性、安全、测试、风格、架构

Skill by noobke

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/noobke-code-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

完成任务、实现功能或合并前使用 — 结构化代码审查:正确性、安全、测试、风格、架构

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-review

What's inside

Skill name
code-review
Description
完成任务、实现功能或合并前使用 — 结构化代码审查:正确性、安全、测试、风格、架构
License
MIT
Instructions
59 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Code Review — 代码审查

## 概述

执行结构化代码审查。标记正确性问题、风格违规、缺失测试和架构问题。

## 何时使用

- "review my changes"
- "code review this PR"
- "check this diff before I commit"
- "are there any issues with this file?"

## 流程

确定范围:

- **用户指定了文件/路径** → 只审这些文件
- **用户说 "diff" 或 "changes" 或没说** → 运行 `git diff` 和 `git diff --cached` 获取待变更 + `git log --oneline -5` 了解上下文

### 审查清单

对每个变更文件检查:

1. **正确性** — 逻辑错误、类型不匹配、竞态条件、边界情况
2. **安全性** — 未净化的用户输入、密钥泄露、缺失认证检查
3. **测试** — 新行为无测试、测试碰巧通过而非真断言、不可测试的紧耦合
4. **风格与可维护性** — 命名不一致、魔法数字、过度复杂、死代码
5. **架构** — 重复造轮子、模块间紧耦合、公共 API 不兼容变更

### 输出格式

```
## Code Review

### 🔴 Critical (must fix)
- **file:line** — description + suggested fix

### 🟡 Warning (should fix)
- **file:line** — description + suggested fix

### 🔵 Suggestion (nice to have)
- **file:line** — description + suggestion

### ✅ What looks good
- Positive observations

### 📊 Summary
- Files reviewed: N
- Critical: N / Warning: N / Suggestion: N
```

只包含有发现的级别。一切没问题就说清楚——不要发明问题。

## 对于深度安全审查

用 `/skill security-review` 做专项安全审查。

From noobke/reasonix-skills, MIT.

More from noobke/reasonix-skills

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
May 28, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from noobke

Cite this page

code-review skill. Agent Mart. https://agentmart.dev/skills/noobke-code-review (last updated 2026-10-24)