Skip to main content
PROMPT SPACE
0

Auto Code Reviewer

by PromptSpace

Three-pass automated code review that catches error handling gaps, structural issues, and naming problems — then auto-fixes everything before code reaches the user.

9 views

$5

One-time purchase

⚡ Skill ready to install in Claude Code, Gemini CLI, or any MCP-compatible client. Read the install guides →

Included in download

  • Downloadable skill package
  • Works with OpenClaw, Cursor
  • Instant install

About This Skill

What it does

Code Reviewer is an automated quality gate that runs on every piece of code your AI agent generates or modifies. It executes a rigorous three-pass review process, then auto-fixes every issue it finds before presenting the code to you.

Pass 1 — Error Handling & Robustness Wraps API calls and file I/O in try/catch with descriptive error states. Adds null checks, validates inputs, and handles empty datasets gracefully. Ensures no unhandled promise rejections or silent failures.

Pass 2 — Structure & Cleanliness Enforces a strict 30-line limit per function via automated refactoring. Extracts repeated logic into shared utilities, pre-fetches lookup data to eliminate N+1 query patterns, and removes dead code and unused imports.

Pass 3 — Naming & Simplification Renames vague variables (data, temp, result) to intent-revealing names. Replaces complex conditionals with well-named booleans. Simplifies nested logic and extracts magic numbers into named constants.

Why buy this?

Unlike standard prompting, Code Reviewer doesn't just suggest improvements — it identifies issues and auto-fixes them. Every piece of code passes through all three review passes before you ever see it. Think of it as a senior engineer reviewing every line, built directly into your AI workflow.

Use Cases

  • Enforce a 30-line limit on functions to ensure modularity
  • Automatically add error handling to API calls and file operations
  • Eliminate redundant lookups and N+1 query patterns in loops
  • Convert 'any' types to strict interfaces in TypeScript files
  • Remove dead code, unused imports, and commented-out blocks automatically

Reviews

No reviews yet. Be the first to review this skill after you install it.

Security Scanned

Passed automated security review

Permissions

No special permissions declared or detected

OpenClaw, Cursor, Claude Code, Codex CLI

Creator

P

PromptSpace

We build AI agent skill packages for content creators. Specializing in Chinese social media automation.

Frequently Asked Questions

Auto Code Reviewer — AI Agent Skill | PromptSpace