Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Your team's rules

Loopy already knows general good practice. Rules teach it what's specific to your team. A broken rule is reported as a rule-violation finding at the severity you choose.

AGENTS.md and CLAUDE.md

If your repository already has AGENTS.md or CLAUDE.md files for your coding agents, Loopy reads them automatically. Each file applies to its own folder and everything below it. Nothing to set up.

Rule files

For a rule you want enforced and reported by name, add a Markdown file to .loopy/rules/:
.loopy/rules/money-in-cents.md
--- title: Money is integer cents severity: P1 paths: ['src/billing/**', 'src/invoices/**'] --- Amounts of money are stored and passed as integer cents. Flag any float, `Number` division or `toFixed` applied to an amount, and any column that stores money as a decimal.
Front matterMeaning
titleA short name, shown on the finding.
severityP0, P1 or P2 (default P2). A finding that breaks the rule takes this severity.
pathsGlobs the rule applies to. Leave it out to apply the rule everywhere.
The body is the rule itself, in plain language. Say what to flag, and why if it isn't obvious.
Write rules the way you'd explain them to a new teammate in code review. Specific rules ("flag a fetch without a timeout") work better than general ones ("write robust code").

Quick rules from a pull request

To save something without opening a file, comment on any pull request:
@loopyreviews-bot remember Feature flags are read through flags.get(), never from process.env.

Where rules are read from

Like .loopy/config.yaml, rules and AGENTS.md are read from the pull request's base branch. A new rule applies to every review after it's merged, and a pull request can't change the rules it's reviewed against.