Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.44 KB

File metadata and controls

36 lines (27 loc) · 1.44 KB

Contributing

Thanks for your interest in contributing! This collection stays intentionally small — every rule must solve a real problem that people actually hit in production.

What We Accept

  • New rules that solve a universal problem across Claude Code projects (not project-specific configuration)
  • Improvements to existing rules based on real-world experience
  • Bug reports when a rule causes unintended agent behavior

What We Don't Accept

  • Project-specific rules (put those in your own .claude/rules/)
  • Rules that duplicate Claude Code's built-in behavior
  • "Nice to have" guidance that doesn't prevent concrete problems
  • Rules longer than 80 lines — if it can't be said concisely, it's too complex for an always-on rule

How to Submit

  1. Fork the repo
  2. Create a branch: git checkout -b rule/your-rule-name
  3. Add your rule to rules/ using the template in templates/RULE.md.template
  4. Write a clear PR description explaining:
    • What problem does this solve?
    • How did you discover this problem? (real scenario)
    • How did you verify the rule works? (tested with Claude Code)
  5. Submit the PR

Rule Quality Checklist

  • Solves a real, recurring problem (not hypothetical)
  • Under 80 lines (agents read this every session)
  • Uses bold keywords for scannability
  • Includes anti-patterns section
  • Tested with actual Claude Code sessions
  • Works as always-on OR has correct path-scoping globs