All skills

Add rule

Turn a correction into a rule and a lint guard.

RulesGuardrails

What it does

Turns a correction - yours in the terminal, or a reviewer's on a PR - into a durable convention line and, when it's mechanical, a real lint guard that goes red next time. A rule isn't real until something can go red on it.

Run it whenever you catch yourself correcting the same thing twice.
  • Writes the rule where the agent will read it, in your conventions doc.
  • Adds a failing lint guard when the rule is mechanically checkable.
  • The self-improving half of the loop: the linter catches it, not a human.

Install and run

just this skill
git clone --depth 1 https://github.com/uiverify/uiverifycp -r uiverify/packages/skills/skills/add-rule .claude/skills/rm -rf uiverify# then invoke it /add-rule

Or install the whole bundle

Claude Code
  1. 1
    /plugin marketplace add uiverify/uiverify
  2. 2
    /plugin install uiverify@uiverify

Recommended. Run each command on its own - Claude Code opens a prompt after the first, so pasting both at once fails.

View on GitHub
UI Verify
Built by the team behind UI Verify

Automate this skill end to end

UI Verify captures every story on every pull request and lets an AI judge, or your agent, review the diffs. See how it works.

© 2026 UI Verify