# Rule `agent-docs/` Template Use this structure for Markdown files inside `agent-docs/` when the document's main job is to govern behavior: rules, policy, constraints, decision criteria, or workflow guidance. ## Recommended Shape ```md # ## Applies To - ## Does Not Apply To - ## - ## Checklist - ``` ## Notes - Make the scope explicit. - Keep the document responsible for one topic. - Use semantic filenames and headings. - If the document references repository files, write repository-relative paths in backticks, not Markdown links or machine-local absolute filesystem paths. - State the user or maintainer decision directly: what to do, what to avoid, and how to choose. - Prefer linking to inventories, examples, or narrower child docs instead of embedding long registries inline.