llm-doc-gen

Convert codebases into structured documentation files under architecture/, guides/, and reference/.

9|3|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/tylerburleigh/claude-sdd-toolkit --skill llm-doc-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-doc-gen
Source: https://github.com/tylerburleigh/claude-sdd-toolkit/tree/main/skills/llm-doc-gen
Command: npx skills add https://github.com/tylerburleigh/claude-sdd-toolkit --skill llm-doc-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cursor-agent, gemini, codex.

What problem does it solve?

This Skill eliminates the time-consuming manual process of writing comprehensive documentation by automatically generating organized, sharded documentation from code analysis.

Core Features & Use Cases

  • Sharded Documentation: Creates organized topic files instead of monolithic documents for better navigation and maintenance.
  • State-Based Resumability: Maintains progress state to resume interrupted scans from checkpoints.
  • Use Case: Imagine you have a complex Python web application with multiple modules. Use this Skill to automatically generate architecture overviews, developer guides, and API references by having LLMs analyze your source code directly.

Quick Start

Use the llm-doc-gen skill to scan the source code in the './src' directory and generate comprehensive documentation.

Frequently Asked Questions about llm-doc-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate documentation from source code automatically?

Convert your codebase into navigable documentation by running llm-doc-gen to analyze source files directly and produce organized topic files. The Skill generates architecture overviews, developer guides, and API references without requiring AST parsing, creating sharded documentation under architecture/, guides/, and reference/ directories for easier maintenance and navigation.

Can I resume documentation generation if the scan gets interrupted?

Yes, llm-doc-gen maintains state-based resumability via a project-doc-state.json file, allowing you to pause and resume interrupted scans from checkpoints rather than restarting from the beginning.

What codebases can I generate documentation for with LLM analysis?

llm-doc-gen applies to complex applications with multiple modules where in-depth interpretation of implementation details and concept synthesis is required. It works on any codebase structure, scanning source directories to extract architecture patterns, design decisions, and developer guidance through direct source reading.

How does code-to-documentation work without parsing?

The Skill reads source code directly without requiring AST parsing, relying on LLM analysis to interpret implementation details and synthesize structured documentation. This approach supports workflow-driven orchestration and multi-agent consultation for flexible codebase understanding.

What's the best way to organize auto-generated documentation for large projects?

llm-doc-gen creates sharded documentation—organized topic files instead of monolithic documents—distributed across architecture/, guides/, and reference/ folders. This structure improves navigation, maintenance, and discoverability compared to single-file documentation.

Do I need specific tools set up before running documentation generation?

llm-doc-gen depends on cursor-agent, gemini, and codex to function. Ensure these dependencies are available in your workflow before initiating code analysis and documentation generation.