Use rules files

Rules files capture the project-specific standards you want
AI Assistant
to consider when it works in your project. Rules are included with every request, across all
AI Assistant
modes, without needing to restate them each time.
AI Assistant
uses rules as guidance, not guarantees. Always review its output to make sure it meets your standards.
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
.
AI Assistant
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