audit-public-rules
Diagnoses public rule files (Track A: root `AGENTS.md` + Claude/Gemini bridge / Track B: root `CLAUDE.md`) by comparing them to best practices, reports issues, and—after obtaining user consent—optionally applies fixes. Tracks are auto-detected by the presence of the root files and are indicated in the report header as "Detected track: X" (the user can rebut within 1 second). Detects anti-patterns (obvious advice, linter duplication, content that looks like code, outdated paths, cross-tool duplication, leakage of personal settings, etc.), checks token efficiency, verifies structure, and validates reference paths. If both tracks are present as full rule sets, a track-migration option is offered. Triggers: "audit AGENTS.md", "check AGENTS.md", "audit CLAUDE.md", "review agent config", "AGENTS.md 검토", "CLAUDE.md 검토", "공개 지침 점검", "팀 규칙 진단", "에이전트 설정 진단", "/audit-public-rules". Use when you’ve modified public rule files and want to verify quality, or when rules have accumulated over time and need cleanup.