Rule

Turn a repeated correction into a project rule.

By

Raphael Salaja

Price

Free

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

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Rule

Turn a repeated correction into a project rule.

By

Raphael Salaja

Price

Free

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

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Rule

Turn a repeated correction into a project rule.

By

Raphael Salaja

Price

Free

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

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.