skills/no-mistakes/SKILL.md
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.
npx skillsauth add regenrek/agent-skills no-mistakesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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..no-mistakes.yaml over agent auto-detection for repeatable gates.python3 first, then python) and no external dependencies.command -v and no-mistakes doctor for prerequisites. Avoid hard-coded local binary paths in reusable instructions.no-mistakes is missing or broken.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.
Use this flow when the user says the feature is done and would normally run git push.
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:
main, master, develop, or another protected base branchorigin is missingno-mistakes remote is missing and no-mistakes init has not been approvedno-mistakes doctor reports a hard failureBefore 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.
Run:
git push no-mistakes <branch>
Do not use git push origin in this workflow.
Open or attach to the active run:
no-mistakes
If the run is not active or you need a specific run:
no-mistakes attach
For each blocking finding:
rebase, review, test, document, lint, push, pr, or ci)If the run needs another attempt:
no-mistakes rerun
End with:
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
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.
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
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.
The pipeline order is:
intent -> rebase -> review -> test -> document -> lint -> push -> pr -> ci
Key distinctions:
commands.test, commands.lint, and commands.format.doctor cannot find an agent, check PATH first, then set agent_path_override in ~/.no-mistakes/config.yaml.gh/glab authentication or Bitbucket env vars.PATH and report the exact command and failure.tools
Live-test any Electron desktop app with native-devtools-mcp, Chrome DevTools Protocol, screenshots, OCR, and accessibility tools. Use when the user asks for Electron UI verification, MCP-driven app control, renderer CDP interaction, native desktop automation, screenshots, or OCR-driven checks.
testing
Find, clone, inspect, and summarize high-quality GitHub reference repositories for coding agents. Use when a user asks for GitHub reference projects, examples, prior art, inspiration, implementation patterns, or includes "$search-context" in a coding prompt.
testing
Run or install repo security leak checks with BetterLeaks and Trivy. Use when asked to scan for leaked secrets, vulnerable dependencies, misconfigurations, add secret-leak guardrails, add BetterLeaks, add forbidden-path hooks, or run secleak-check before release.
development
Run a reusable JavaScript supply-chain security baseline with pnpm-first hardening, release-age gating, lifecycle-script controls, exotic dependency checks, CI install checks, and optional incident IOC profiles.