Critique blog post drafts for technical errors
A developer built a custom Gemini CLI command that reads a blog draft from disk and critiques it for technical errors, used in an iterative editing loop.
Done withGemini
- What they did
- Connie Leung had Gemini CLI generate a critique.toml custom command from a natural-language prompt, then refined it by hand and saved it in .gemini/commands. The prompt casts the model as a DevRel editor. She runs it on a draft by piping the file or referencing it with @draft.md, using Gemini 3 Pro Preview, then applies the fixes and reruns.
- How it went
- The critique flagged three problems in her Angular/Firebase project: a white screen on initialization failure, a fetch interval that was too long in dev mode, and validation that stopped at the first missing environment variable. She fixed all three. No timing figures are given.
- Worth knowing
- The command flags issues in the code inside the post. The fixes shown were written and applied by the author, so check each suggestion yourself.
Try it yourself with Gemini
Create a custom Gemini CLI command called /critique that reads the blog draft at [path to draft file] and reviews it for technical errors, such as wrong facts, incorrect code, outdated advice and unclear explanations. It should return a numbered list of issues, each with the quoted passage, why it is wrong and a suggested fix. Do not edit the draft file; just report findings so I can revise and run it again.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: dev.to · Undated
Related use cases
Orchestrate a multi-phase RAG migration
A walkthrough of using Gemini CLI to coordinate a complex, multi-phase cloud migration project.
Diagnose and roll back bad config during outages
Google SREs use Gemini CLI to pull logs, find a bad config push, generate a reverting changelist, and file postmortem action items via MCP.
Sort waste using local recycling rules
Gemini Robotics-ER 1.5 looks up local recycling rules online, then plans and sorts objects into compost, recycling and trash bins.
Produce a track in Ableton Live by talking
An MCP server that lets Codex drive Ableton Live, used to write and mix a full song from chat messages.
Draft and schedule a weekly newsletter
A /newsletter command in Claude Code finds the week's posts, drafts in the author's voice, gets approval, then creates and schedules the broadcast in Kit in about two minutes.
Create social media visuals with Canva MCP
The poster tried Canva MCP in Claude Code to produce app marketing visuals and found it a disaster.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.