Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Better README

License Version Platform ClawHub

English | δΈ­ζ–‡

Audit, generate, and optimize project README files with quality scoring, template matching, and multilingual support. Works with any project type β€” libraries, CLI tools, web apps, agent skills, and datasets.

1 skill for README quality. 5 project types supported. 8 scoring dimensions. 0 dependencies.

The problem: Most README files are written as an afterthought. No "why" section, no visual demo, 10-step setup guides nobody finishes. Better README fixes this β€” score your existing README, get a template tailored to your project type, and generate bilingual docs in one pass.

Table of Contents

Click to expand

Install

# ClawHub
clawhub install better-readme

# Or from source
git clone https://github.com/Thomaszhou22/better-readme.git
cp -r better-readme ~/.openclaw/skills/

Requires Python 3.8+. No other dependencies.

Quick Start

# Score your existing README
python3 scripts/readme_audit.py --path ./README.md

# Detect project type (recommends a template)
python3 scripts/readme_audit.py --detect /path/to/project

# JSON output for CI/CD
python3 scripts/readme_audit.py --path ./README.md --json

Or just tell your AI agent: "Check my README" β€” it'll handle the rest.

How It Works

  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚  0. Onboarding │────▢│  1. Classify │────▢│  2. Score    │────▢│  3. Generate     β”‚
  β”‚  First run?    β”‚     β”‚  What type?  β”‚     β”‚  How good?   β”‚     β”‚  Fix + improve   β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                                                                   β”‚
         β”‚        Offer to evaluate existing repos                           β”‚
         β”‚                    Agent fills template                            β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                Re-score to verify

Step 1: Classify

Automatically detects your project type:

Signal Type Template
main/exports in package.json Library/SDK API-first
bin field, CLI framework CLI Tool Demo-first
React/Vue + deploy target App/Product Screenshot-first
SKILL.md exists Agent Skill Trigger-first
.csv/.json dataset Data/Resource Schema-first

Step 2: Score

9-dimension scoring (100 points):

Dimension Max What it checks
First impression 15 H1 + tagline + visual in first 10 lines
Problem statement 10 "Why" section explaining the pain
Quick start 20 Install + run in ≀3 commands
Visual demo 10 Screenshot, GIF, or video
Feature clarity 10 Scannable feature list/table
Usage / API docs 10 2+ code examples
Badges & metadata 5 License, version, CI badges
Community & links 10 Contributing, Issues, Discussions
Pre-publish readiness 10 TOC, roadmap, changelog

Step 0: Onboarding (first use only)

When activated for the first time, the skill:

  1. Introduces its capabilities (score, improve, create READMEs)
  2. Asks: "Want me to evaluate the READMEs of your existing repos?"
  3. If yes β†’ fetches your GitHub repos, runs batch scoring, highlights the weakest ones, and offers to fix them
  4. If no β†’ proceeds to normal workflow
  5. Records onboarding as complete (won't repeat)

Step 3: Generate

  • Pick the matching template from references/templates.md
  • Scan your project for real data (name, install command, license, features)
  • Fill the template β€” no placeholder text
  • Generate README.md in English by default
  • After generation, asks if you need another language version (e.g., Chinese, Japanese)
  • Only generates additional language files on request, with a language toggle at the top

Step 4: Pre-Publish Checklist

Run through references/pre-publish-checklist.md:

  • πŸ”΄ Critical: README, install, license, GitHub About, topics
  • 🟑 Important: Screenshot, "Why" section, contributing, issues template
  • 🟒 Nice to have: Badges, changelog, discussions, funding

Template Types

Type Hero Element Focus Install Example
πŸ“¦ Library/SDK Code snippet API + examples npm install
πŸ”§ CLI Tool Demo GIF Commands table brew install
πŸš€ App/Product Screenshot Features + live demo Deploy button
🧩 Agent Skill Trigger condition Workflow + compat clawhub install
πŸ“Š Data/Resource Stats card Schema + sample Direct download

Agent Integration

Tell your agent any of these:

  • "Write a README for this project"
  • "Score my README"
  • "My README sucks, fix it"

The agent will:

  1. First use: Offer to audit your existing repos' READMEs (onboarding)
  2. Detect project type
  3. Run the audit script
  4. Load the matching template
  5. Scan your codebase for real data
  6. Generate an English README (ask if you need other languages)
  7. Run the pre-publish checklist

Files

better-readme/
β”œβ”€β”€ SKILL.md                          # Trigger conditions + workflow
β”œβ”€β”€ scripts/
β”‚   └── readme_audit.py               # README scorer + project detector
β”œβ”€β”€ references/
β”‚   β”œβ”€β”€ templates.md                  # 5 project-type templates
β”‚   β”œβ”€β”€ scoring-rubric.md             # Full scoring criteria
β”‚   └── pre-publish-checklist.md      # GitHub launch checklist
└── README.md

Compatibility

  • βœ… OpenClaw
  • βœ… Claude Code
  • βœ… Cursor / Codex CLI / Gemini CLI
  • βœ… Any platform using SKILL.md format

License

MIT Β© 2026 Thomas Zhou

About

πŸ“ Audit, generate, and optimize project README files with quality scoring, template matching, and multilingual support

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages