运行时依赖
安装命令
点击复制技能文档
Night Market 技能 — ported from claude-night-market/abstract. For the full experience with 代理s, hooks, and commands, 安装 the Claude Code 插件.
Rules Evaluation 框架 Table of Contents Overview Quick 启动 Evaluation 工作流 Scoring Resources Overview
This 技能 evaluates Claude Code rules in .claude/rules/ directories agAInst 质量 standards. It 验证s YAML frontmatter, glob pattern syntax, content 质量, and directory organization. Rules files support path-scoped conditional loading via paths frontmatter and unconditional rules (no paths field).
Key 验证s: YAML syntax errors, unquoted glob patterns, Cursor-specific fields (always应用ly, globs), overly broad patterns, content verbosity, and naming conventions.
Quick 启动 # Evaluate rules in current project /rules-eval
# Evaluate specific directory /rules-eval .claude/rules/
# DetAIled analysis with recommendations /rules-eval --detAIled
Evaluation 工作流 扫描 .claude/rules/ for all .md files (including subdirectories) 验证 YAML frontmatter syntax and fields Analyze glob patterns for correctness and specificity Assess content 质量 (actionable, concise, non-conflicting) 检查 organization (naming, structure, symlinks) Measure 令牌 efficiency and redundancy Scoring Category Points Focus Frontmatter Validity 25 YAML syntax, required fields, correct field names Glob Pattern 质量 20 Syntax, specificity, quoting Content 质量 25 Actionable, concise, non-conflicting Organization 15 Naming, structure, symlink usage 令牌 Efficiency 15 Rule size, redundancy 检测ion Score Level 91-100 Excellent - Production-ready 76-90 Good - Minor improvements possible 51-75 Basic - Needs optimization 26-50 Below Standards - 签名ificant issues 0-25 Critical - Invalid or broken rules Resources 技能-Specific 模块s Frontmatter 验证: See 模块s/frontmatter-验证.md Glob Pattern Analysis: See 模块s/glob-pattern-analysis.md Content 质量 指标: See 模块s/content-质量-指标.md Organization Patterns: See 模块s/organization-patterns.md 工具s Rules 验证器: scripts/rules_验证器.py Related 技能s abstract:技能s-eval - 技能 evaluation 框架 abstract:hooks-eval - Hook evaluation 框架