agentleFS
HyperVonHyperVon/agent-guidance-kit/skills/rules-and-skills-audit/SKILL.md

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.

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
  1. Distinctive:

    Read the actual files behind links, then compare for:

    line 27
  2. Distinctive:

    Do not classify shared concepts between root rules and skills as duplicates:

    line 44
  3. Very specific:

    Root guidance (AGENTS.md, OPERATING.md): Must remain thin, universal, and always-on.

    line 46
  4. Distinctive:

    Do not broaden this skill into content enrichment, documentation fact-checking, application-code review, provider selection, or worker …

    line 76

≈ “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.

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

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

  1. Discover guidance with rg --files --hidden, including nested AGENTS.md, operating files, CLAUDE.md, skill files, harness rules, and instructions under common guidance directories. Respect each file's directory scope. If rg is unavailable, fall back to a scoped find over the guidance roots; note which tool produced the inventory.
  2. 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.
  3. 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.
  4. Classify each finding as duplicate, merge candidate, scope/trigger issue, stale/inaccurate, conflict, or improvement. Cite the exact path and heading or line, explain the evidence, and rank impact and risk.
  5. 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 conclusion

The 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.

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.