mcpField
R
readme-wizard

readme-wizard

github.com/debs-obrienDevelopment5377 installsUpdated 31w ago
Repository

About readme-wizard

readme-wizard is a README-writing skill for project maintainers. It scans repository data and uses templates, best-practice guidance, and validation checks to generate or improve documentation without inventing missing details.

Key features

  1. 01Scan repository metadata
  2. 02Adapt README structure to project type
  3. 03Add badges based on verified data
  4. 04Check placeholders and output quality
  5. 05Generate diagrams when appropriate

Use cases

  1. 01Create a README for an existing repository
  2. 02Update outdated or incomplete project documentation
  3. 03Keep README content concise for small scripts

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/debs-obrien/learn-agent-skills --skill readme-wizard

After installing, type/readme-wizardin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
badges.json
diagrams.md
readme-template.md
evals/
evals.json
references/
readme-best-practices.md
scripts/
scan_project.sh

Details

From the project README

README Wizard

Generate or improve a project's README by scanning the repo and producing a polished, professional result based on real project data.

Workflow

1. Scan the project

Run scripts/scan_project.sh <project-directory> to collect structured JSON metadata:

  • Project name and description
  • License type
  • Git remote (owner and repo name)
  • Package manager (npm, yarn, pnpm, pip, cargo, go, etc.)
  • CI setup (provider and workflow files)
  • Social links (YouTube, Discord, Twitter, LinkedIn, Bluesky, Twitch)
  • Directory structure (top 2 levels)

The reference script checks local files first, then uses the GitHub API to look up the homepage URL and crawls that homepage for additional social links. Your own first version can stay local-file only and add this enrichment later if you want it.

Handling missing data: The scan will return empty strings for anything it can't find. Never fabricate metadata — if a field is empty, skip the related section or badge entirely. For example: no CI workflows means no build badge; no social links means no social section.

2. Read the best practices guide

Read references/readme-best-practices.md before writing. It covers structure, tone, project-type adaptation, and common pitfalls. This context makes a real difference in output quality — the guide explains the reasoning behind each section so you produce READMEs that feel intentional rather than formulaic.

3. Build the README

Use assets/readme-template.md as the base structure. Replace {{PLACEHOLDER}} markers with actual project data from the scan.

When rendering the project tree, keep it close to how people browse repos: list directories before files, alphabetize within each group, and add trailing / markers for directories.

Adapt — don't copy blindly. The template is a starting point. Drop sections that don't apply (e.g., no Contributing section for a personal notes repo) and adjust the tone to match the project:

  • Libraries/frameworks: Focus on installation, API, and examples
  • Applications: Focus on setup, configuration, and screenshots
  • Docs/learning repos: Focus on structure and navigation
  • Small utilities/scripts: Keep it short — hero + what it does + usage is enough
4. Add badges

Read assets/badges.json for the full badge catalog organized by category (status, social, extras) with {{PLACEHOLDER}} markers for dynamic values. Use style=for-the-badge for all badges.

Golden rule: Only include badges for things that actually exist. A badge for a nonexistent CI workflow or a guessed npm package is worse than no badge at all.

5. Validate the output

Review the generated README against the assertions in evals/evals.json. Verify:

  • No placeholder text remains ({{PROJECT_NAME}}, TODO, etc.)
  • All badges point to real shields.io URLs for things that actually exist
  • Sections are proportional to the project — a simple script doesn't need a 200-line README
  • Social badges only appear if social links were found in the scan
  • The tone is concise and direct, not marketing fluff
6. Optionally add a diagram

Only read assets/diagrams.md if the project has multiple components or a clear data flow (APIs, monorepos, content pipelines). Skip entirely for simple projects. Generate the diagram from the project's actual structure — the templates in the file are starting points to adapt, not copy.

Comments

Markdown supported