10x-rule-review

Review AI rules files and produce a five-check scorecard with concrete fixes.

Updated May 20, 2026
One-click install
npx skills add https://github.com/ZawilecxD/trAInR --skill 10x-rule-review-zawilecxd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 10x-rule-review
Source: https://github.com/ZawilecxD/trAInR/tree/main/.cursor/skills/10x-rule-review
Command: npx skills add https://github.com/ZawilecxD/trAInR --skill 10x-rule-review-zawilecxd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI rules files like CLAUDE.md, AGENTS.md, or .cursor/rules/*.mdc often grow bloated, vague, and poorly ordered, which wastes context window and causes agents to ignore critical instructions. This Skill audits any rules-for-AI markdown file and returns a structured scorecard with actionable fixes. ## Core Features & Use Cases - Five-check audit: Scores length, direct code snippets, vague language, redundant knowledge, and rule ordering with OK/WARN/FAIL verdicts. - Grounded rewrites: Translates vague phrases like "write clean code" into testable rules based on the project's actual stack and conventions. - Interactive reordering: Proposes a better section order based on U-shaped attention and, only with explicit approval, reorders the file while preserving all content. - Use Case: A developer suspects their 600-line CLAUDE.md is being ignored by the agent. They run the review, get a scorecard showing 4 vague phrases and critical security rules buried at line 312, then approve a reorder that moves hard rules to the top. ## Quick Start Ask the assistant to review your AI rules file, for example: run the 10x rule review on @CLAUDE.md and show me the scorecard.

Frequently Asked Questions about 10x-rule-review

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

FAQPage Schema
How do I review my CLAUDE.md or AGENTS.md file?

Pass the file path as the argument, such as @CLAUDE.md, AGENTS.md, or .cursor/rules/api.mdc. The skill reads the file, runs five checks, and prints a scorecard with findings referenced by path and line number.

What does the AI rules review check for?

It runs five checks: file length, direct code or config snippets, vague untestable language, redundant knowledge the model already knows, and rule ordering relative to U-shaped attention. Each check gets an OK, WARN, or FAIL verdict.

Does the rule review edit my rules file automatically?

No, the default output is read-only. The only possible edit is the section reorder proposed in Check 5, and that happens only after you explicitly approve it through an interactive prompt.

Can I review .mdc or .windsurfrules files, not just CLAUDE.md?

Yes, the skill is tool-agnostic and treats any rules-for-AI markdown file the same way. For .mdc files with frontmatter, rule lines are counted after the frontmatter since it is configuration, not rule content.

What happens if I pass a directory or multiple rule files?

If the path resolves to a directory, the skill asks which file to review. If it matches multiple files, each one is scored separately with its own scorecard rather than being merged.

Why does the review flag vague phrases like write clean code?

Vague intent cannot be verified against a diff, so agents inconsistently follow it. The skill always proposes a concrete, testable replacement grounded in the project's stack, conventions, and nearby rules.