mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-11-26 22:28:38 +00:00
- 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
|
||
|---|---|---|
| .. | ||
| .claude-plugin | ||
| evals | ||
| references | ||
| scripts | ||
| README.md | ||
| SKILL.md | ||
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.