Rules files
Rules files are project-scoped policy documents that the AI Agent reads during every
interaction to apply project standards automatically. Rules files help ensure consistent
application of standards throughout the Explore, Plan, Build, and other modes.
A project can include one or more rules files. Use
rules.md
for the
main policy file. For topic-specific rules, use
rules_<topic>.md
, such as rules_naming.md
,
rules_tags.md
, or rules_devices.md
. The AI
Agent automatically loads Markdown files whose names start with rules:- rules.mdfor main policies
- rules_naming.mdfor naming policies
- rules_tags.mdfor tag policies
- rules_devices.mdfor device policies
Provide Feedback