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

Reddit user shares system for using Claude as a work operating system
A Reddit user describes moving beyond using Claude like a search engine to implementing a 10-step system with specific folder structures, file types, and interaction methods that treat Claude as a primary work operating system.

Claude Code AI Agent Controls Physical iPhone via Accessibility APIs
A developer demonstrated Claude Code autonomously operating a physical iPhone through the Blitz Mac app, using WebDriverAgent and accessibility APIs with a zero-distance swipe workaround for taps.

Vibe Coding a $20k/Year Enterprise Logistics Platform with Claude and Superpowers
TRMNL replaced ShipHero with Claude and Superpowers in under a month, building a custom fulfillment system with UPS, FedEx, DHL, and USPS integrations for $100 in tokens.

Using Claude to Build PainSignal: A Database of 1,000 Real Business Problems
A developer used Claude Code to build PainSignal, a platform that organizes 1,000 real business problems from industries like trucking and cleaning. Claude handled data classification, opportunity clustering, and app concept generation.