Instructions / rules
◆Documented currentInstructionsRulesProject (repo)
Load order:
--rule <file-or-dir> flag (repeatable, always applies in addition to discovery), then .augment/rules/**/*.md and .mdc (workspace root only, searched recursively), then AGENTS.md if present in a directory else CLAUDE.md — discovered hierarchically from the edited file's directory up to the workspace root (sibling directories aren't loaded), then .augment-guidelines. --no-rules disables discovery; /rules shows what loaded. Rule frontmatter type: always_apply (default), agent_requested (needs description), manual (referenced as $rule-name in a message; subfolder rules use the folder path like $frontend/react, names with spaces are quoted)Global (user)
~/.augment/rules/**/*.md and .mdc, always treated as always_apply (frontmatter ignored); IDE: ~/.augment/user-guidelines.md (VS Code only). Limits: user guidelines 24,576 characters, workspace guidelines plus rules 49,512