Repository navigation
Description
Summary
CLDMV package READMEs have converged on a single format that began in @cldmv/slothlet and has since been reused, with small variations, in about a dozen other repos (for example @cldmv/vitest-runner, @cldmv/fix-headers, @cldmv/droidsock, @cldmv/slothlet-vine and @cldmv/llm-translator). There is no template for it in this repo, so each new README is copied from a sibling and drifts. This issue asks for a README scaffold, either as a file under examples/ (for example examples/readme/README.template.md) or wired into the repo-scaffolding tooling (cli/create-scaffold already has templates/.global/), so new and existing repos start from the same skeleton.
The format today
In order:
# @cldmv/<repo>, an optional centered banner (images/<repo>-banner.jpg), a short intro with bold key terms, and a tagline blockquote (> _tagline_).- A primary badge row: npm version, npm downloads, GitHub downloads, last commit, npm last update, coverage (the GitHub release and release date badges sit commented out in the same line). Then an optional
> [!NOTE]/> [!IMPORTANT]status callout, and a contributors + sponsor badge row. ## ✨ What's New:### Latest: vX.Y.Z (Month YYYY)with 2–3 bullets and a link to the version's changelog file,### Recent Releaseswith exactly four bullets (promoted and dropped on each release), and a closing link todocs/changelog/.## 🚀 Key Features,## 📦 Installation(Requirements, Install),## 🚀 Quick Start(ESM, then a CommonJS one-liner),## 📚 Configuration(options table + link), then any repo-specific sections (CLI/API tools use💻 CLIand🔧 APIinstead of Configuration).## 📚 Documentation(Reference, Guides, Repo), followed by a secondary badge row: CodeFactor, OpenSSF Scorecard, npms.io score, npm unpacked size, repo size.## 🤝 Contributing,## 🔗 Links(npm, GitHub, Issues, Releases),## 📄 License(GitHub + npm license badges,Apache-2.0 © Shinrai / CLDMV).- A footer of reference-style badge definitions, all
img.shields.iowithstyle=for-the-badge, a logo, and a fixedlabelColorper family (npmCB3837, GitHub181717, CodeFactorF44A6A, npms.io0B5D57, sponsorEA4AAA). The coverage badge is a shields endpoint badge readingcoverage.jsonfrom thebadgesbranch.
Sections are separated by ---. All docs and changelog links are absolute GitHub URLs so the README renders correctly on npm. Changelogs live at docs/changelog/v<major>/vX.Y.Z.md.
Everything except the prose is mechanical and depends only on the repo name, package name and default branch: the badge definitions and their URL patterns, the changelog link paths, and the Links section.
Gaps
- Nothing in this repo captures the format, so the slothlet README acts as an unwritten spec. The only README-related rule is the release check's warning when What's New doesn't name the released version (
docs/conventions/release-flow-v4.md). - Roughly a dozen repos follow the format closely, about eight follow it partially (badge footer without all the sections, What's New without badges, or no coverage badge), and about fifteen still have an old, stub or missing README.
- Small drifts have already appeared: the OpenSSF Scorecard badge is missing in some repos, one README has an empty
### Repoheading, another has doubled separators, and the pre-1.0 changelog path (docs/changelog/v0/) isn't documented anywhere.
Proposal
- Add
README.template.mdwith placeholders ({{repo}},{{package}},{{description}},{{tagline}},{{node_min}},{{license}}) and the full badge footer. Mark the optional parts: banner, status callout, Contributing, Acknowledgments, repo-specific sections. Release-specific content (an "Introducing vN" block) and personal sections stay out of the template. - Document the implicit conventions next to the template or in
docs/conventions/: Latest plus exactly four Recent Releases, absolute URLs, the badge set and its colours, thev0/changelog path for pre-1.0 packages. - Wire the template into the scaffolding (
create-scaffoldor the repo-seeds flow) so a new repo gets a rendered README. - Optionally, a README conformance check (required headings, badge footer) alongside the existing What's New warning.
Acceptance criteria
- A new package README can be generated from the template with only prose to write.
- Filled in for
@cldmv/slothlet, the template reproduces the current slothlet README's structure and badge definitions. - The conventions are documented.
Activity
Shinrai commentedon Nov 1, 2026
#415 adds
examples/readme/README.template.mdanddocs/conventions/readme-format.md. Rendered for slothlet, the template reproduces all 28 badge definitions exactly. I didn't wire it into create-scaffold: that tool lives in its own repo, hasn't been touched since 2025, and copies files verbatim with no placeholder rendering. The doc lists that, and a conformance check, as future work.cldmv-bot commentedon Nov 1, 2026
Marked
status: implemented— resolved by #415, merged intonext. This issue closes automatically when that work ships to the default branch.release: v4.35.0 - scope the pre-commit check to staged files through…