Skip to content

About

A check that cannot fail looks exactly like a check that passes. AQK plants a known defect into a copy of your most-repaired file, runs your own declared checks against it, and counts a catch only when one names the planted file. Zero dependencies, one command.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

381 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AQK — Agent Quality Kit

English · Русский

npm checks AQK-3 node dependencies: 0 MIT licence

Linux Windows Python TypeScript Go Rust any language

Claude Code Codex Cursor any agent GitHub Action

 █████╗   ██████╗ ██╗  ██╗
██╔══██╗ ██╔═══██╗██║ ██╔╝
███████║ ██║   ██║█████╔╝
██╔══██║ ██║▄▄ ██║██╔═██╗
██║  ██║ ╚██████╔╝██║  ██╗
╚═╝  ╚═╝  ╚══▀▀═╝ ╚═╝  ╚═╝
   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.

Why

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.

Who it is for, and when

  • 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.

Try it in a minute

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 away

doctor 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.

Main commands

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

Install for good

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 failed

As a pre-commit hook:

repos:
  - repo: https://github.com/arsen-ask-lx/Agent_Quality_Kit
    rev: v0.19.0
    hooks:
      - id: aqk

As 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-kit

Needs: 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.

More

MIT licence.

About

A check that cannot fail looks exactly like a check that passes. AQK plants a known defect into a copy of your most-repaired file, runs your own declared checks against it, and counts a catch only when one names the planted file. Zero dependencies, one command.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages