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

Testing OpenClaw for Multi-Country Trip Planning with MoLOS Integration
A developer tested OpenClaw with MoLOS to plan a China-Japan trip, generating day-by-day itineraries, flight/hotel suggestions, and 50+ automated tasks while identifying limitations in transport times and attraction validation.

Turning Claude into an AI TPM: Organizational Memory via Separate Instances
A Reddit user built persistent Claude instances that act as an AI technical program manager by feeding meeting notes, Slack chats, project docs, and org context. The system now maintains organizational memory, identifies conflicts, suggests next steps, and generates follow-up docs.

Real-time Conflict Monitor Built with Claude API Analyzes News Impact
A developer used Claude's API to build an automated pipeline that reads conflict news from 100+ sources, classifies by topic/country/severity, generates impact scores (1-100), and produces 3-line smart summaries.

Freight Driver Builds iOS App with Claude Code, Shares Practical Lessons
A freight driver in Japan with minimal coding experience used Claude Code to build an iOS app for new recordkeeping regulations, shipping it to the App Store in six months. He shares specific lessons about prompt engineering, unexpected costs with Expo and Supabase, and managing burnout.