All rules
R004 FileLength
- Applies to
- Rules files (CLAUDE.md, AGENTS.md, .mdc, .cursorrules, Copilot instructions, GEMINI.md, .windsurfrules)
- Severity
- Warning (−4 per finding, max −30)
- Summary
- The file is longer than 200 lines.
- Flags
- Line count above 200. Reported once, at line 201.
- Measured false-positive rate
- 0% (0 of 30) and 0% (0 of 30), two judges, ruleset v2; rule unchanged since. Methodology
Before
A 350-line CLAUDE.md covering every module.
After
A root file under 200 lines; module rules in their own files.
Fix