What problem does it solve?
This skill generates hierarchical documentation structures (like AGENTS.md, agent.d, or custom formats) for codebases, specifically optimized for AI coding agents. It solves the problem of providing AI with relevant, token-efficient context, reducing the need for extensive manual codebase exploration and improving AI's coding accuracy.
Core Features & Use Cases
- AI-Optimized Documentation: Create lightweight root documentation with JIT indexing and detailed sub-folder documentation for specific modules.
- Multiple Formats: Supports AGENTS.md, agent.d, and custom Markdown formats tailored for AI consumption.
- Codebase Analysis: Automatically analyze repository type, tech stack, and key directories to inform documentation structure.
- Use Case: "I have a large monorepo and need to generate documentation that helps an AI agent understand its structure, conventions, and key files without overwhelming its context window. This skill will create AGENTS.md files at the root and within each package."
Quick Start
Use the docs-generator skill to generate AGENTS.md documentation for my monorepo, including root and sub-folder files.