core-workflows
Use when you need to know how ai-rulez loads configuration, generates outputs, runs CRUD subcommands, validates, or serves MCP, and which internal package owns each step, before tracing or changing on
SKILL.md.ai-rulez/skills/core-workflows/SKILL.md
GitHubCore 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/config(schema and structure) andinternal/lint(content findings such as AR401). - MCP handlers in
internal/mcpexpose read, CRUD, generate, and validate operations to external tools.