rule-quality-evaluator

Installation
SKILL.md

Rule Quality Evaluator

Core principle: A rule that cannot be violated cannot be followed. Most instruction files fail not because they're too short or too long, but because they're full of unfalsifiable guidance, redundant noise, and implicit knowledge that never made it to paper. This skill scores rules against seven measurable properties, identifies structural weaknesses, and optionally verifies behavior with live coding tasks.

Two-Phase Overview

  • Phase 1 — Static Critic (always run): Read the rules, score each against the Seven Properties, detect structural issues, produce a scorecard. No agent execution required.
  • Phase 2 — Behavioral Test (opt-in): Generate coding tasks that touch the rules, derive testable assertions, hand off to context-eval, synthesize the combined report.

Interview-only fallback: If no instruction file is accessible (chat-only context, no filesystem), ask the user to paste the rules directly. Flag at the end: "I can't verify codebase alignment — code pattern checks will need manual verification."


Phase 1 — Static Critic

Step 1: Ingest

Read the instruction file(s). Detect the format (Markdown prose, structured rules list, YAML front matter, fenced sections). Parse into individual rules — one rule = one discrete behavioral instruction. When in doubt, split on bullet points, numbered items, or paragraph breaks that each start an imperative.

Related skills

More from andurilcode/craftwork

Installs
2
GitHub Stars
6
First Seen
Apr 2, 2026