1---2name: core-workflows3description: Core Workflows4---56# Core Workflows781. Configuration loading reads `.ai-rulez/config.toml` via `internal/config`, scans content trees, and resolves includes.92. Generation uses declarative specs in `internal/generator/providers/builtin/` plus specialized generators in `internal/generator/presets`, with `internal/templates` rendering outputs and `internal/gitignore` updating ignore rules.103. CRUD subcommands in `cmd/commands` call `internal/crud` to create or update rules, context, skills, agents, domains, profiles, and includes.114. Validation runs through `internal/validator` and the config loaders to check schema and structure.125. MCP handlers in `internal/mcp` expose read, CRUD, generate, and validate operations to external tools.