Skip to main content
Store the context Leo should apply on its own in Project Settings → General, in the Instructions & guidelines card.

Instructions

A free-text block saved as LEO_RULES.md at the root of your project. Leo receives it as mandatory project rules before making code changes. Click Save (or press Cmd+S / Ctrl+S) to write it. You can also edit LEO_RULES.md directly in Code. Use it for anything that should hold across the whole project: project-specific rules, coding style, business rules, links to external documentation or style guides.
Write it as rules, not prose. Vague instructions produce inconsistent results. If you find yourself repeating something in every prompt, it belongs here.