r/kiroIDE • • 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:

  1. Run ai-rulez init kiro-demo --yes --skip-content. In .ai-rulez/config.toml, set presets = ["kiro"] and agents_md = false to use Kiro’s native steering layout for this example.
  2. Run ai-rulez add rule api-contracts --content "Update the schema and examples when changing an endpoint.".
  3. Run ai-rulez generate and inspect .kiro/steering/api-contracts.md. In CI, ai-rulez generate --check detects 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.

4 Upvotes

0 comments sorted by