AGENT SKILL

review-code

Review code changes for correctness, safety, maintainability, and test coverage.

License 许可
MIT
最近更新
2026-09-08
Stars
★ 0
Forks
0

01 前言 Front Matter

name
review-code
tags
[ "Review", "quality", " review " ]
targets
[ "Codex", " claude ", "openclaw", "agents", "codex" ]
version
0.1.0
activation
[ "review this pull request", "audit this code change" ]
description
Review code changes for correctness, safety, maintainability, and test coverage.
sideEffects
[ "read-only repository inspection" ]
approvalRequired
[ "network commands", "branch pushes" ]

03 SKILL.md 正文

Review Code

When To Use

Use this skill when a user asks for a code review, release-readiness pass, or focused risk audit.

Inputs

Use the repository diff, relevant tests, and any linked issue or PR context. Prefer local files and command output over memory.

Side Effects

This skill is read-only by default. Do not rewrite unrelated code during a review unless the user explicitly asks for implementation work.

Approval

Ask before running expensive, networked, or destructive commands. Do not push branches or change repo state during review-only work.

Examples

  • Review this PR for correctness and missing tests.
  • Do a release-readiness pass on this package.

Validation

Start with findings ordered by severity. Ground each finding in a file and line when possible. Include missing tests or residual risk after the findings. Validate by checking the referenced diff and confirming every finding has a file path.

04 同仓库更多 Skills