alonw0/llm-docs-optimizer

55 stars · Last commit 2025-11-17

A Claude Code plugin that optimizes documentation for AI coding assistants like Claude, GitHub Copilot, and other LLMs. Makes your docs more effective through c7score optimization, llms.txt generation, question-driven restructuring, and automated quality scoring.

README preview

# LLM Docs Optimizer

A Claude Code skill that makes your documentation work seamlessly with AI coding assistants. Transform generic docs into AI-optimized documentation with measurable quality improvements—scored by [Context7's c7score benchmark](https://www.context7.ai/c7score), structured around developer questions, and enhanced with [LLM-friendly navigation](https://llmstxt.org/).

[![Claude Code](https://img.shields.io/badge/Claude-Code_Skill-violet)](https://claude.ai/code)
[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

## Why Use This?

**The Problem:**
Standard documentation often fails with AI coding assistants. Generic API references, incomplete examples, and poor structure make it hard for tools like Claude and GitHub Copilot to help developers effectively.

**The Solution:**
This skill transforms your documentation to work seamlessly with AI tools by:

- **Measurable Quality:** Score your docs against Context7's c7score benchmark and track improvements (e.g., 45 → 89/100)
- **Better AI Retrieval:** Organize content around developer questions so LLMs can find the right answers
- **Complete Examples:** Transform API references into runnable, practical code snippets
- **LLM-Friendly Navigation:** Generate standardized llms.txt files that help AI understand your project structure

View full repository on GitHub →