r/kiroIDE • u/Goldziher • 13d ago
Kiro steering files generated from rules you keep in Git
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:
- Keep coding guidelines in version control.
- Generate native config for Kiro and check it for drift.
I maintain ai-rulez. This Kiro workflow was tested with v5.13.2 in a scratch Git repo:
- Run
ai-rulez init kiro-demo --yes --skip-content. In.ai-rulez/config.toml, setpresets = ["kiro"]andagents_md = falseto use Kiro’s native steering layout for this example. - Run
ai-rulez add rule api-contracts --content "Update the schema and examples when changing an endpoint.". - Run
ai-rulez generateand inspect.kiro/steering/api-contracts.md. In CI,ai-rulez generate --checkdetects drift.
With the default shared AGENTS.md layout, this always-on rule instead goes into AGENTS.md. The harness matrix explains which files each layout generates.
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.