Jorge Turbica / blog · Blog ← All articles ES · Leer en español
AI

Skill of the day: no-mistakes, your agent can’t push a branch without review, tests and CI

A local Git gate that runs AI review, tests, lint and CI before the push, which your coding agent drives itself with /no-mistakes.

7,800 installs on skills.sh and more than 9,200 GitHub stars: no-mistakes goes after the weak spot of coding agents, which tend to trust whatever they just wrote. Instead of git push origin, you push to a local remote called no-mistakes, and your branch only reaches GitHub after it passes review, tests, docs, lint and CI. The /no-mistakes skill lets the agent itself drive that process.

What it does: a gate between your branch and the remote

no-mistakes is an MIT-licensed tool written in Go. At its core is a Git proxy that spins up a disposable worktree and runs these phases in order: intent, rebase, review, test, document, lint, push, PR and CI. Each phase either passes or stops with a finding, and every finding comes labeled:

  • auto-fix: mechanical, low-risk fixes that can be approved without asking.
  • no-op: informational only.
  • ask-user: the finding challenges a deliberate decision or touches product behavior, so only a person can settle it.

Review is done by an agent you choose (claude, codex, opencode, copilot, cursor and others, with ordered fallbacks). Once everything is green, the tool forwards the branch to the remote, opens the PR and watches CI; if CI fails, it tries to repair it.

The skill kicks in when you ask to validate, ship safely, or type /no-mistakes, and it has two modes:

  • Validate only (/no-mistakes): your changes are already committed and the agent runs them through the gate.
  • Task first (/no-mistakes add a --json flag to the status command): the agent checks git status, does the work on a feature branch, validates it and reports back.

The most valuable part of the SKILL.md isn't the commands but two rules it imposes on the agent. First, intent is mandatory. Every run starts with --intent and what you set out to achieve in your own words, not a diff summary, because the reviewer uses it to tell a deliberate choice from a mistake. Second, a test-quality rule: no tests that just read source code and grep for strings. Tests must check observable behavior against an independent oracle, and a regression test should fail before the fix.

How to install and use it

The tool installs with a script (the installation guide also covers Go, Nix and building from source). Initializing a repository installs the skill for your agents as well:

bash
curl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh
cd my-repo
no-mistakes init            # creates the gate and installs /no-mistakes
git push no-mistakes my-branch
no-mistakes                 # opens the TUI for the active run

If you only want the skill from the skills.sh directory:

bash
npx skills add https://github.com/kunchenguid/no-mistakes --skill no-mistakes

Under the hood the agent drives the no-mistakes axi command family, which prints machine-readable TOON. axi run blocks until the next decision, with an 8-minute default wait designed around agent tool timeouts, and the agent answers each gate with axi respond --action approve|fix|skip.

Risks and limits

  • Pushes and history rewrites: the tool pushes and opens PRs for you. CI repairs are published through a guarded force-push, and only when it can prove they build on the commit you already reviewed; otherwise they go back through review. Merge-conflict repairs always go back through review.
  • --yes mode: it counts as your consent for the agent to resolve ask-user findings on its own too. Without it, the SKILL.md requires the agent to relay them to you verbatim. Save --yes for repositories where you would accept any fix without looking.
  • Cost and context: every gate needs the configured pipeline agent (review, fixes, CI repairs), all billed to your account. And the SKILL.md is about 38 KB, which lands in the agent's context every time the skill fires.
  • Installation: the official script is curl | sh; read it first or use the Go route.
  • Review auto-fix is off by default (auto_fix.review: 0), so review findings stop and wait for a decision instead of being silently fixed. That is the sensible setting; leave it until you know how the tool reviews.

Compared with what we already had

A pre-push hook or a CI pipeline already runs tests and lint before a merge, and you still need them. What no-mistakes adds is an AI review that knows the intent behind the change, the fact that all of it happens before the branch reaches the remote, and a reviewer that is not the agent that wrote the code. If your team already requires human review and has fast CI, the gain is smaller; if you hand whole tasks to an agent and then review PRs that don't build, this is exactly the missing piece.

Sources

Jorge Turbica

Software Engineer and SRE. I write about the real challenges I run into in production.

See portfolio ↗