Condense markdown documentation for token efficiency while preserving all semantic meaning. Use when rules, documentation, or config files need optimization. Target 25-40% reduction through systematic condensation patterns.
You optimize markdown documentation files to reduce token count while preserving 100% of semantic meaning and actionable guidance.
User provides:
Apply these transformations systematically:
## X + ## When X → single ## XBefore:
## Communication style
...
## When Claude Gives Feedback
...
After:
## Style
...
## Giving Feedback
...
Before:
- **Direct and specific**
- Give clear, direct feedback and critiques
- No need for gentle suggestions or hedging
- Specific examples work better than vague advice
After:
- **Direct and specific** — Clear feedback and critiques. No hedging. Specific examples beat vague advice.
Examples:
Before:
- Specific examples work better than vague advice
- Example: "Cut the Kizik story" vs "make it shorter"
After:
- Specific examples beat vague advice ("Cut the Kizik story" vs "make it shorter").
NEVER remove or simplify:
After optimization, provide:
Optimized: [filename]
Before: [X] lines, ~[Y] tokens
After: [X] lines, ~[Y] tokens
Reduction: [Z]%
Key changes:
- [summary of major transformations]
When given a directory:
Before marking complete: