Writing a solid README.md is easy to put off until the end of a project—and easy to leave half-finished with leftover placeholders, broken relative paths, or bad #anchor links.
To make my documentation more consistent, I created README Builder (ladyredd-coder/readme-builder), a reusable skill workflow, reference kit, and PowerShell validator for drafting and auditing project README.md files.
What It Includes
-
Skill Workflow (
SKILL.md): Guides AI assistants to gather actual project details before drafting documentation rather than guessing. -
Reference Templates (
references/): Keeps section structure predictable usingreadme-template.mdandsection-guide.md. -
PowerShell Validator (
scripts/check-readme.ps1): Checks a targetREADME.mdfor required headings, empty sections, broken relative file links, invalid#anchorlinks, unclosed code fences, and leftover placeholders. -
Test Suite (
tests/run-tests.ps1): Uses passing (tests/README.md) and failing (tests/bad.md) sample fixtures with$PSScriptRootrelative paths so tests run cleanly across machines.
Setup & Usage
Clone the repository and optionally copy it into your local skills folder:
git clone https://github.com/ladyredd-coder/readme-builder.git
cd readme-builder
Copy-Item -Path "." -Destination "$env:USERPROFILE\.claude\skills\readme-builder" -Recurse -Force
Run check-readme.ps1 against another project's README.md:
powershell -ExecutionPolicy Bypass -File ".\scripts\check-readme.ps1" -Path "C:\path\to\your-project\README.md"
You can also pass custom required headings or run the test suite:
powershell -ExecutionPolicy Bypass -Command "& '.\scripts\check-readme.ps1' -Path 'C:\path\to\your-project\README.md' -RequireHeading @('Overview', 'Live site')"
powershell -ExecutionPolicy Bypass -File ".\tests\run-tests.ps1"
What checks or sections do you find most important to enforce in a project README.md?
Top comments (0)