AI Rules
A library of composable modules under modules/. Recipes under examples/ declare intention
(builtins + includes) and ai-rulez generates assistant
files.
Define a practice once, reuse it in every project.
Start here
Section titled “Start here”- Install and apply - pick a recipe, generate agent files
- Migrate from ai-rulesmith - playbook for old
AI_RULES.jsonprojects - Cursor / GitHub Copilot / Codex - tool output
- Library structure - modules, includes, intention
- Rules - browse module rules
Commands
Section titled “Commands”| Command | What it does |
|---|---|
task install | Install tools pinned in mise.toml |
task apply RECIPE=<name> TARGET=/path | Copy a recipe into a project |
task validate | Validate dogfood config and every recipe |
task build | Generate this repo’s agent files |
task docs:dev | Preview this site locally |
task ci | Validate the library and build the site |