Skip to main content
PROMPT SPACE
A
$5.00developer-toolsUniversal

Auto Code Reviewer

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

skill install https://www.promptspace.in/skills/code-reviewer-1
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

Example

Prompt

Review the code in this file, simplify the logic, and handle any potential API failures.

Sample output preview is available after purchase.

Frequently asked questions

The Code Reviewer identifies issues across three specific passes—error handling, structure, and naming—and automatically modifies the code to fix them before it is delivered to you.