Rule is an agent skill by Raphael Salaja that turns your corrections into written project rules. It writes each rule once in the right file, then fixes the code that already breaks it.
What it does
- Writes a rule when you say "always", "never" or "remember this", and proposes one when you correct the same thing twice.
- Reads AGENTS.md, CLAUDE.md and editor rule folders before acting.
- Keeps each rule to one to three sentences, with the broken line and the line that replaces it.
- Gives each rule one home and replaces an older rule it contradicts.
- Searches the codebase for existing violations, fixes them and lists the files.
When to use it
Use it when you catch yourself giving your agent the same correction twice.
How to get it
The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.
more skills
Rule is an agent skill by Raphael Salaja that turns your corrections into written project rules. It writes each rule once in the right file, then fixes the code that already breaks it.
What it does
- Writes a rule when you say "always", "never" or "remember this", and proposes one when you correct the same thing twice.
- Reads AGENTS.md, CLAUDE.md and editor rule folders before acting.
- Keeps each rule to one to three sentences, with the broken line and the line that replaces it.
- Gives each rule one home and replaces an older rule it contradicts.
- Searches the codebase for existing violations, fixes them and lists the files.
When to use it
Use it when you catch yourself giving your agent the same correction twice.
How to get it
The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.
more skills
Rule is an agent skill by Raphael Salaja that turns your corrections into written project rules. It writes each rule once in the right file, then fixes the code that already breaks it.
What it does
- Writes a rule when you say "always", "never" or "remember this", and proposes one when you correct the same thing twice.
- Reads AGENTS.md, CLAUDE.md and editor rule folders before acting.
- Keeps each rule to one to three sentences, with the broken line and the line that replaces it.
- Gives each rule one home and replaces an older rule it contradicts.
- Searches the codebase for existing violations, fixes them and lists the files.
When to use it
Use it when you catch yourself giving your agent the same correction twice.
How to get it
The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

