rabbit-writes / rabbit-readme-improver
CLAUDE.md0 starsChanged 2 months agoMITView on GitHub
README auditing, drafting, restructuring, and section writing skill based on empirical analysis of 100 trending GitHub repositories.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/rabbit-agents-md/CLAUDE.mdCLAUDE.md
- skills/rabbit-reads/CLAUDE.mdCLAUDE.md
- skills/rabbit-rewrites/CLAUDE.mdCLAUDE.md
- skills/rabbit-writes/CLAUDE.mdCLAUDE.md
- skills/voice-setup/CLAUDE.mdCLAUDE.md
- rabbit-agents-mdSkill
- rabbit-readme-improverSkill
- rabbit-readsSkill
- rabbit-rewritesSkill
- rabbit-writesSkill
- voice-setupSkill
The file
Files
rabbit-readme-improver
README auditing, drafting, restructuring, and section writing skill based on empirical analysis of 100 trending GitHub repositories.
Commands
# Run unit tests
python3 skills/rabbit-readme-improver/tests/run.py
# Pytest equivalent
pytest skills/rabbit-readme-improver/tests/
# Audit or check a README.md file
python3 skills/rabbit-readme-improver/scripts/readme_check.py path/to/README.md
# Audit with JSON payload
python3 skills/rabbit-readme-improver/scripts/readme_check.py path/to/README.md --json
# Run as a gate (exit 1 on P0 issues)
python3 skills/rabbit-readme-improver/scripts/readme_check.py path/to/README.md --check
# Check README with explicit voice rules
python3 skills/rabbit-readme-improver/scripts/readme_check.py path/to/README.md --voice-rules skills/rabbit-writes/voices/whit3rabbit.rules.jsonStructure & Architecture
SKILL.md: Frontmatter and operational guidelines. Defines section structure rules and modes (draft,audit,restructure,section).scripts/:readme_check.py: Main checker script. Evaluates section order, badges, claim caveats, link formatting, table of contents rules, and active voice profile rules. Dynamically importsrwlibfromskills/rabbit-writes/scripts.corpus_summary.json: Aggregated metrics measured from 100 trending GitHub repositories (checked againstdocs/readme-analysis/by${CLAUDE_PLUGIN_ROOT}/scripts/validate.py).
references/:patterns.md: Statistical findings and catalog of measured README patterns.checklist.md: Step-by-step checklist for auditing README files.
tests/: Unit test suite verifying structural ordering, link/claim verification, license checks, corpus summary consistency, and voice profile integration.
Conventions & Gotchas
- Structural Section Order: Pitch (first 2 sentences) → Fastest path to running it (Installation) → Depth → Community mechanics → License.
- Corpus Summary Invariant:
corpus_summary.json, produced from the research aggregate byscripts/readme-research/05_export_corpus_summary.py, carries ameasured_atdate derived from the latestpushed_attimestamp in the sample rather than from the clock, so rerunning the aggregation over the same committed data does not move it.${CLAUDE_PLUGIN_ROOT}/scripts/validate.pyverifiescorpus_summary.jsonagainstdocs/readme-analysis/when present, andreadme_check.pyquotes it: "corpus comparison (100 trending repos, 2026-08-10)". rwlibIntegration:readme_check.pyresolvesrwlibrelative to its file path (skills/rabbit-writes/scripts), running craft and voice checks without requiringscan.pydirectly.- Link Conventions: Inline Markdown
[text](url)is used (96.8% corpus usage). Avoid reference-style links or raw bare URLs. SCAN_PATHdrift:validate.pystring-matchesreadme_check.py'sSCAN_PATHliteral. Change both together, or the check degrades to a note instead of a failure.readme_check.pyalso resolvesrwlibfrom that same literal, so the two cannot end up pointing at different checkouts.- The corpus research scripts keep their own table patterns and sentence splitter, deliberately. Every committed
stats.jsonwas measured with those, so swapping in the engine's copies would silently move a published number. The comments atTABLE_ROW_REin03_analyze_readme.pysay so. - Corpus data regenerates:
cd scripts/readme-research && python3 03_analyze_readme.py --batch && python3 04_aggregate.py && python3 05_export_corpus_summary.py. Step 03 overwritesdocs/readme-analysis/02_all_stats.json, so a batch that finds no READMEs empties it. Step 05 is not optional: without it the checker keeps comparing against the old numbers.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

