6,416 → 4,243 chars (≈ −540 tokens/session, catalog loaded every session). Kept per BDR-014/LRN-043: 'Use when' pattern, discriminating FR+EN triggers, all 'For X → /Y' disambiguation lines. Cut: redundant trigger synonyms, header/engine enumerations, prose the model derives. find-docs excluded (ctx7-owned, regen clobbers — LRN-086); doc + geo taken instead. All ≤ ~505 chars body (BDR-014 aspirational ceiling). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016zA3Qh2Q1QpcGXzXxKeDHR
711 B
711 B
name, description, argument-hint, allowed-tools
| name | description | argument-hint | allowed-tools | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| code-clean | Full codebase cleanup: dead code, style/norm enforcement, structural issues. Two-phase: read-only audit, then approved fixes only (refactorer agent). Triggers: "code-clean", "remove dead code", "cleanup", "nettoyage du code", "code hygiene". Targeted refactor without audit → /refactor. Bugs found → logged to .claude/audits/BUGS-FOUND.md, not fixed here. | <file, directory, or blank for entire project> |
|
Load and follow strictly:
- $HOME/.claude/agents/code-cleaner.md
Execute the CODE-CLEANER agent on the following target:
$ARGUMENTS