mcpbeat Sign in

No Mistakes Agent Skill

Use the no-mistakes gated push workflow in Git repositories. Use when the user wants to check no-mistakes readiness, initialize or inspect a gate, configure .no-mistakes.yaml, push through the no-mistakes remote, attach to runs, interpret/fix pipeline findings, rerun status/runs/doctor, or use no-mistakes with Codex/Claude/OpenCode/Pi/ACP agents. Install guidance is secondary and only for missing or broken no-mistakes binaries.

4k tokens
context cost
the whole folder, loaded on every use
4
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
131
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/instructa/agent-skills --skill no-mistakes

What comes with it

6 977 bytes besides the instruction
README.md
agents/openai.yaml
scripts/check_no_mistakes.py

The instruction itself

17 sections, as written by the author

No Mistakes

Overview

Use no-mistakes as the repo's finished-feature workflow: inspect readiness, verify the local branch, push through the no-mistakes remote when approved, attach to the run, and help the user react to pipeline findings until PR/CI is ready.

Guardrails

  • Treat git push no-mistakes, bare no-mistakes -y, and CI auto-fix runs as remote-affecting operations. Ask before running them unless the user explicitly requested a push/PR flow.
  • Prefer explicit repo commands in .no-mistakes.yaml over agent auto-detection for repeatable gates.
  • Use bundled scripts with a generic Python runner (python3 first, then python) and no external dependencies.
  • Run commands from the target Git repo root when initializing, configuring, or checking status.
  • Use command -v and no-mistakes doctor for prerequisites. Avoid hard-coded local binary paths in reusable instructions.
  • Treat install commands as a fallback only when no-mistakes is missing or broken.

Deterministic Check

Start with the bundled health check when inspecting an existing repo. Resolve scripts/check_no_mistakes.py relative to this skill folder, then run it with whichever Python command exists:

python3 <skill-dir>/scripts/check_no_mistakes.py --cwd .
python <skill-dir>/scripts/check_no_mistakes.py --cwd .

Use --json when you need machine-readable output:

python3 <skill-dir>/scripts/check_no_mistakes.py --cwd . --json

The script is read-only and standard-library only. It checks git, no-mistakes, provider CLIs, supported agent binaries, origin and no-mistakes remotes, .no-mistakes.yaml, and no-mistakes doctor.

Finished Feature Workflow

Use this flow when the user says the feature is done and would normally run git push.

1. Inspect readiness

Run the deterministic check from the repo root:

python3 <skill-dir>/scripts/check_no_mistakes.py --cwd .

If python3 is unavailable, use:

python <skill-dir>/scripts/check_no_mistakes.py --cwd .

Then inspect Git state:

git status --short --branch
git branch --show-current
git remote -v
no-mistakes status
no-mistakes runs --limit 10

Stop and ask before continuing if:

  • the branch is dirty and the user did not ask you to commit
  • the current branch is main, master, develop, or another protected base branch
  • origin is missing
  • the no-mistakes remote is missing and no-mistakes init has not been approved
  • no-mistakes doctor reports a hard failure

2. Confirm the intended push

Before any remote-affecting command, state the exact branch and command:

Ready to push <branch> through no-mistakes with:
git push no-mistakes <branch>

Ask for confirmation unless the user already explicitly requested the no-mistakes push.

3. Push through the gate

Run:

git push no-mistakes <branch>

Do not use git push origin in this workflow.

4. Attach and drive the run

Open or attach to the active run:

no-mistakes

If the run is not active or you need a specific run:

no-mistakes attach

5. Handle findings

For each blocking finding:

  • summarize the exact step (rebase, review, test, document, lint, push, pr, or ci)
  • quote the important error/finding text
  • decide whether it is user-decision, code-fix, config-fix, or external-service failure
  • implement code/config fixes only when the user asked you to fix
  • rerun or continue the no-mistakes flow after fixes

If the run needs another attempt:

no-mistakes rerun

6. Report outcome

End with:

  • branch pushed or not pushed
  • PR URL if no-mistakes created/updated one
  • CI state if available
  • remaining blockers, if any

Bypass And Wizard

Use skip only for an explicitly accepted one-off bypass:

no-mistakes --skip test,lint
git push -o no-mistakes.skip=test,lint no-mistakes <branch>

Use the wizard for uncommitted work only when the user wants no-mistakes to guide branch/commit/push:

no-mistakes
no-mistakes -y

Missing Binary

First check whether it is already available:

command -v no-mistakes
no-mistakes --version

If it is missing or broken, choose one install path:

# macOS/Linux release binary; installs/restarts daemon
curl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh

# Go install; telemetry off by default unless configured at runtime
go install github.com/kunchenguid/no-mistakes/cmd/no-mistakes@latest

# Source checkout
make build
make install

After install:

no-mistakes doctor

Required: git and at least one supported agent binary (claude, codex, opencode, acli for Rovo Dev, pi) or acpx for an ACP target. For PR/CI steps, GitHub uses gh, GitLab uses glab, and Bitbucket Cloud uses NO_MISTAKES_BITBUCKET_EMAIL plus NO_MISTAKES_BITBUCKET_API_TOKEN.

Repo Setup

Initialize a repo that already has an origin remote:

git remote -v
no-mistakes init

This adds a local no-mistakes remote and creates gate state under ~/.no-mistakes unless NM_HOME is set. It does not remove origin.

Remove a gate from the current repo:

no-mistakes eject

Configure

Prefer a repo-level .no-mistakes.yaml with explicit commands:

agent: codex

commands:
  test: "go test -race ./..."
  lint: "go vet ./..."
  format: "gofmt -w ."

ignore_patterns:
  - "*.generated.go"
  - "vendor/**"

auto_fix:
  rebase: 3
  review: 0
  test: 3
  document: 3
  lint: 3
  ci: 3

Adjust commands to the repo's real test/lint/format entrypoints. If commands are omitted, the selected agent tries to detect checks.

Use global config for machine-local agent paths or flags:

# ~/.no-mistakes/config.yaml
agent: auto

agent_path_override:
  codex: /absolute/path/to/codex

Do not put machine-local paths, approval modes, or personal model choices into .no-mistakes.yaml unless the repo intentionally owns that policy.

Pipeline Mental Model

The pipeline order is:

intent -> rebase -> review -> test -> document -> lint -> push -> pr -> ci

Key distinctions:

  • Local deterministic checks come from commands.test, commands.lint, and commands.format.
  • AI judgment covers diff review, missing-doc checks, auto-fix attempts, and check detection when commands are absent.
  • Remote CI still belongs to the Git provider; no-mistakes watches it and can ask the agent to fix failed jobs.

Troubleshooting

  • If doctor cannot find an agent, check PATH first, then set agent_path_override in ~/.no-mistakes/config.yaml.
  • If the daemon misses environment variables, put them in shell startup files loaded by a login shell, then restart the daemon.
  • If PR or CI steps skip, verify gh/glab authentication or Bitbucket env vars.
  • If tests are flaky because optional CLIs exist on the machine, rerun with a scoped PATH and report the exact command and failure.
  • If the user asks what "clean" means, explain it as "the branch passed the configured local and remote gates"; do not imply perfection.

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take instructa/no-mistakes from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference go. Without those the skill loads but fails at the first command.