Core Workflows
- Configuration loading reads
.ai-rulez/config.tomlviainternal/config, scans content trees, and resolves includes. - Generation uses declarative specs in
internal/generator/providers/builtin/plus specialized generators ininternal/generator/presets, withinternal/templatesrendering outputs andinternal/gitignoreupdating ignore rules. - CRUD subcommands in
cmd/commandscallinternal/crudto create or update rules, context, skills, agents, domains, profiles, and includes. - Validation runs through
internal/validatorand the config loaders to check schema and structure. - MCP handlers in
internal/mcpexpose read, CRUD, generate, and validate operations to external tools.