# Readme Generator

> Generate a well-structured README.md for a project using a standard template. Use when the user asks to create a README, document a project, or mentions README generation.

- Skill: `yinuo-136/readme-generator` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add yinuo-136/readme-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yinuo-136/readme-generator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yinuo-136 (https://skillmd.com/u/yinuo-136)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/yinuo-136/readme-generator

---


# README Generator

Generate a professional, well-structured README.md for any project.

> **Demo Purpose**: This skill demonstrates the `assets/` directory — Agent reads the template file from `assets/` and fills it with project-specific information.

## When to Use

- User asks to "create a README" or "generate project docs"
- A new project has no README.md
- User wants to improve an existing README

## Instructions

1. Analyze the project: read key files (`package.json`, `pyproject.toml`, main source files, etc.)
2. Identify: project name, description, tech stack, setup steps, project structure
3. Fill in the template from [assets/TEMPLATE.md](assets/TEMPLATE.md)
4. Adapt sections — remove irrelevant ones, add project-specific ones

## Process

### Step 1: Gather Project Info

Look for these files to extract information:

| File | What to Extract |
|------|----------------|
| `package.json` | Name, description, scripts, dependencies |
| `pyproject.toml` | Name, version, dependencies |
| `go.mod` | Module name, Go version |
| `Cargo.toml` | Name, version, dependencies |
| `Dockerfile` | Runtime environment |
| `.env.example` | Required environment variables |

### Step 2: Apply Template

Read the template from [assets/TEMPLATE.md](assets/TEMPLATE.md) and fill in each section with the gathered information.

### Step 3: Customize

- Remove sections that don't apply (e.g., no "API" section for a CLI tool)
- Add project-specific sections if needed
- Ensure all placeholder text `[...]` is replaced with real content

## Example

For a Python FastAPI project, the generated README might start with:

```markdown
# My API

A RESTful API for managing user accounts and authentication.

## Tech Stack

- **Runtime**: Python 3.12
- **Framework**: FastAPI 0.110
- **Database**: PostgreSQL + SQLAlchemy
- **Testing**: pytest

## Quick Start

git clone https://github.com/user/my-api.git
cd my-api
pip install -e ".[dev]"
uvicorn src.main:app --reload
```

