eval-rules

Audits CLAUDE rule files for frontmatter, path patterns, and usefulness.

Updated May 30, 2026
One-click install
npx skills add https://github.com/alexica00/claude-code-ultimate-guide --skill eval-rules-alexica00
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-rules
Source: https://github.com/alexica00/claude-code-ultimate-guide/tree/main/examples/skills/eval-rules
Command: npx skills add https://github.com/alexica00/claude-code-ultimate-guide --skill eval-rules-alexica00

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits and validates CLAUDE rule files under .claude/rules/ to ensure correct frontmatter, valid glob patterns, and practical usefulness.

Core Features & Use Cases

  • Discover and validate all .claude/rules/ rule files.
  • Validate YAML frontmatter, gather paths, and test glob patterns against real project files.
  • Interactively review each rule to confirm scope and usefulness, with in-place edits when needed.
  • Helpful for initial rule setup, debugging noisy rules, and periodic hygiene.

Quick Start

Run the eval-rules skill against your project to begin auditing your CLAUDE rules.

Frequently Asked Questions about eval-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit and validate CLAUDE rules in my repository?

You can audit CLAUDE rules by scanning the .claude/rules/ directory to validate YAML frontmatter, resolve glob patterns against actual files, and interactively review rule usefulness for in-place edits.

Why are my .claude/rules glob patterns not matching the correct project files?

Glob patterns in .claude/rules might fail if they are malformed or reference paths that do not exist. An audit resolves these patterns against real repository files to identify mismatches and validate scope.

What is the best way to clean up noisy CLAUDE rule files?

The best way to clean up noisy rules is through an interactive review process that checks each rule's scope and usefulness, allowing you to apply in-place edits to sanitize frontmatter and path patterns.

Does the CLAUDE rules audit check YAML frontmatter formatting?

Yes, the audit extracts and parses YAML frontmatter from .claude/rules files to enforce structured metadata validation and ensure correct formatting across your repository.

Can I edit CLAUDE rule files directly during the validation process?

Yes, you can make in-place edits to rule files using an Edit workflow during the interactive review, allowing you to fix frontmatter and glob pattern issues immediately as they are identified.