abide-compile
Installation
SKILL.md
Compile an Abide rubric
You are turning the rules a person wrote for coding agents into a rubric that a checker outside your context window can enforce on every edit. The checker sees only one rule and one diff at a time. Nothing else. Every decision below follows from that.
Two facts before you start:
- Rules come only from the user's own files. Never add a rule you think they should have. If a file holds zero rules, the rubric holds zero rules and you say so.
- The rubric is a committed, hand-editable file. A person will read it, and a verdict must trace to a rule they can point at. Quote their wording.
Step 1. Read the sources
The hook that sent you here listed the instruction files it found and where the rubric goes. Read every listed file in full. Then:
- Follow pointer files. A file whose whole content is "Read instructions from X" or "Read ./AGENTS.md" is a pointer. Read X and treat X as a source in its own right: list it under
sourceswith its own path so it gets its own hash. - Files under a subdirectory apply only there. The hook gave each one a scope glob. Rules from that file carry that glob.
- Read
CONTRIBUTING.mdonly when it was listed, and keep only sentences that give an instruction. Prose about how to open a pull request is not a rule. - If a lint config was listed (
eslint.config.*,.eslintrc*,biome.json, stylelint config), skim it for rule names. When a rule you extract is already enforced there, keep the rule and record the lint rule name incheck.overlaps. It stays in the rubric because lint runs later than an edit and the convention still binds; the label keeps it from being reported as a new finding.