r/AmpCode • u/Goldziher • 3h ago
Generating an Amp review check from a repository-owned guideline
Hi people,
I'm glad to announce ai-rulez v5. It's a CLI and MCP for managing the instructions, skills, and settings that coding agents use in a repository. It's available through Homebrew, Scoop, npm, PyPI, and Go (see the installation instructions for details). The tool covers the following parts of AI Governance:
Author review guidelines alongside agent instructions and skills.
Generate the files each coding agent reads and check them for drift.
I maintain ai-rulez. Here’s the Amp-specific part I tested on v5.13.2 in a scratch Git repository:
Run
ai-rulez init amp-demo --yes --skip-content. Setpresets = ["amp"]in.ai-rulez/config.toml.Run
ai-rulez add check docs --description "Review new command examples" --content "Check flag names against CLI help.".Run
ai-rulez generate. Amp gets one file per check, here.agents/checks/docs.md. Runai-rulez generate --checkin CI to detect changes that need regeneration.
The review checks guide shows the Amp frontmatter and how the same source check renders for other clients.
I'm happy to hear any comments. If you find the tool useful, star it. It really does help. And of course, I'd love to see people use it and get involved with the project.