01
谁在用
Who开发者布道师 Connie Leung。
02
遇到什么问题
Challenge技术博客草稿中的代码问题和事实错误,自己很难发现。
03
怎么用 AI 解决
Solution- 让 Gemini CLI 根据自然语言描述生成 critique.toml 自定义命令,人工微调后存入 .gemini/commands。
- 提示词让模型扮演开发者关系编辑。
- 用 Gemini 3 Pro Preview 对草稿运行命令,修改后再跑一遍。
04
结果如何
Results据原作者自述- 在她的 Angular/Firebase 项目中发现 3 个问题:初始化失败时白屏、开发模式拉取间隔过长、环境变量校验遇到第一个缺失就停止
- 修复由作者本人编写;命令主要检查文中代码
以上内容均由原作者自行报告,未经独立核实,也不代表造物云产品的效果。
05
提示词
Prompt参考提示词(由 agentusecases.ai 整理为模板,非原帖原文)
中文
创建一个 Gemini CLI 自定义命令 /critique:读取【草稿路径】中的博客草稿,检查事实错误、错误代码、过时建议和不清楚的解释,输出编号问题清单,每条附原文引用和修改建议。
ENGLISH
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.