/officialunofficial-skills:rulefrom Official Unofficial Skills
Turns a correction into a short written project rule with a broken line and replacement, files it under the topic owner, then fixes existing code that violates it.
Ships in Official Unofficial Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a correction into a written project rule. Write it once, in the file that owns its topic, then fix the code that already breaks it.
A rule is a pair: a broken line and the line that replaces it. Keep it short enough to read before every edit, because a rule nobody rereads changes nothing.
scope owns following the rules during an edit. audit reviews a codebase against all of them.
AGENTS.md, CLAUDE.md and the editor rule folders before acting. An edit that breaks a written rule is the most serious finding here.The work is done when the rule sits in one file with its pair, no other rule contradicts it, and the reply lists every file the sweep fixed.
Labels take Title Case.
Add to librarybecomesAdd to Library.
| Rule | Broken | Replacement |
|---|---|---|
rule-read-before-acting | A pill button added in a repo whose rules forbid pills | Rules read first, a rounded button |
rule-write-the-pair | "Use good casing" | The example above |
rule-keep-it-short | A paragraph of reasoning | One sentence and a pair |
rule-one-home | One rule in three files | One file, the others point to it |
rule-resolve-conflicts | "Use borders" beside "never use borders" | The old rule replaced, the change noted |
rule-sweep-existing | The rule added, twelve violations left | The violations fixed and listed |
When the skill runs as a review, write one finding per root cause:
file:line - [rule-id] what is wrong
Severity:
HIGH: an edit that breaks a written rule, or two rules that contradict.MEDIUM: a rule with no pair, or old violations left after a new rule.LOW: a rule longer than it needs to be.Close with a Rule | Count | Severity summary and a verdict: Block while any HIGH remains, Approve otherwise. Mark every rule file you could not read as Not verified.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub officialunofficial/skills --plugin officialunofficial-skills85 skills in this plugin
/alignmentMeasures a running page for edges, gaps, centres and radii that miss by a pixel or two, judges visual weight, and returns a numbered report with proof./animateBuilds a web animation from scratch and writes the code. Decides in order whether it should animate at all, its purpose, the tool, the properties, the easing and duration or spring, how it interrupts and exits, and reduced motion. Use when asked to animate something, add motion, build a transition, or make a component feel alive. For React Native or Expo use animate-expo. To critique existing motion use review-animations. To audit a whole codebase use improve-animations./animate-expoOther plugins' skills for the same job