/ai-doc-gen:generate-readmefrom 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.
Ships in ai-doc-gen. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
readme, documentation, mermaid-diagrams, c4-model, codebase-analysis
3 skills in this plugin
/analyze-codebaseRun a multi-agent deep analysis of a codebase, producing AI-readable analysis documents in .ai/docs/ covering structure, dependencies, data flow, request flow, and APIs. Use whenever the user asks to analyze a repository, generate codebase analysis, understand an unfamiliar codebase in depth, or before generating documentation (README, CLAUDE.md, AGENTS.md) so the generators have analysis data to work from. Also use when the user mentions ".ai/docs", "ai analysis", or wants a structured architectural map of a project./generate-ai-rulesGenerate AI assistant configuration files for a repository — CLAUDE.md, AGENTS.md, and Cursor rules (.cursor/rules/*.mdc) — from codebase analysis. Use whenever the user wants to create or update CLAUDE.md, AGENTS.md, agent rules, Cursor rules, AI coding assistant configuration, or "onboard AI tools" to a project, even if they only mention one of the file types.npx claudepluginhub divar-ir/ai-doc-gen --plugin ai-doc-genOther plugins' skills for the same job