AI Context Linter — Summary
AI Context Linter is a GitHub Action by MrDwarf7 that statically validates AI coding context files (CLAUDE.md, .cursorrules, AGENTS.md, COPILOT.md, .windsurfrules, .clinerules) against 12 rules covering security issues, structural problems, AI anti-patterns, and best practices — catching problems in CI before they silently degrade agent behavior.
Problem it solves: Context files written quickly or carelessly often contain hardcoded API keys, vague instructions ("follow best practices"), conflicting rules, or structural issues that make them harder for agents to parse. These problems are invisible until the agent produces bad output. The linter catches them automatically in CI.
Distinctive trait: It is the only framework in this batch that operates as a GitHub Action for CI integration rather than as an agent tool — it validates the inputs to agents rather than governing agent behavior. It also ships a custom config file (.ai-context-linter.yml) to disable rules or adjust token limits.
Scope: 12 rules across 4 categories: Security (2 errors), Structure (4 warnings), AI Anti-Patterns (3 warnings), Best Practices / File-Type Specific (3+ info). Configurable via YAML config file. Outputs issue count and files-checked as GitHub Action outputs.
Relationship: Sister repo to MrDwarf7/ai-context-templates — designed as the validate step for context files created with those templates.
Differs from seeds: No direct seed parallel exists — none of the 11 seeds include a CI linter for context files. The closest analogy is caliber (same batch) which has a caliber score command that evaluates context file quality with a 100-point rubric; ai-context-linter is a lightweight GitHub Action version of that concept with hardcoded rules rather than LLM-assisted scoring.