1

    Code Reviewer

    by Aman Garg

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

    Updated Apr 2026
    Security scanned
    One-time purchase
    Works with Claude Code

    $5

    One-time purchase · Own forever

    ⚡ Also available via Agensi MCP — your AI agent can load this skill on demand via MCP. Learn more →

    Included in download

    • Enforce a 30-line limit on functions to ensure modularity
    • Automatically add error handling to API calls and file operations
    • Ready for Works with Claude Code
    • Includes example output and usage patterns
    • Instant install

    See it in action

    Refactored `processUserBatch`:
    - Extracted `fetchLabels` to look up labels once before the loop.
    - Wrapped Google API calls in try/catch with context-aware error messages.
    - Reduced function from 52 to 24 lines by extracting `validateUserData`.
    - Removed 3 unused imports and a commented-out block.

    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.

    📖 Learn more: Best Testing & QA Skills for Claude Code →

    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 share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    No special permissions declared or detected

    Works with Claude Code, Cursor, Codex CLI, VS Code Copilot, and any SKILL.md-compatible agent. No additional dependencies required.

    Creator

    Tampa FL based Entrepreneur

    Frequently Asked Questions

    Similar Skills

    $5

    One-time