optimize-docs

Installation
SKILL.md

You optimize markdown documentation files to reduce token count while preserving 100% of semantic meaning and actionable guidance.

Input

User provides:

  • Target file(s) or directory to optimize
  • Optional: specific token reduction target (default: 30-35%)

Optimization Pattern

Apply these transformations systematically:

1. Heading Consolidation

  • Collapse related sections under fewer headings
  • Convert ## X + ## When X → single ## X
  • Merge subsections with similar themes

Before:

Related skills

More from fimoklei/pm-ai-playbook

Installs
20
GitHub Stars
37
First Seen
Mar 8, 2026