agentleFS
axrmxvaxrmxv/claude-config/skills/audit-config/SKILL.md

audit-config

Skill1 starsChanged 4 months agoMITView on GitHub

Audit this claude-config repository for drift — unregistered agents, missing Extends links, broken relative links, oversized files, and README translation gaps. Use before releasing a version or after adding a layer, agent, or skill.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run every check and report all findings — do not stop at the first one.

    line 22
  2. Very specific:

    Every file in agents/ must appear in the table in .claude/rules/common/agents.md, and every row in that table must have a file.

    line 26
  3. Very specific:

    Every topic file in a skills/standards-*/ layer opens with a > Extends [...] line pointing at the layer above it (common/ for a language, …

    line 32
  4. Distinctive:

    No rule is restated from a layer above.

    line 34
  5. Very specific:

    Every SKILL.md has name and description.

    line 42
  6. Distinctive:

    Every relative markdown link resolves to a file that exists.

    line 48

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

Audit this repository against its own standards and report what has drifted.

Inventory

ls agents/ skills/ .claude/rules/common/ .claude/rules/_template/ 2>/dev/null
echo "--- roster ---"
grep -c "^| " .claude/rules/common/agents.md
echo "--- line counts ---"
find . -name "*.md" -not -path "./.git/*" -exec wc -l {} + | sort -rn | head -15

Checks

Run every check and report all findings — do not stop at the first one.

1. Agent roster sync

Every file in agents/ must appear in the table in .claude/rules/common/agents.md, and every row in that table must have a file. Nothing enforces this automatically, so it drifts silently. Report missing rows and orphaned rows separately.

2. Layer discipline

  • Every topic file in a skills/standards-*/ layer opens with a > Extends [...] line pointing at the layer above it (common/ for a language, the language layer for a framework).
  • No rule is restated from a layer above. Flag duplicated guidance by topic and quote both copies.
  • Process topics (agents, code-review, development-workflow, git-workflow) appear only in common/.

3. Frontmatter

  • Files in .claude/rules/common/ have no frontmatter — that is what makes them load unconditionally.
  • Every SKILL.md has name and description. The name matches its directory.
  • Skills with side effects (commits, scaffolding, deploys) set disable-model-invocation: true.
  • Skills using context: fork name an agent, and the agent exists.

4. Links

Every relative markdown link resolves to a file that exists. Check CLAUDE.md, the rules, the skills, and the docs. Report each broken link with its source file and line.

Two exclusions, both deliberate:

  • .claude/rules/_template/ — its links are written for the destination a copy lands in (skills/standards-<layer>/), so they do not resolve from the template directory by design.
  • Anything inside a code span or fenced block — those are illustrations of what to write, not links.

5. Size limits

The repository applies its own standard to itself: markdown files ≤800 lines. Flag anything over, and anything approaching it, with a suggested split.

6. Documentation parity

README.md and README.ru.md must cover the same sections in the same order. Report sections present in one and missing from the other. Same for docs/ and docs/ru/.

7. Claims match reality

Flag any place the documentation describes something that does not exist — a file listed in a directory map that is absent, a command referenced that is not wired, a topic named as shipped that was never written.

Output

Group findings by check, ordered by severity:

  • CRITICAL — the config is broken or silently inactive (a rule that never loads, a skill that cannot resolve).
  • HIGH — drift that misleads a reader (unregistered agent, docs describing something absent).
  • MEDIUM — maintainability (duplication across layers, oversized file).
  • LOW — cosmetic.

Give each finding a file path, a line where applicable, and the concrete fix. End with a one-line verdict: clean, or the count at each severity.

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.