Code review

From SimHacker/moollm · View interactive version

Code review is an AI agent skill from the GitHub repository SimHacker/moollm. Systematic code analysis with evidence collection

How to use this skill

Skill file

Code Review

"Read with intent. Question with purpose. Document with care."

Systematic code analysis with evidence collection. Code review IS an adventure — the codebase is the dungeon, findings are clues.

Review Process

READ → NOTE ISSUES → CLASSIFY → REPORT

Step 1: Setup

  1. Create REVIEW.yml
  2. Identify files to review
  3. Define focus areas

Step 2: Overview

  1. List all changed files
  2. Read PR/commit description
  3. Note initial impressions

Step 3: Deep Review

For each file:

  1. Read the code
  2. Check against criteria
  3. Note findings
  4. Run relevant checks

Step 4: Verification

  1. Run tests
  2. Run linters
  3. Check regressions

Step 5: Synthesize

  1. Compile findings
  2. Prioritize issues
  3. Generate REVIEW.md
  4. State recommendation

Finding Severity

| Level | Symbol | Meaning | Action |

|-------|--------|---------|--------|

| Blocking | 🚫 | Must fix before merge | Request changes |

| Important | ⚠️ | Should fix or explain | Request changes |

| Minor | 💡 | Nice to fix | Comment only |

| Praise | 🎉 | Good work! | Celebrate |

Finding Types

Review Checklist

Security

Correctness

Maintainability

Performance

Core Files

REVIEW.yml

review:
  name: "PR #123: Add user authentication"
  status: "in_progress"
  
findings:
  blocking:
    - id: "B1"
      file: "src/auth/login.ts"
      line: 45
      type: "security"
      summary: "Timing attack vulnerability"
      
  important: []
  minor: []
  praise: []

verification:
  tests: { ran: true, passed: true }
  linter: { ran: true, passed: false, issues: 3 }

REVIEW.md

Formatted document with:

Verification Commands

tests:
  - "npm test"
  - "pytest"
  - "go test ./..."
  
linters:
  - "npm run lint"
  - "flake8"
  - "golangci-lint run"

Recommendation Output

| Outcome | Meaning |

|---------|---------|

| approve | Good to merge |

| request_changes | Has blocking/important issues |

| comment | Minor feedback only |

See Also

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.