Skills for Real Engineers. Straight from my .agents directory.
generate-readme
Agent skill fromdivar-ir/ai-doc-gen
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".
How to install generate-readme
npx skills add divar-ir/ai-doc-gen# or add only this skill to Claude Code: copy the folder
skills/generate-readme/
# into
~/.claude/skills/generate-readme/ (all projects)
.claude/skills/generate-readme/ (one project)
1# Generate README23Transform codebase analysis into a clear, welcoming README.md that helps engineers quickly understand the project.45## Workflow67### 1. Gather analysis data89Check 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.1011- **If they exist**: use them as your primary source, but spot-check key claims against the code — they may be stale.12- **If they don't exist**: offer to run the `analyze-codebase` skill first (better results, reusable artifacts). If the user declines or wants it quick, explore the codebase directly yourself before writing.1314### 2. Handle the existing README1516Ask the user (or infer from their request) whether to incorporate the existing README:1718- **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.19- **From scratch**: ignore the existing file entirely.2021### 3. Write the README2223Include 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.2425- **Project Overview** — title, concise description, purpose, key features, likely use cases.26- **Table of Contents** — for READMEs long enough to need one.27…
Excerpt shown under the repository's MIT license.
More skills in ai-doc-gen
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
