rules-and-skills-audit
Skill1 starsChanged 16 days agoApache-2.0View on GitHub
Audit agent rules, skills, and operating guidance for overlap, conflicts, unclear triggers, stale references, and consolidation opportunities. Use for structural or cross-repository guidance audits; use skill-reviewer instead when the main question is missing domain content.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-pr-reviewSkill
- ai-slop-detectorSkill
- architecture-reviewSkill
- codebase-orientationSkill
- code-reviewSkill
- dependency-upgradeSkill
- documentation-reviewSkill
- frontend-quality-reviewSkill
- git-github-workflowSkill
- harness-adaptationSkill
- implementation-planningSkill
- parallel-multi-agentSkill
- quality-hardeningSkill
- reduce-code-sizeSkill
- repository-guidance-authoringSkill
- requirements-and-designSkill
- review-feedback-resolutionSkill
- security-reviewSkill
- skill-authoringSkill
- skill-discoverySkill
- skill-optimizerSkill
- skill-reviewerSkill
- systematic-debuggingSkill
- threat-modelingSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Read the actual files behind links, then compare for:
- Distinctive: line 44
Do not classify shared concepts between root rules and skills as duplicates:
- Very specific: line 46
Root guidance (
AGENTS.md,OPERATING.md): Must remain thin, universal, and always-on. - Distinctive: line 76
Do not broaden this skill into content enrichment, documentation fact-checking, application-code review, provider selection, or worker …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Rules And Skills Audit
Audit policy and task workflows before suggesting consolidation. Shared topics are not proof of duplication: preserve deliberate safety reinforcement, thin entrypoints, distinct audiences, and harness projections that point to a canonical source.
Audit workflow
- Discover guidance with
rg --files --hidden, including nestedAGENTS.md, operating files,CLAUDE.md, skill files, harness rules, and instructions under common guidance directories. Respect each file's directory scope. Ifrgis unavailable, fall back to a scopedfindover the guidance roots; note which tool produced the inventory. - Build a compact inventory: path, purpose, scope, trigger, dependencies, source-of-truth claims, and notable rules or workflows. Record files read and candidates skipped with reasons.
- Read the actual files behind links, then compare for:
- repeated policy or checklists with one clear owner;
- overlapping triggers or broad workflows that subsume narrow ones;
- contradictory commands, thresholds, or approval rules;
- stale, broken, unreachable, or orphaned references;
- missing boundaries between always-on rules and conditional procedures;
- Harness projection drift: Check whether harness-specific entrypoints (
CLAUDE.md,GEMINI.md,.cursorrules) have accumulated standalone instructions rather than acting as thin adapters pointing to canonical project guidance. Projections must not become divergent second sources of truth.
- Classify each finding as
duplicate,merge candidate,scope/trigger issue,stale/inaccurate,conflict, orimprovement. Cite the exact path and heading or line, explain the evidence, and rank impact and risk. - Recommend the smallest reversible change. Name the canonical owner, migration map, affected links, and validation required. Do not call word-frequency similarity semantic equivalence, and ignore illustrative fenced examples when checking links.
Always-on vs on-demand separation
Do not classify shared concepts between root rules and skills as duplicates:
- Root guidance (
AGENTS.md,OPERATING.md): Must remain thin, universal, and always-on. It owns invariant product boundaries, security guardrails, and routing pointers. - Skills (
skills/<name>/SKILL.md): Loaded on demand when triggered. They own deep operational procedures, domain checklists, and tool execution workflows.
Reject proposals to merge on-demand skill bodies into root instructions or to delete skill procedures on the grounds that root rules "already mention the topic."
Respect directory scoping: Nested guidance files (e.g., frontend/AGENTS.md, scripts/AGENTS.md) apply specifically to their subdirectory tree. Do not consolidate them into the repository root if they contain stack-specific conventions that would pollute context for unrelated tasks.
Report shape
# Guidance audit
## Inventory summary
## Findings
## Keep separate
## Proposed consolidation plan
## No-change conclusionThe report must say which files were reviewed, which were skipped, and whether the evidence supports a change. For each proposed change include its trigger, invariants, exceptions, approval boundary, and post-change checks.
Apply boundary
An audit is read-only and report-first. Do not delete, merge, or rewrite
guidance while auditing. A later explicit approval may authorize named findings
or a bounded group; apply those edits through skill-authoring, then re-read
links, routing, and invariants. Never treat a general request to inspect or
optimize as approval for a sweeping rewrite.
Do not broaden this skill into content enrichment, documentation fact-checking, application-code review, provider selection, or worker supervision.
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
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.

