rules
Writing a project's rules, the instructions that apply only when they are relevant, under .agents/rules/. Covers deciding whether something is a rule, AGENTS.md or a Skill, choosing the trigger, writing patterns in the supported glob dialect, wording a rule as a convention, deciding when a rule belongs in a shared plugin and moving it there, and proving it with uze agent rules check. Use when asked to create, add or write a rule, when an instruction "only applies to src/…" or to one kind of file, when AGENTS.md has grown sections that only matter under one path and should be split, or when a rule does not seem to fire.
Pinned to revision 87852d7cc6c3, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.