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

Three Practical Patterns for Making Money with OpenClaw
Analysis of 100 OpenClaw users shows three consistent approaches: turning existing knowledge into AI assistants, automating repetitive research, and selling time-saving outcomes rather than AI features.

Graduate Student Uses Claude to Build AI Image Detection Experiment
A graduate student at The New School collaborated with Claude to build a website called InPixelsWeTrust.org that tests whether users can distinguish real photos from AI-generated images in 6 rounds with 10-second decisions.

Opus 4.8 vs Sonnet 4.6 for Analytics: Real Data from a SaaS Dashboard
A SaaS with 310 tradesmen customers tested Claude Opus 4.8 vs Sonnet 4.6 for trend analysis, monthly summaries, and anomaly detection. Opus caught subtle anomalies Sonnet missed, but cost 2.1x per call.

BinktermPHP: A Full BBS/FidoNet Platform Built Primarily with Claude
BinktermPHP is an open-source web-based BBS written in PHP 8 with PostgreSQL, featuring a built-in binkp FidoNet mailer, echomail/netmail, file areas, door games, real-time server push, and an MCP server that exposes echomail to AI assistants. The developer reports building it almost entirely using Claude for implementation while handling architecture and testing.