Rules Reference
claudelint includes 117 validation rules across 10 categories. Each rule has detailed documentation with examples.
Featured Rules
claude-md-sizeCLAUDE.md exceeds the maximum allowed size (40KB default)
skill-dangerous-commandSkill contains potentially dangerous commands
mcp-invalid-transportUnknown or invalid MCP transport type
agent-body-too-shortAgent system prompt should have meaningful content
plugin-invalid-manifestPlugin manifest has structural errors
skill-missing-shebangShell script missing shebang line
Browse the sidebar for the complete list of rules organized by category, or see the Validators Overview for a summary of what each category checks.
Severity Levels
- error - Must be fixed. Causes non-zero exit code.
- warning - Should be fixed. Does not affect exit code.
- info - Informational suggestion.
Auto-fixable Rules
Some rules support automatic fixing:
bash
claudelint check-all --fixSee Also
- Validators Overview - How validators work
- Configuration - Customize rule severity
- CLI Reference - All CLI commands and flags