1.3 KiB
1.3 KiB
| id | type | title | tags | importance | confidence | created | updated | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| f3fedac1-e6f9-4339-b8ee-619e2482f9e2 | solution | CLAUDE.md optimization: 329 → 104 lines with table-based loading rules |
|
0.7 | 0.8 | 2026-02-13T21:14:57.451590+00:00 | 2026-02-13T21:14:57.451590+00:00 |
Optimized project CLAUDE.md from 329 lines to 104 lines (68% reduction) by:
- Compressing repetitive loading rules into keyword table format
- Removing 72 redundant 'Note:' lines (info already in CONTEXT.md files being loaded)
- Stating loading convention once instead of repeating for each of 13 technologies
- Preserving all functionality: special cases (Pi-hole, n8n, Ko-fi, Jellyfin), maintenance protocol, warning triggers
Key insight: The loading rules were verbose because each tech block repeated the same pattern:
- Load CONTEXT.md (technology overview)
- Load troubleshooting.md (error handling)
- If in scripts/, load scripts/CONTEXT.md
- Note: [details already in the files being loaded]
Solution: State convention once at top, then use compact keyword→directory table. All inline notes removed since that info is in the actual CONTEXT.md files.
Result: Much easier to scan, maintain, and add new technologies. No loss of functionality.