Code review

From clawpod-app/awesome-openclaw-agent-packs · View interactive version

Code review is an AI agent skill from the GitHub repository clawpod-app/awesome-openclaw-agent-packs. Review code for correctness, maintainability, performance, and security. Trigger with "review this code", "check this PR", "code review", or "look at this diff".

How to use this skill

Skill file

Code Review

Review code with structured, prioritized findings.

When to Use

Steps

  1. Read the code and understand its purpose and context
  2. Check correctness: logic errors, edge cases, error handling, null safety
  3. Check maintainability: naming, complexity, duplication, readability
  4. Check performance: unnecessary work, N+1 queries, memory allocation
  5. Check security: input validation, auth, data exposure, injection
  6. Categorize findings and provide suggested fixes

Output Format

## Code Review -- [File/PR Name]

### Summary
[1-2 sentence overview of code quality and key concerns]

### Findings

#### Blocking (must fix before merge)
**[B1]** [Title] -- Line [N]

// Current code

**Issue**: [What is wrong and why it matters]
**Fix**:

// Suggested fix


#### Warning (should fix)
**[W1]** [Title] -- Line [N]
[Same format]

#### Suggestion (nice to have)
**[S1]** [Title]
[Suggestion with reasoning]

### Positives
- [Something done well]

### Summary
- Blocking: [N] | Warning: [N] | Suggestion: [N]
- Recommendation: [Approve / Request changes]
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.