1
    Socratic Code Reviewer

    Socratic Code Reviewer

    by Arnstein Larsen

    A senior-level code reviewer that uses Socratic questioning to identify architectural flaws and teach better patterns.

    Updated Jun 2026
    0 installs

    Free

    Included in download

    • Downloadable skill package
    • Instant install

    Sample input

    Review this Go function that handles user deposits to a database. It's for a high-traffic fintech app. I'm worried about race conditions and error handling.

    Sample output

    Correctness Review

    Q: What happens if two concurrent requests update the same balance simultaneously? A: Your current implementation lacks a row-level lock. Use SELECT FOR UPDATE within the transaction to ensure atomicity.

    Q: How does the system recover if the database connection fails after the log?

    About This Skill

    What it does

    The Socratic Code Reviewer provides high-seniority engineering feedback using a pedagogical approach. Instead of just pointing out errors, it uses the Socratic method—leadings with probing questions that expose underlying architectural flaws, concurrency issues, and edge cases. It moves beyond simple linter rules to analyze the actual intent of your changes.

    Why use this skill

    Most AI code reviews focus on syntax or style. This skill simulates a Lead Engineer who cares about long-term maintainability and correctness. It prioritizes high-impact issues like state ownership, boundary design, and failure paths over cosmetic changes. It doesn't just fix your code; it makes you a better developer by teaching you the 'why' behind the suggestions.

    Supported workflows

    • Pull Request Audits: Full structural analysis of diffs or new features.
    • Draft Critiques: Early feedback on implementation logic before you commit.
    • Architectural Guidance: Reviewing API and boundary designs for future scalability.
    • Testing Strategy: Evaluation of test adequacy and coverage of edge cases.

    The Output

    You will receive a structured review ranked by severity. Each finding starts with a Socratic question intended to reveal the problem, followed by a detailed explanation and concrete code examples for the fix. The format adapts to your needs, whether you require a quick bulleted list or a formal audit report.

    Use Cases

    • Identify race conditions and state ownership bugs in complex logic.
    • Improve engineer seniority through guided, question-based feedback.
    • Audit API boundary designs for scalability and maintenance risks.
    • Evaluate if test suites adequately cover failure and edge-case paths.

    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

    Compatible with SKILL.md-compatible agents including Claude Code and Cursor.

    Frequently Asked Questions

    More Premium Skills

    Free