Skip to main content
Version: next

Rules Reference

This section contains all 145 validation rules generated from knowledge-base/rules.json. 48 rules have automatic fixes.

RuleNameSeverityCategoryAuto-Fix
AS-001Missing FrontmatterHIGHAgent SkillsNo
AS-002Missing Required Field: nameHIGHAgent SkillsNo
AS-003Missing Required Field: descriptionHIGHAgent SkillsNo
AS-004Invalid Name FormatHIGHAgent SkillsYes (safe/unsafe)
AS-005Name Starts/Ends with HyphenHIGHAgent SkillsYes (safe)
AS-006Consecutive Hyphens in NameHIGHAgent SkillsYes (safe)
AS-007Reserved NameHIGHAgent SkillsNo
AS-008Description Too ShortHIGHAgent SkillsNo
AS-009Description Contains XMLHIGHAgent SkillsNo
AS-010Missing Trigger PhraseMEDIUMAgent SkillsYes (unsafe)
AS-011Compatibility Too LongHIGHAgent SkillsNo
AS-012Content Exceeds 500 LinesMEDIUMAgent SkillsNo
AS-013File Reference Too DeepHIGHAgent SkillsNo
AS-014Windows Path SeparatorHIGHAgent SkillsYes (safe)
AS-015Upload Size Exceeds 8MBHIGHAgent SkillsNo
AS-016Skill Parse ErrorHIGHAgent SkillsNo
CC-SK-001Invalid Model ValueHIGHClaude SkillsYes (unsafe)
CC-SK-002Invalid Context ValueHIGHClaude SkillsYes (unsafe)
CC-SK-003Context Without AgentHIGHClaude SkillsYes (unsafe)
CC-SK-004Agent Without ContextHIGHClaude SkillsYes (unsafe)
CC-SK-005Invalid Agent TypeHIGHClaude SkillsYes (unsafe)
CC-SK-006Dangerous Auto-InvocationHIGHClaude SkillsNo
CC-SK-007Unrestricted BashHIGHClaude SkillsYes (unsafe)
CC-SK-008Unknown Tool NameHIGHClaude SkillsNo
CC-SK-009Too Many InjectionsMEDIUMClaude SkillsNo
CC-SK-010Invalid Hooks in Skill FrontmatterHIGHClaude SkillsNo
CC-SK-011Unreachable SkillHIGHClaude SkillsYes (unsafe)
CC-SK-012Argument Hint Without $ARGUMENTSMEDIUMClaude SkillsNo
CC-SK-013Fork Context Without Actionable InstructionsMEDIUMClaude SkillsNo
CC-SK-014Invalid disable-model-invocation TypeHIGHClaude SkillsYes (safe)
CC-SK-015Invalid user-invocable TypeHIGHClaude SkillsYes (safe)
CC-HK-001Invalid Hook EventHIGHClaude HooksYes (safe/unsafe)
CC-HK-002Prompt Hook on Wrong EventHIGHClaude HooksNo
CC-HK-003Missing Matcher for Tool EventsHIGHClaude HooksNo
CC-HK-004Matcher on Non-Tool EventHIGHClaude HooksYes (safe)
CC-HK-005Missing Type FieldHIGHClaude HooksNo
CC-HK-006Missing Command FieldHIGHClaude HooksNo
CC-HK-007Missing Prompt FieldHIGHClaude HooksNo
CC-HK-008Script File Not FoundHIGHClaude HooksNo
CC-HK-009Dangerous Command PatternHIGHClaude HooksNo
CC-HK-010Timeout PolicyMEDIUMClaude HooksNo
CC-HK-011Invalid Timeout ValueHIGHClaude HooksYes (unsafe)
CC-HK-012Hooks Parse ErrorHIGHClaude HooksNo
CC-HK-013Async on Non-Command HookHIGHClaude HooksYes (safe)
CC-HK-014Once Outside Skill/Agent FrontmatterMEDIUMClaude HooksNo
CC-HK-015Model on Command HookMEDIUMClaude HooksYes (safe)
CC-HK-016Validate Hook Type AgentHIGHClaude HooksYes (unsafe)
CC-HK-017Prompt/Agent Hook Missing $ARGUMENTSMEDIUMClaude HooksNo
CC-HK-018Matcher on UserPromptSubmit/StopLOWClaude HooksYes (safe)
CC-AG-001Missing Name FieldHIGHClaude AgentsNo
CC-AG-002Missing Description FieldHIGHClaude AgentsNo
CC-AG-003Invalid Model ValueHIGHClaude AgentsYes (unsafe)
CC-AG-004Invalid Permission ModeHIGHClaude AgentsYes (unsafe)
CC-AG-005Referenced Skill Not FoundHIGHClaude AgentsNo
CC-AG-006Tool/Disallowed ConflictHIGHClaude AgentsNo
CC-AG-007Agent Parse ErrorHIGHClaude AgentsNo
CC-AG-008Invalid Memory ScopeHIGHClaude AgentsYes (unsafe)
CC-AG-009Invalid Tool Name in Tools ListHIGHClaude AgentsNo
CC-AG-010Invalid Tool Name in DisallowedToolsHIGHClaude AgentsNo
CC-AG-011Invalid Hooks in Agent FrontmatterHIGHClaude AgentsNo
CC-AG-012Bypass Permissions WarningHIGHClaude AgentsYes (unsafe)
CC-AG-013Invalid Skill Name FormatMEDIUMClaude AgentsNo
CC-MEM-001Invalid Import PathHIGHClaude MemoryNo
CC-MEM-002Circular ImportHIGHClaude MemoryNo
CC-MEM-003Import Depth Exceeds 5HIGHClaude MemoryNo
CC-MEM-004Invalid Command ReferenceMEDIUMClaude MemoryNo
CC-MEM-005Generic InstructionHIGHClaude MemoryYes (safe)
CC-MEM-006Negative Without PositiveHIGHClaude MemoryNo
CC-MEM-007Weak Constraint LanguageHIGHClaude MemoryYes (safe/unsafe)
CC-MEM-008Critical Content in MiddleHIGHClaude MemoryNo
CC-MEM-009Token Count ExceededMEDIUMClaude MemoryNo
CC-MEM-010README DuplicationMEDIUMClaude MemoryNo
CC-MEM-011Invalid Paths Glob in RulesHIGHClaude MemoryNo
CC-MEM-012Rules File Unknown Frontmatter KeyMEDIUMClaude MemoryYes (unsafe)
AGM-001Valid Markdown StructureHIGHAGENTS.mdNo
AGM-002Missing Section HeadersMEDIUMAGENTS.mdNo
AGM-003Character Limit (Windsurf)MEDIUMAGENTS.mdNo
AGM-004Missing Project ContextMEDIUMAGENTS.mdNo
AGM-005Platform-Specific Features Without GuardMEDIUMAGENTS.mdNo
AGM-006Nested AGENTS.md HierarchyMEDIUMAGENTS.mdNo
CC-PL-001Plugin Manifest Not in .claude-plugin/HIGHClaude PluginsNo
CC-PL-002Components in .claude-plugin/HIGHClaude PluginsNo
CC-PL-003Invalid SemverHIGHClaude PluginsNo
CC-PL-004Missing Required Plugin FieldHIGHClaude PluginsNo
CC-PL-005Empty Plugin NameHIGHClaude PluginsYes (unsafe)
CC-PL-006Plugin Parse ErrorHIGHClaude PluginsNo
CC-PL-007Invalid Component PathHIGHClaude PluginsYes (safe)
CC-PL-008Component Inside .claude-pluginHIGHClaude PluginsNo
CC-PL-009Invalid Author ObjectMEDIUMClaude PluginsNo
CC-PL-010Invalid Homepage URLMEDIUMClaude PluginsNo
MCP-001Invalid JSON-RPC VersionHIGHMCPYes (safe)
MCP-002Missing Required Tool FieldHIGHMCPNo
MCP-003Invalid JSON SchemaHIGHMCPNo
MCP-004Missing Tool DescriptionHIGHMCPNo
MCP-005Tool Without User ConsentHIGHMCPNo
MCP-006Untrusted AnnotationsHIGHMCPNo
MCP-007MCP Parse ErrorHIGHMCPNo
MCP-008Protocol Version MismatchMEDIUMMCPYes (unsafe)
MCP-009Missing command for stdio serverHIGHMCPNo
MCP-010Missing url for http/sse serverHIGHMCPNo
MCP-011Invalid MCP server typeHIGHMCPYes (unsafe)
MCP-012Deprecated SSE transportMEDIUMMCPYes (unsafe)
COP-001Empty Copilot Instruction FileHIGHGitHub CopilotNo
COP-002Invalid Frontmatter in Scoped InstructionsHIGHGitHub CopilotYes (unsafe)
COP-003Invalid Glob Pattern in applyToHIGHGitHub CopilotNo
COP-004Unknown Frontmatter KeysMEDIUMGitHub CopilotYes (safe)
COP-005Invalid excludeAgent ValueHIGHGitHub CopilotYes (unsafe)
COP-006File Length LimitMEDIUMGitHub CopilotNo
CUR-001Empty Cursor Rule FileHIGHCursorNo
CUR-002Missing Frontmatter in .mdc FileMEDIUMCursorYes (unsafe)
CUR-003Invalid YAML FrontmatterHIGHCursorNo
CUR-004Invalid Glob Pattern in globs FieldHIGHCursorNo
CUR-005Unknown Frontmatter KeysMEDIUMCursorYes (safe)
CUR-006Legacy .cursorrules File DetectedMEDIUMCursorNo
CUR-007alwaysApply with Redundant globsMEDIUMCursorYes (safe)
CUR-008Invalid alwaysApply TypeHIGHCursorYes (safe)
CUR-009Missing Description for Agent-Requested RuleMEDIUMCursorNo
CLN-001Empty Cline Rules FileHIGHclineNo
CLN-002Invalid Paths Glob in Cline RulesHIGHclineNo
CLN-003Unknown Frontmatter Key in Cline RulesMEDIUMclineYes (unsafe)
XML-001Unclosed XML TagHIGHXMLYes (unsafe)
XML-002Mismatched Closing TagHIGHXMLYes (unsafe)
XML-003Unmatched Closing TagHIGHXMLYes (unsafe)
REF-001Import File Not FoundHIGHReferencesNo
REF-002Broken Markdown LinkHIGHReferencesNo
PE-001Lost in the MiddleMEDIUMPrompt EngineeringNo
PE-002Chain-of-Thought on Simple TaskMEDIUMPrompt EngineeringNo
PE-003Weak Imperative LanguageMEDIUMPrompt EngineeringNo
PE-004Ambiguous InstructionsMEDIUMPrompt EngineeringNo
XP-001Platform-Specific Feature in Generic ConfigHIGHCross-PlatformNo
XP-002AGENTS.md Platform CompatibilityHIGHCross-PlatformNo
XP-003Hard-Coded Platform PathsHIGHCross-PlatformNo
XP-004Conflicting Build/Test CommandsMEDIUMCross-PlatformNo
XP-005Conflicting Tool ConstraintsHIGHCross-PlatformNo
XP-006Multiple Layers Without Documented PrecedenceMEDIUMCross-PlatformNo
OC-001Invalid Share ModeHIGHopencodeYes (unsafe)
OC-002Invalid Instruction PathHIGHopencodeNo
OC-003opencode.json Parse ErrorHIGHopencodeNo
GM-001Invalid Markdown Structure in GEMINI.mdHIGHgemini-cliNo
GM-002Missing Section Headers in GEMINI.mdMEDIUMgemini-cliNo
GM-003Missing Project Context in GEMINI.mdMEDIUMgemini-cliNo
CDX-001Invalid Approval ModeHIGHcodexYes (unsafe)
CDX-002Invalid Full Auto Error ModeHIGHcodexYes (unsafe)
CDX-003AGENTS.override.md in Version ControlMEDIUMcodexNo
VER-001No Tool/Spec Versions PinnedLOWVersion AwarenessNo