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.
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.
Look up and summarize web content from a browser extension
A commenter built an agentic browser extension using Gemini that handles lookups on selected text or images and summarizes articles on a webpage.
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.
Build an automated podcast website that creates companion resources
A podcaster built and deployed a podcast site with Replit over a weekend that automatically generates companion resources when an episode is published.
Generate custom interactive HTML lessons for students
A teacher gives Claude Code a passage, level, vocab list and goals, and gets back a full lesson file with flip cards and comprehension questions, replacing hours of weekly worksheet work.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.