claude-skills/engineering/readme-polish
Claude 29fafe2c69
fix(readme-polish): no R003 on substrings, keep GitHub's emoji-heading slugs
- Placeholder words now need word boundaries and are matched against the
  alt text and image filename only, so todoist.com logos pass.
- slugify keeps the leading hyphen GitHub leaves after an emoji
  ('## 🚀 Install' -> #-install) and maps each space to one hyphen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFK1vvE2JqPSbzHDT2t
2026-11-17 05:11:00 +00:00
..
.claude-plugin feat(engineering): add readme-polish skill 2026-11-16 20:42:34 +08:00
evals feat(engineering): add readme-polish skill 2026-11-16 20:42:34 +08:00
references feat(readme-polish): land community README-polish skill as a standalone plugin 2026-11-17 05:07:12 +00:00
scripts fix(readme-polish): no R003 on substrings, keep GitHub's emoji-heading slugs 2026-11-17 05:11:00 +00:00
README.md feat(engineering): add readme-polish skill 2026-11-16 20:42:34 +08:00
SKILL.md fix(readme-polish): exit-code contract, duplicate heading slugs, badge counting 2026-11-17 05:09:21 +00:00

readme-polish

Upgrade an existing README to the visual and structural standard of the leading repos in its own ecosystem: archetype calibration, component selection, restraint boundaries, honesty rules, and a deterministic lint gate.

Quickstart

git clone https://github.com/alirezarezvani/claude-skills.git
cd claude-skills
python3 engineering/readme-polish/scripts/check_readme.py README.md

What it does

  • Classifies the repository's category (single tool, framework, collection, commercial) by sampling leading repos in the same topic, then picks a presentation tier with reasons.
  • Runs a 15-second scannability test on the current README and records each failure as a work item.
  • Builds a fact list (true / stale / invented) so the rewrite cannot keep dead badges, old versions, or invented metrics.
  • Rewrites the hero, quickstart, proof, reference, and limits sections with only components that carry information.
  • Ships scripts/check_readme.py, a stdlib-only gate for dead links, broken or placeholder badges, non-ASCII anchors, oversized mermaid diagrams, wide tables, badge overload, and install-command placement.

Usage

python3 scripts/check_readme.py README.md
python3 scripts/check_readme.py --strict --json README.md
python3 scripts/check_readme.py --help

Exit codes: 0 clean, 1 warnings, 2 errors.

Modes

  • Upgrade — full audit and rewrite.
  • Audit only — findings report with line references, no edits.
  • Calibrate — sample the ecosystem and recommend a tier.

Limits

Static checks cannot see rendering and cannot judge whether a component is warranted. The human render check and the fact audit remain manual by design.

License

MIT.