instructions-audit
Skill0 starsChanged 55 days agoMITView on GitHub
Use when a project CLAUDE.md exceeds 100 lines, contains bloated or misplaced sections, or has governance issues. Trigger phrases: "audit CLAUDE.md", "mon CLAUDE.md est trop long", "refactor CLAUDE.md", "nettoie le CLAUDE.md", "gouvernance contexte projet", "lean CLAUDE.md", "CLAUDE.md est obèse". Applies to project CLAUDE.md files only — NOT to ~/.claude/CLAUDE.md global.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- paureis/pau-skillstheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- paureis/pau-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- skills/folder-analyzer-optimizer/CLAUDE.mdCLAUDE.md
- benchmarkSkill
- decision-toolkitSkill
- deep-researchSkill
- deliverable-panel-reviewSkill
- de-slopSkill
- fact-checkerSkill
- file-naming-standardSkill
- folder-analyzer-optimizerSkill
- humanize-outputSkill
- meeting-summarySkill
- personal-insightsSkill
- process-interviewerSkill
- project-initSkill
- project-lintSkill
- project-memorySkill
- prompt-optimizerSkill
- session-handoffSkill
- skill-creatorSkill
The file
Files
instructions-audit
Objectif
Auditer un CLAUDE.md projet pour détecter le bloat, identifier les sections à
extraire vers rules/ ou skills/, et produire une version lean ≤ 100 lignes.
Deux phases séquentielles. Phase 2 ne démarre qu'après validation de Phase 1.
Phase 1 — Audit (toujours exécutée)
Utiliser le prompt complet dans references/audit-prompt.md.
Injecter le contenu du CLAUDE.md cible dans le placeholder
[CONTENU DU CLAUDE.MD PROJET — injecté automatiquement par le skill].
Produire un rapport structuré en 5 sections :
- Diagnostic global — lignes, tokens estimés (lignes × 4), verdict LEAN (<80L) / ACCEPTABLE (80-100L) / OBÈSE (101-150L) / CRITIQUE (>150L)
- Analyse par section — pour chaque bloc : catégorie parmi les 6 types, verdict GARDER / EXTRAIRE VERS [fichier] / SUPPRIMER, justification 1 phrase
- Top 5 quick wins — extractions triées par lignes gagnées décroissant
- Risques détectés — contradictions, obsolescences, duplications, ambiguïtés
- Plan de refactor — 5 étapes max, ordre d'opérations
Après le rapport : attendre validation explicite avant Phase 2.
"Voici le rapport d'audit. Tu valides ce plan avant que je génère la version lean ?"
Ne pas poser de questions de clarification. Produire le rapport avec les informations disponibles, puis attendre la validation.
Phase 2 — Refactor (après validation Phase 1)
Utiliser le prompt complet dans references/refactor-prompt.md.
Injecter : (1) contenu CLAUDE.md original, (2) rapport de Phase 1.
Produire exactement ces 7 livrables — aucun raccourci, aucun placeholder :
- Architecture cible (arborescence)
- CLAUDE.md lean complet, prêt à coller (≤ 100 lignes)
- Fichiers annexes — 3 à 6 fichiers max, contenu complet pour chacun
- Commandes shell pour créer la structure
- Changelog — table 3 colonnes : ancien emplacement → nouveau fichier → raison
- Contenu supprimé — liste avec justification 1 ligne par item
- Checklist post-refactor (5-10 vérifications)
Règle absolue : Si le CLAUDE.md lean dépasse 100 lignes, extraire davantage avant de livrer. Ne pas rationaliser un dépassement même de quelques lignes.
Erreurs fréquentes
- Sauter Phase 1 : ne jamais proposer un refactor sans avoir produit le rapport d'audit structuré en 5 sections.
- Poser des questions avant le rapport : produire Phase 1 avec les infos disponibles, pas de questions de clarification préalables.
- Livrables Phase 2 incomplets : les 7 livrables sont obligatoires. Fichiers annexes avec contenu complet — jamais de "[à compléter]" ou "[contenu ici]".
- Dépasser 100 lignes : la cible est 100 lignes, pas "environ 100". Si dépassement, re-extraire.
- Imposer le template WHY/WHAT/HOW sur un projet avec une structure établie : le template est une suggestion, pas une obligation. Si le CLAUDE.md source a une structure propre et cohérente, la conserver.
Intégrations
Peut être invoqué directement par /project-lint lorsque CLAUDE.md dépasse la cible de lignes.
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.

