
Writing rules
SkillGuides the agent in writing Claude Code .claude/rules/ files that are enforceable and lean
- Open source
- 155 GitHub stars
- Developer tools


Guides the agent in writing Claude Code .claude/rules/ files that are enforceable and lean

Turns repeated agent mistakes in a repo into architecture, type, lint or test guards

Keeps the agent moving on reversible work instead of pausing to ask permission

Gives agents the 50 natural-language programming rules for writing skills, agents

Guides the agent to trace bugs to their first wrong decision and fix them there

Checklist of anti-patterns and best practices for writing agent instructions and skills

Keeps the agent biased toward deletion and the smallest change during refactors

Refactors recently changed code for clarity and consistency without changing behavior

Guides the agent to script or verify non-trivial work instead of doing it by hand

Guides an agent to remove dead code and extra guards before adding new work

Guides the agent to settle data shapes and shared state before writing logic

Applies readability rules to code you write, review or refactor in any language
The closest alternatives to Principle encode lessons in structure are Writing rules, Correct, Principle never block on the human, Rules and Principle fix root causes.
Yes. Writing rules, Correct, Principle never block on the human have a free or open-source option.