generate-readme
Generate or refresh a comprehensive, professional README.md for a repository, with architecture overview, mermaid and optional C4 diagrams, repository structure, dependencies, and API documentation
Install / Use
npx skills add divar-ir/ai-doc-gen --skill generate-readmeInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of generate-readme
generate-readme scores 84/100 on our quality scale, 2012th of 2,892 Automation skills we index.
Its SKILL.md is 3.9 KB long, split into 7 sections and no code examples: a solid amount of guidance for an agent.
It has 763 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 3 months ago, so generate-readme is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
generate-readme compared with similar skills
All 4 of these similar skills score higher than generate-readme; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| generate-readme (this skill)by divar-ir | 84 | 763 | 3mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 92.4k | 21d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.5k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 85.9k | today | MCP Server |
| crawl4aiby unclecode | 100 | 84.8k | 1d ago | MCP Server |
Frequently asked questions
- How do I install generate-readme?
- Run
npx skills add divar-ir/ai-doc-gen --skill generate-readme. The install tabs above show the steps for each supported agent. - Which AI agents does generate-readme work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is generate-readme safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is generate-readme still maintained?
- The repository was last updated about 3 months ago, so generate-readme is actively maintained.
Skill content
View source on GitHubname: generate-readme description: Generate or refresh a comprehensive, professional README.md for a repository, with architecture overview, mermaid and optional C4 diagrams, repository structure, dependencies, and API documentation. Use whenever the user asks to create, write, update, improve, or regenerate a README, project documentation, or a project overview page — even if they just say "document this project" or "this repo needs docs".
Generate README
Transform codebase analysis into a clear, welcoming README.md that helps engineers quickly understand the project.
Workflow
1. Gather analysis data
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.
- If they exist: use them as your primary source, but spot-check key claims against the code — they may be stale.
- If they don't exist: offer to run the
analyze-codebaseskill first (better results, reusable artifacts). If the user declines or wants it quick, explore the codebase directly yourself before writing.
2. Handle the existing README
Ask the user (or infer from their request) whether to incorporate the existing README:
- Incorporate (default when a README exists): read it first; keep useful, still-accurate information — especially manually written content like setup quirks, badges, links, and licensing. Verify claims against the code; the old README may be outdated.
- From scratch: ignore the existing file entirely.
3. Write the 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.
- Project Overview — title, concise description, purpose, key features, likely use cases.
- Table of Contents — for READMEs long enough to need one.
- Architecture — high-level overview, technology stack, component relationships with a mermaid diagram, key design patterns.
- C4 Model Architecture (optional, skip unless the project's complexity warrants it or the user asks) — context and container diagrams as mermaid, wrapped in
<details>/<summary>tags. Only include levels that can be reasonably deduced from the codebase. - Repository Structure — important directories and key files with their roles. Keep minimal and concise.
- Dependencies and Integration — internal/external service dependencies, message queues, event streams. Do not list ordinary libraries here.
- API Documentation — endpoints and request/response formats in an easy-to-read form (tables work well). No raw proto/schema dumps.
- Development Notes — project-specific conventions, how to run/test, performance considerations.
- Known Issues and Limitations — TODOs/FIXMEs found in code, incomplete features, technical debt.
- Additional Documentation — markdown links to other docs in the repository.
Writing guidelines
- Use only information that can be reasonably inferred from the code and repository structure — never invent capabilities, and describe existing code, not hypothetical code.
- Do not include or reference any file from the
.ai/docs/directory — those are internal AI artifacts. - Format with proper Markdown: headings, syntax-highlighted code blocks, lists, and tables.
- Make the README welcoming and clear for developers new to the project.
- For mermaid diagrams: group by logical boundaries, use meaningful relationship labels with descriptive verbs, keep visual hierarchy clean, and prefer several small focused diagrams over one giant one.
- Note (in your report to the user, not the README) any areas where additional documentation would help.
4. Report
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.
Related Skills
Agent-Reach
92.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
85.9k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
84.8kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
