feat(tokens): compress the 10 fattest personal skill descriptions

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
This commit is contained in:
Bastien Chanot
2026-07-02 14:31:38 +02:00
co-authored by Claude Fable 5
parent 56bd5ff0c2
commit 1aa9afe669
10 changed files with 65 additions and 93 deletions
+7 -7
View File
@@ -1,13 +1,13 @@
---
name: code-clean
description: |
Full codebase cleanup: dead code removal, style/norm enforcement, structural
issues. Two-phase workflow: audit first (read-only report), then execute
approved fixes only. Delegates refactoring to the refactorer agent.
Trigger: "code-clean", "clean up the code", "remove dead code",
"enforce code style", "cleanup", "nettoyage du code", "code hygiene".
For targeted refactoring without audit → use /refactor instead.
For bug fixes discovered during cleanup → logged to .claude/audits/BUGS-FOUND.md, not fixed here.
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.
argument-hint: <file, directory, or blank for entire project>
allowed-tools:
- Read