# no-mistakes - git push 前的 AI 质检门禁,自动开干净 PR > 接上AI编码代理后,push之前自动帮你检查代码有没有bug,有问题AI自动修,全过了再帮你推代码开PR ## no-mistakes - git push 前的 AI 质检门禁 用 `git push no-mistakes` 替代 `git push origin`,本地 git 代理自动拉起一次性 worktree,跑 AI 驱动的验证流水线(review → test → docs → lint),全部通过后才转发到真实远端并自动开 PR。 ### 核心亮点 - **非阻塞** - 流水线在隔离 worktree 中运行,不影响你继续工作 - **Agent 无关** - 支持 Claude Code、Codex、Rovo Dev、OpenCode、Pi、ACP 等任何编码代理 - **Agent 原生** - `/no-mistakes` 指令让代理完成任务后自动走门禁,安全修复自动应用,需要判断的才升级给人类 - **人类始终掌控** - 自动修复或人工审核,你来定 - **默认干净 PR** - push、开 PR、看 CI、自动修复,一气呵成 ### 三种触发方式 | 方式 | 说明 | |------|------| | `git push no-mistakes` | Git 路径,push 分支到门禁远端 | | `no-mistakes` | TUI 界面,向导式走完 commit + push + 审核 | | `/no-mistakes` | Agent 指令,代理驱动无交互审核 | ### 工作原理 push → 一次性 worktree → review/test/docs/lint → 全绿 → 转发远端 → 自动开 PR。机械问题自动修,涉及意图的升级给你审批。 ### 安装 ```sh curl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh ``` 支持 macOS / Linux / Windows。Go 编写,MIT 开源。 --- **分类**:软件 **标签**:自动 · push · no **作者**:Xiao.Xi **链接**:https://octohz.com/p/1855