| name | readme-generator |
| description | Generate a complete, professional, enterprise-grade README.md with collapsible deep-dives, architecture diagrams, environment setup, API docs, data models, testing strategy, security, contributing guide, and troubleshooting. Uses expandable sections to keep high-level docs concise while detailed documentation is expandable. |
| user-invokable | true |
| args | [{"name":"target","description":"The project to document (optional)","required":false}] |
Generate a COMPLETE, PROFESSIONAL, CONTRIBUTOR-READY README.md for the entire codebase. Analyze the entire repository before writing anything: all folders, files, configs, scripts, tests, CI/CD workflows, infrastructure, env vars, and dependency manifests.
Required Sections
- Project Name & Overview — What it does, who it's for, problem it solves.
- Table of Contents — Anchor links.
- Architecture — High-level diagram, frontend/backend structure, data flow, auth flow.
- Tech Stack — Each technology: what it's used for, why chosen, link to official docs.
- Folder & File Structure — Tree breakdown with collapsible deep-dives per directory.
- Environment Setup — Prerequisites, installation steps, env vars table.
- Authentication & Authorization — Token flows, scopes, role requirements.
- API Integrations — Each external API: purpose, base URL, scopes, rate limits, official docs link.
- Data Models — Core entities, mapping logic, transformation layers.
- Frontend Documentation — Components, state, routing, data fetching, styling.
- Backend Documentation — Server structure, middleware, routing, services, error handling.
- Testing Strategy — Unit, integration, E2E, how to run, coverage expectations.
- Scripts & Automation — Every script explained.
- Security Considerations — Token storage, input validation, logging hygiene.
- Performance Considerations — Caching, pagination, lazy loading.
- Contributing Guide — Code style, branch strategy, PR requirements, commit conventions.
- Extending the Project — How to add endpoints, pages, integrations, models.
- Troubleshooting — Common issues and solutions.
- FAQ
Formatting Requirements
- Clean markdown hierarchy.
- Tables where helpful.
- Code blocks for commands.
- Use collapsible
<details> sections for deep dives.
- Keep main sections concise; deep explanations inside collapsible sections.
- Use graphics and icons to keep it engaging.
External References
- Identify dependencies from package manifests and imports.
- Link to official documentation and GitHub repos.
- Cite version numbers when available.
- Never invent references or cite unofficial blogs as primary sources.
Quality Bar
- Enterprise-grade, suitable for public open-source release.
- Not overwhelming for beginners, satisfying for senior engineers.
- Requires no additional explanation outside the document.
Validation Before Output
- Every major folder documented.
- Every integration documented.
- Every external dependency referenced.
- Setup instructions complete.
- Collapsible deep sections exist.
- No placeholder text remains.
- Formatting renders properly in GitHub Markdown.