二十四个动词指哪打哪:六十二条规则不调模型也能判
来源:GitHub — 2026-10-31 · ⭐ 96,730 stars · Rust
📋 概述
Impeccable 给编码智能体一套设计词汇:用 polish、bolder 这类动词下指令,用 critique、audit 做审查,让机器味在出厂前被抓出来。装完跑一次 /impeccable init,它读代码,只问推不出来的事——产品给谁用、要办成什么、有什么约束——写进 PRODUCT.md;再跑 document 把现有视觉系统记进 DESIGN.md,之后每条命令都读这两份文件。二十四条命令分四组:Steer 有 bolder、quieter、distill、colorize、typeset、layout、animate、delight、overdrive;Review 是打分式的 critique 与技术报告 audit;Finish 有 polish、harden、clarify、adapt、optimize、onboard;另有 live、generate、shape、init、document、extract。
🔑 核心要点
- 检测器是确定性的:六十二条规则不需要 LLM 也不需要 API key,引擎是随技能附带的独立二进制,缺了只下载一次到 ~/.impeccable/bin。
- 钩子比记性可靠:设计钩子扫描智能体编辑的每个 UI 文件,在它宣布完工前把发现递回去,而不是靠谁记得手动跑。
- 三种跑法一套结果:命令行能扫目录、扫渲染后的 URL、输出 JSON 或 GitHub Actions 注解,退出码 2 表示有问题、1 表示扫不了。
- live 模式能写回源码:打开 dev server 加一层覆盖,选中元素、挑方向、就地换变体,接受后直接落到本地代码,支持 Vite、Next、SvelteKit、Astro、Nuxt 与纯 HTML。
- 例外要留痕:要保住品牌字体就 npx impeccable ignores add-value overused-font Inter --reason "Brand font",单个文件也可用注释关掉某条规则。
💡 金句
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, and catch AI slop before it ships.
👍 0
👎 0
← 返回 GitHub Trending 首页