by KieranGao
使用 AI 编程助手为任意项目生成专业美化的 README 文件 Generate Professional & Beautified README Files For Any Project Using AI Assistants Skill.
# Add to your Claude Code skills
git clone https://github.com/KieranGao/general-readme-skillGuides for using ai agents skills like general-readme-skill.
general-readme-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by KieranGao. 使用 AI 编程助手为任意项目生成专业美化的 README 文件 Generate Professional & Beautified README Files For Any Project Using AI Assistants Skill. It has 50 GitHub stars.
general-readme-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/KieranGao/general-readme-skill" and add it to your Claude Code skills directory (see the Installation section above). general-readme-skill ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh general-readme-skill against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Generate professional, human-feeling README files for any project. Strictly follow real project content, reject filler text and placeholder content.
Full workflow: Configure → Scan → Generate → Beautify → Output Zero external dependencies. All rules, templates and assets are embedded in the skill. No third-party CLI, runtime or network service required for core functions.
Trigger this skill when user inputs match any of the following:
/readmeCollect configuration options from developer before generation. All options have fixed default values for quick use.
Defaults (used when user supplies no configuration):
Select README writing style:
Select shields.io badge appearance:
language-guide.md.Use built-in Read, Grep, Glob tools to scan local project directory.
Rules: Only read static files. Never execute, modify or delete any project files. Ignore directories: node_modules, .git, build, dist, pycache, .venv, .next, coverage, logs
Detector priority and tie-break rules (deterministic order):
Primary Language.package.json > pyproject.toml > go.mod > Cargo.toml.Parse dependency fields to identify used frameworks:
Classify overall project architecture:
Identify interface type:
LICENSE / LICENSE.mdIf no LICENSE file is present, do not add a license section; instead add a one-line recommendation: No LICENSE file detected. Add a LICENSE to clarify project licensing.
If multiple conflicting license files are present, list them and prompt the user to confirm which to use (for example: Detected license files: LICENSE, LICENSE.md. Please confirm which to use.).
git or other tools that alter state..git directory or static contributor file (e.g., CONTRIBUTORS, AUTHORS) exists and can be inspected without executing commands, extract contributors' names only (no emails). Redact or omit sensitive metadata. Example: Contributors: 3 (Alice, Bob, and 1 other)..git, shallow clone, permission denied, or cannot be read without executing), skip contributor detection and include this note: Contributor history unavailable (no git metadata access). Offer an option to supply contributors manually..github/commit-convention.md, CONTRIBUTING.md)—do not execute or parse live git logs.Scan root & config folders for .env, .env.example, *.config, *.yml, *.yaml etc.
Load all reference files first, then generate content strictly by rules.
All references located in references/ folder:
tone-profiles.md — Style rules & sample phrasesbadge-styles.md — Badge layout & grouping rulesbadges.md — Technology to shields.io badge mappingdiagram-templates.md — Mermaid templates + SVG fallbacksection-guidelines.md — Section writing rules & banned phraseslanguage-guide.md — Multi-language naming & switcher rulesReference-file missing / invalid behavior:
references/ exist and are readable. If any are missing or malformed, abort generation and return: Missing or invalid reference files: <list>. Generation paused.proceed-with-defaults flag to continue using built-in safe defaults; require explicit user confirmation to proceed.Do NOT reorder sections. Skip any section if no matched project data. No N/A, Coming soon or placeholder content.
Fixed-order application and manual content preservation:
<!-- MANUAL-START --> and <!-- MANUAL-END -->, or when a top-level section is not tagged <!-- AUTO-GENERATED -->.The Hero section uses HTML <p align="center"> tags for a professional, centered appearance. This layout is inspired by modern open-source projects like Understand Anything.
Structure:
<h1 align="center">{PROJECT_NAME}</h1>
<p align="center">
<strong>{ONE_LINE_DESCRIPTION}</strong>
<br />
<em>{SUBTITLE_WITH_KEYWORDS}</em>
</p>
<p align="center">
<a href="#quick-start"><img src="https://img.shields.io/badge/{QUICK_START_TEXT}-{COLOR}?style=for-the-badge" alt="Quick Start" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/{LICENSE_TEXT}-{COLOR}?style=for-the-badge" alt="License" /></a>
</p>
<p align="center">
{PLATFORM_BADGES}
</p>
<p align="center">
{LANGUAGE_SWITCHER}
</p>
Rules:
<h1 align="center"> instead of Markdown #<p align="center"> with <strong> for main description<em> for keywords/features linefor-the-badge style for visibility (Quick Start, License)<p align="center"> with anchor tagsPlatform Badge URLs:





badge-styles.md.section-guidelines.md.README.md already exists:
<!-- MANUAL-START --> and <!-- MANUAL-END -->, and any top-level sections not tagged <!-- AUTO-GENERATED -->.<!-- AUTO-GENERATED --> or other clearly auto-scanned regions.Precedence (constraint resolution order):
After Phase 3 generates the README, this phase automatically triggers to enhance visual presentation by replacing suitable Markdown syntax with HTML.
--no-beautify flag)<!-- BEAUTIFIED -->)Step 1: Analysis (Automatic) Scan the generated README.md and identify beautifiable elements:
Step 2: Confirmation (User Interaction) Display beautification suggestions to user:
AI: README generation complete! Analyzing beautification opportunities...
Found the following beautification suggestions:
1. ✅ [Hero] Title centered → <h1 align="center">
2. ✅ [Hero] Description centered and bold → <p align="center"><strong>
3. ✅ [Hero] Add CTA buttons
4. ✅ [Hero] Platform badges centered
5. ⚪ [Content] Tables keep Markdown (easier to maintain)
6. ⚪ [Code] Code blocks keep Markdown (has syntax highlighting)
Accept these suggestions?
[Accept All] [Confirm Each] [Reject All]
Step 3: Execution (Automatic) Apply selected beautifications based on user confirmation.
Hero Region (Mandatory):
# Title → <h1 align="center">Title</h1>> Description → <p align="center"><strong>Description</strong></p><p align="center"><em>keywords</em></p>[Quick Start](#) → <a href="#"><img src="badge?style=for-the-badge"></a> → <p align="center"><img src="url"></p>[EN](README.md) → <p align="center"><a href="README.md">EN</a></p>Content Region (Optional):
Code Region (Keep As-Is):
Structure Region (Optional):
---references/beautification-rules.md — Detailed beautification rules and HTML templatesreferences/section-guidelines.md — Section-specific beautification notes<!-- BEAUTIFIED --> marker after successful beautificationREADME.md in selected primary language.README-{lang}.md for each extra language.language-guide.md).README generated successfully. Please review and adjust manually if needed.
No valid project content detected, cannot generate README.All supporting files are independent and can be updated separately without modifying main skill.
| File Name | Core Purpose |
|---|---|
| tone-profiles.md | Definition & examples for 3 writing tones |
| badge-styles.md | Layout, size, grouping rules for 3 badge styles |
| badges.md | Mapping table: technology name → shields.io badge URL |
| diagram-templates.md | Reusable Mermaid diagrams + SVG fallback templates |
| section-guidelines.md | Global writing rules, banned phrases, per-section constraints |
| language-guide.md | Multi-language file name rules & language switcher format |
| beautification-rules.md | Phase 4 beautification rules, HTML templates, transformation examples |
| Feature | Description |
|---|---|
| Multi-Tone Support | Three writing profiles: Energetic, Minimal, and Professional |
| Badge System | Automatic shields.io badge generation with three visual styles |
| Multi-Language | Generate README files in English, Chinese, Japanese, Korean, Russian, and more |
| Zero Dependencies | No external CLI, runtime, or network service required |
| Multi-Platform | Works with Claude Code, GitHub Copilot, and Cursor |
| Privacy-First | Automatic masking of sensitive keys, passwords, and private information |
The skill follows a Configure → Scan → Generate → Beautify → Output pipeline:
graph LR
A[User Trigger] --> B[Phase 1<br/>Configure]
B --> C[Phase 2<br/>Scan]
C --> D[Phase 3<br/>Generate]
D --> E[Phase 4<br/>Beautify]
E --> F[Phase 5<br/>Output]
style A fill:#E6A23C,color:#fff
style B fill:#409EFF,color:#fff
style C fill:#67C23A,color:#fff
style D fill:#F56C6C,color:#fff
style E fill:#9B59B6,color:#fff
style F fill:#909399,color:#fff
Collect configuration options before generation. All options have fixed default values.
Choose the README writing style:
| Profile | Voice | Reference | Use Case |
|---|---|---|---|
| Energetic | Direct, confident, allows emojis | FastAPI | Open source, developer tools |
| Minimal | Terse, code-first, no redundancy | Tailwind CSS | CLI tools, libraries |
| Professional | Neutral, structured, formal | Kubernetes | Enterprise, documentation |
Example — Same feature in three tones:
## Features
- ⚡ **Blazing fast** — Sub-millisecond response times
- 🔒 **Secure by default** — JWT auth, CORS, rate limiting out of the box
- 🎯 **Type-safe** — Full TypeScript inference, zero `any`
## Features
- Type-safe API with full inference
- Zero-config TypeScript support
- Built-in authentication and rate limiting
## Features
| Feature | Description |
|---|---|
| Type Safety | Full TypeScript inference with zero configuration |
| Authentication | JWT-based auth with role-based access control |
Choose shields.io badge appearance:
| Style | Parameter | Preview |
|---|---|---|
| Flat (default) | style=flat |
|
| Flat-square | style=flat-square |
|
| For-the-badge | style=for-the-badge |
File naming follows ISO 639-1 codes:
| Language | File | Code |
|---|---|---|
| English (primary) | README.md |
— |
| Chinese (Simplified) | README-zh.md |
zh |
| Japanese | README-ja.md |
ja |
| Korean | README-ko.md |
ko |
| Russian | README-ru.md |
ru |
Use built-in tools to scan the local project directory. Only read static files — never execute, modify, or delete.
graph TD
A[Start Scan] --> B{Manifest<br/>exists?}
B -->|Yes| C[Parse manifest]
B -->|No| D{Dependencies<br/>file?}
D -->|Yes| E[Parse dependencies]
D -->|No| F[Count file<br/>extensions]
C --> G[Language &<br/>Framework]
E --> G
F --> G
G --> H[Architecture<br/>Type]
H --> I[API Style]
I --> J[License]
J --> K[Project Type]
style A fill:#E6A23C
style G fill:#409EFF
style K fill:#67C23A
| Detection | Source Files | Output |
|---|---|---|
| Language | package.json, pyproject.toml, go.mod, Cargo.toml | Primary language |
| Framework | dependencies/devDependencies fields | React, Vue, Express, Django, etc. |
| Build/CI | Makefile, Dockerfile, .github/workflows | Build commands, CI pipeline |
| Database | DATABASE_URL, ORM configs | PostgreSQL, Redis, Prisma, etc. |
| Architecture | Directory structure, .proto files | Microservice, Monolithic, etc. |
| API Style | Route files, .proto, .graphql | REST, gRPC, GraphQL, WebSocket |
| License | LICENSE, LICENSE.md | MIT, Apache-2.0, GPL-3.0, etc. |
| Project Type | package.json scripts, bin field | Library, Application, CLI, Static |
For a typical Node.js project with package.json:
┌─ Language: TypeScript
├─ Framework: Express, Prisma
├─ Database: PostgreSQL, Redis
├─ Build: npm scripts, Docker
├─ CI: GitHub Actions
├─ API: REST
├─ License: MIT
└─ Type: Application
Load reference files, then generate content following the Fixed Section Order (Inverted Pyramid).
All references located in references/ folder:
| File | Purpose |
|---|---|
tone-profiles.md |
Style rules & sample phrases for 3 tones |
badge-styles.md |
Badge layout & grouping rules |
badges.md |
Technology → shields.io badge URL mapping |
diagram-templates.md |
Mermaid templates + SVG fallback |
section-guidelines.md |
Section writing rules & banned phrases |
language-guide.md |
Multi-language naming & switcher rules |
Sections are generated in this order. Skip any section if no matching project data.
graph TD
A[1. Hero] --> B[2. Features]
B --> C[3. Quick Start]
C --> D[4. Usage]
D --> E[5. Architecture]
E --> F[6. Configuration]
F --> G[7. API]
G --> H[8. Directory Structure]
H --> I[9. Tech Stack]
I --> J[10. Deployment]
J --> K[11. Contributing]
K --> L[12. License]
style A fill:#E6A23C
style B fill:#409EFF
style L fill:#67C23A
# Project Name
> One-line description of what the project does


## Features
| Feature | Description |
|---|---|
| Type Safety | Full TypeScript inference with zero configuration |
| Authentication | JWT-based auth with role-based access control |
## Quick Start
### Prerequisites
- Node.js 18+
- PostgreSQL 14+
### Install
```bash
npm install my-package
```
### Configure
```bash
cp .env.example .env
```
### Run
```bash
npm run dev
```
## Architecture
```mermaid
graph LR
A[Client<br/>React] --> B[API<br/>Express]
B --> C[Auth<br/>JWT]
B --> D[Database<br/>PostgreSQL]
```
## Project Structure
```
src/
├── api/ # API route handlers
├── services/ # Business logic
├── models/ # Database models
└── index.ts # Entry point
```
The skill includes pre-built Mermaid templates for common architectures:
graph LR
A[Client<br/>React] --> B[API Gateway<br/>Express]
B --> C[User Service<br/>Go]
B --> D[Order Service<br/>Go]
B --> E[Payment Service<br/>Go]
C --> F[(PostgreSQL)]
D --> F
E --> G[(Redis)]
graph LR
A[Frontend<br/>Vue.js] --> B[API Server<br/>Express]
B --> C[Auth Module<br/>JWT]
B --> D[Business Logic<br/>TypeScript]
D --> E[(PostgreSQL)]
D --> F[(Redis)]
graph TD
A[UI Layer<br/>React] --> B[Controller Layer<br/>Express]
B --> C[Service Layer<br/>TypeScript]
C --> D[Data Layer<br/>Prisma]
D --> E[(PostgreSQL)]
graph LR
A[Producer<br/>Express] --> B[Message Queue<br/>Kafka]
B --> C[Consumer A<br/>Go]
B --> D[Consumer B<br/>Python]
B --> E[Consumer C<br/>Node.js]
C --> F[(PostgreSQL)]
D --> G[(MongoDB)]
E --> H[(Redis)]
Badges are grouped in this order:
| Line | Content | Max |
|---|