From ai-doc-gen
Generates or updates README.md with architecture overview, mermaid and C4 diagrams, repository structure, dependencies, and API documentation. Use when a project needs better documentation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-doc-gen:generate-readmeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Transform codebase analysis into a clear, welcoming README.md that helps engineers quickly understand the project.
Transform codebase analysis into a clear, welcoming README.md that helps engineers quickly understand the project.
Check for existing analysis documents in <repo>/.ai/docs/ (structure, dependency, data-flow, request-flow, API analyses). They may have been produced by the analyze-codebase skill.
analyze-codebase skill first (better results, reusable artifacts). If the user declines or wants it quick, explore the codebase directly yourself before writing.Ask the user (or infer from their request) whether to incorporate the existing README:
Include the following sections, in this order, unless the user excludes some. Only use these headlines plus any carried over from the existing README — don't invent extra sections.
<details>/<summary> tags. Only include levels that can be reasonably deduced from the codebase..ai/docs/ directory — those are internal AI artifacts.Write the file to <repo>/README.md, then summarize for the user what changed versus the previous README (if any) and flag anything you couldn't verify from the code.
npx claudepluginhub divar-ir/ai-doc-gen --plugin ai-doc-genGenerates a README.md by scanning .github/copilot directory files and copilot-instructions.md to extract project info, tech stack, architecture, workflow, and coding standards.
Generates human-focused README files for projects. Activates on 'write README', 'create README', 'update README'.
Generates professional README.md by analyzing project files like package.json, pyproject.toml, go.mod, directory structure, and CLAUDE.md. Use when writing or supplementing project docs.