plugins/abstract/skills/rules-eval/SKILL.md
Evaluate Claude Code rules in .claude/rules/. Use for frontmatter, globs, and quality audits.
npx skillsauth add athola/claude-night-market rules-evalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
abstract:skills-eval)abstract:hooks-eval)hookify:writing-rules)This skill evaluates Claude Code rules in .claude/rules/ directories against quality standards. It validates YAML frontmatter, glob pattern syntax, content quality, and directory organization. Rules files support path-scoped conditional loading via paths frontmatter and unconditional rules (no paths field).
Key validations: YAML syntax errors, unquoted glob patterns, Cursor-specific fields (alwaysApply, globs), overly broad patterns, content verbosity, and naming conventions.
# Evaluate rules in current project
/rules-eval
# Evaluate specific directory
/rules-eval .claude/rules/
# Detailed analysis with recommendations
/rules-eval --detailed
.claude/rules/ for all .md files (including subdirectories)| Category | Points | Focus | |----------|--------|-------| | Frontmatter Validity | 25 | YAML syntax, required fields, correct field names | | Glob Pattern Quality | 20 | Syntax, specificity, quoting | | Content Quality | 25 | Actionable, concise, non-conflicting | | Organization | 15 | Naming, structure, symlink usage | | Token Efficiency | 15 | Rule size, redundancy detection |
| Score | Level | |-------|-------| | 91-100 | Excellent - Production-ready | | 76-90 | Good - Minor improvements possible | | 51-75 | Basic - Needs optimization | | 26-50 | Below Standards - Significant issues | | 0-25 | Critical - Invalid or broken rules |
modules/frontmatter-validation.mdmodules/glob-pattern-analysis.mdmodules/content-quality-metrics.mdmodules/organization-patterns.mdscripts/rules_validator.pyabstract:skills-eval - Skill evaluation frameworkabstract:hooks-eval - Hook evaluation framework.md file under .claude/rules/ (including subdirectories) receives a quality score
(0-100) with per-category breakdown across the five dimensions.alwaysApply, globs) are flagged as
non-compliant with the expected Claude Code schema.data-ai
Models a business in its own language. Use when the domain has real business rules to capture.
research
Generate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output.
development
Generates and self-executes a diff-derived test plan for a PR. Use when validating PR changes before merge. Do not use for code review; use sanctum:pr-review.
development
Ramps implementation ambition a notch only after the prior increment is understood. Use when building a feature you must understand, not just ship.