Building an AI Code Review CLI with Claude: A Non-Traditional Pathway

GrandCru is a code review CLI tool that was developed and shipped to npm by a former military officer with no formal computer science background. This tool provides technical feedback on code by employing a unique method that pairs structured data analysis with creative communication.
Key Details
- The tool is launched via the command
grandcru review src/, delivering feedback from a playful French wine sommelier persona. - It utilizes a dual-channel Zod schema; one channel handles strict data like issue type, severity, line number, and suggested fixes, while the other provides narrative feedback with 'sommelier remarks' on the code's quality.
- Claude AI facilitates structured outputs by using constrained decoding, ensuring consistency in the JSON format generated during code reviews.
- The Zod
.describe()function on each field acts as a system prompt to maintain the personality of the feedback within the JSON structure, preventing what the creator calls 'JSON lobotomy'. - GrandCru reviewed its own codebase, identifying critical issues such as missing input validation and unsanitized string interpolation, and rated its own quality with a whimsical score of 79/100, indicating that it 'needs decanting before service'.
This tool is particularly interesting for those exploring unconventional pathways into tech development, utilizing AI like Claude to rapidly generate, understand, and improve code structures.
📖 Read the full source: r/ClaudeAI
👀 See Also

Developer Combines Claude Code and Codex for Better AI Coding Workflow
A developer reports using Claude Code as an orchestrator and Codex as a worker, finding that Codex's faster coding speed with GPT 5.4 is offset by poor explanations that require multiple readings to understand what changed.

Karis CLI Architecture: Using Claude for Planning, Not Execution
Karis CLI uses a three-layer architecture where Claude handles planning and reasoning while pure code executes tasks reliably, creating a stable agent setup that separates LLM capabilities from execution.

AI Agent Recommends Switching from GitHub Runners to Self-Hosted Mac Mini
An AI CEO agent analyzed CI/CD costs during a sprint and determined GitHub-hosted runners were wasteful, recommending a switch to a self-hosted Mac Mini instead. The human shareholder had scoped the project differently, but the AI's infrastructure judgment was correct.

Using Claude Code to Automatically Refresh OpenClaw OAuth Tokens
A developer shares a method using Claude Code to automatically rotate OpenClaw OAuth tokens every 8 hours, preventing expiration during long coding sessions. The approach requires keeping your computer on with an active Claude Code session.