English · Русский
█████╗ ██████╗ ██╗ ██╗
██╔══██╗ ██╔═══██╗██║ ██╔╝
███████║ ██║ ██║█████╔╝
██╔══██║ ██║▄▄ ██║██╔═██╗
██║ ██║ ╚██████╔╝██║ ██╗
╚═╝ ╚═╝ ╚══▀▀═╝ ╚═╝ ╚═╝
a promise without an exit code is just a sentence
AQK checks that your repository's checks actually catch mistakes. Especially when an AI agent writes the code.
An agent writes code faster than you can read it. What keeps quality up is checks: tests, linters,
CI. But a check that cannot fail prints the same green tick as one that works: || true in a
script, a test with no assertion, a hook nobody installed, a command in AGENTS.md that no longer
exists.
AQK finds those. It plants a known mistake into a copy of your code, runs the checks your repository declares, and tells you which of them noticed and which stayed silent.
- You write code with an agent — Claude Code, Codex, Cursor or any other — and want the project's rules held by a machine, not by the agent's memory.
- Your CI is green, but you are not sure it catches anything.
- You are starting a project and want guards from day one: secrets, debug prints, swallowed errors, giant files.
- You run several projects, and "what already burned us" should move between them.
Works with any agent, or none, and any language. Nothing to install.
npx agent-quality-kit doctor # code already exists: what is checked, what nothing watches
npx agent-quality-kit start # no code yet: set up the guards right awaydoctor only reads: it writes no file and sends nothing anywhere. Here is what it says about a
project whose CI is green and whose checks cannot go red:
✘ test npm test ← package.json
cannot fail: the verdict is swallowed right in the script — «|| true»
✔ lint npm run lint ← package.json
✘ typecheck npm run typecheck ← package.json
proves nothing: the whole script is a printout — «echo 'todo: turn this on'»
Every check has three outcomes, not two: ✔ clean, ✘ a finding in the code, ? the check
itself could not run — fix the tool, not the file. Each failure is written for the agent: it
says what to do.
| Command | What it does |
|---|---|
doctor |
inspection: what is declared, what nothing watches, which level |
doctor --run |
runs the declared checks; the exit code is for CI |
add <name> |
installs a ready guard from the catalogue |
prove |
proves each check goes red on its own sample mistake |
probe |
plants mistakes into a copy of the code and sees who catches them |
report --html |
one page for a human: what is protected, better or worse, what to hand the agent |
context |
the repository's state for the agent — before its first action |
In GitHub CI:
- uses: arsen-ask-lx/Agent_Quality_Kit@v0.19.0
with:
min: 1 # the build fails below AQK-1 or if any declared check failedAs a pre-commit hook:
repos:
- repo: https://github.com/arsen-ask-lx/Agent_Quality_Kit
rev: v0.19.0
hooks:
- id: aqkAs a Claude Code plugin — the repository's state reaches the agent's context:
/plugin marketplace add arsen-ask-lx/Agent_Quality_Kit
/plugin install aqk@agent-quality-kitNeeds: Node 18+ and sh (macOS, Linux, WSL; on Windows, Git Bash). The package is
≈0.8 MB with no dependencies. Once a day, never in CI, doctor --brief asks npm for the
latest version number; turn it off with AQK_UPDATE=0. There is no auto-update.
- The full guide — every command, levels AQK-0…3, how checks work, the catalogue, how to introduce a rule into a live project.
- Guard catalogue · Incident log · Specification
- Bring your own gate · Report a problem
MIT licence.