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.md
    for main policies
  • rules_naming.md
    for naming policies
  • rules_tags.md
    for tag policies
  • rules_devices.md
    for device policies
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal