Install
openclaw skills install better-readmeUse when the user asks to create, improve, or audit a README.md file, or when setting up a new project's documentation. Provides template matrix (Library, CLI, App, Skill, Data), quality scoring, multilingual generation, and pre-publish checklist. Do NOT use for API docs, wikis, or inline code comments.
openclaw skills install better-readmeCreate, audit, and optimize project README files with quality scoring, template matching, and multilingual support.
Identify the project type by scanning the codebase:
| Signal | Project Type |
|---|---|
package.json with main/exports, no UI | Library/SDK |
bin/ field, CLI framework (commander, click, clap) | CLI Tool |
| React/Vue/HTML, deploy target (Vercel/Netlify) | App/Product |
SKILL.md exists, skills/ directory | Agent Skill |
.csv/.json/.parquet dataset, no src/ | Data/Resource |
If ambiguous, ask the user.
Run the audit script:
python3 scripts/readme_audit.py --path /path/to/README.md
This produces a 0–100 score across 8 dimensions. See references/scoring-rubric.md for criteria.
If score < 70, recommend a full rewrite using the appropriate template.
references/templates.mdpackage.json / pyproject.toml / Cargo.tomlREADME.md (English) and README.zh-CN.md (Chinese) with language toggleRun through references/pre-publish-checklist.md and report:
| Type | Hero | Focus | Install |
|---|---|---|---|
| Library/SDK | Code snippet | API reference | npm install / pip install |
| CLI Tool | Demo GIF/terminal | Commands table | brew install / cargo install |
| App/Product | Screenshot/hero image | Features + live demo | Deploy button |
| Agent Skill | What it triggers on | Workflow + compatibility | clawhub install |
| Data/Resource | Stats card | Schema + sample data | Direct download |
your-api-key-here — actual working snippets| Dimension | Max Points | Quick Check |
|---|---|---|
| First impression (hero/title/tagline) | 15 | H1 + one-line description in first 5 lines |
| Problem statement | 10 | "Why" section explaining what pain this solves |
| Quick start | 20 | Install + run in ≤3 commands |
| Visual demo | 10 | Screenshot, GIF, or video present |
| Feature clarity | 10 | Feature list or "what it does" section |
| API/Usage docs | 10 | Code examples for main use cases |
| Badges & metadata | 5 | License, version, CI status |
| Community & links | 10 | Contributing guide, link to issues, discussions |
| Pre-publish readiness | 10 | Topics, description, social preview configured |
See references/scoring-rubric.md for full criteria.
Always generate bilingual READMEs:
**English** | **[中文](README.zh-CN.md)**
If the user's locale is Chinese, generate Chinese first and link to English.
# Score a single README
python3 scripts/readme_audit.py --path ./README.md
# Score and output JSON
python3 scripts/readme_audit.py --path ./README.md --json
# Recommend a template type based on project structure
python3 scripts/readme_audit.py --detect /path/to/project