agentleFS
tovrleaftovrleaf/openkata/.agents/skills/openkata-review-rule/SKILL.md

openkata-review-rule

Skill1 starsChanged 18 days agoMITView on GitHub

Reviews a rule against the rule design checklist, validates conventions are enforceable, and checks token cost. Use when the user creates a new rule, updates an existing rule, asks to review a rule, or says "review" in the context of rules.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If ambiguous, list available rules and ask.

    line 18
  2. Very specific:

    If over, identify what can move to references/.

    line 38
  3. Distinctive:

    Use ✅ for pass, ⚠️ for minor issues, ❌ for failures.

    line 44
  4. Very specific:

    Don't add guidance to create-rule for one-off issues.

    line 56
  5. Distinctive:

    Only update it when a pattern repeats across multiple rules.

    line 57
  6. Distinctive:

    Check enforceability, line count, and duplicates

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review Rule

Review a rule against the design checklist. No external tooling — rules are validated by reading and checking.

Workflow

  1. Identify the rule — Determine which rule to review. If ambiguous, list available rules and ask.
  2. Read the rule — Read RULE.md in full.
  3. Run the checklist — Evaluate each section of the rule design checklist from skills/create-rule/references/rule-design-checklist.md:
    • Problem and Scope
    • Convention Quality
    • Packaging
    • Validation
    • Portability
    • Token Cost
  4. Check enforceability — For every convention in the rule, verify it is literally enforceable. If a convention requires interpretation ("keep it clean", "be consistent"), flag it.
  5. Check line count — RULE.md must be under 100 lines. If over, identify what can move to references/.
  6. Check for duplicates — Scan for conventions stated more than once across sections.
  7. Report — Summarize findings per checklist section. Use ✅ for pass, ⚠️ for minor issues, ❌ for failures.
  8. Feed learnings back — After every review, check whether the findings could improve create-rule or the rule design checklist itself. If a pattern keeps surfacing, ask the user if they want to update the relevant skill so future rules benefit.

When Applying Fixes

  • Fix the rule first, then update create-rule if the issue was a gap in the creation workflow.
  • Don't add guidance to create-rule for one-off issues. Only update it when a pattern repeats across multiple rules.

Example Scenario

User: "Review the bash-style rule."

  1. Reads rules/bash-style/RULE.md
  2. Evaluates against checklist: Problem/Scope ✅, Convention Quality ⚠️ (one subjective qualifier found)
  3. Reports: 97 lines (under limit), one enforceability issue flagged, no duplicates

Boundaries

DOES:

  • Evaluate rules against the design checklist
  • Check enforceability, line count, and duplicates
  • Report findings and suggest improvements

Does NOT:

  • Fix rules automatically without user confirmation
  • Create new rules
  • Modify create-rule without asking

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.