Maintain README.md
CRITICAL RULES
- Scan the codebase first. Every claim, path, count, badge, and link in README.md must be verified against actual files.
- Show findings before changing. Present the audit report and get approval before modifying anything.
- Respect the user's voice. Preserve tone, personality, and intentional style choices unless the user asks to change them.
- Never enter plan mode. Execute immediately.
What This Does
Launches an interactive session to audit and improve your README.md. Goes beyond stale-link fixing -- evaluates structure, information architecture, adoption funnel, and overall quality against readme-craft best practices.
Procedure
Step 1: Codebase Scan (Silent)
Before any output, scan the project to build ground truth:
- Read README.md (the file being audited)
- Read CLAUDE.md, package.json, pyproject.toml, Cargo.toml, go.mod, setup.py
- Read LICENSE, CONTRIBUTING.md, CHANGELOG.md
- Scan source tree: entry points, key modules, exports
- Check .github/workflows/, Dockerfile, CI configs
- Count actual: plugins, agents, skills, commands, features, dependencies
- Check all URLs/badges -- construct expected values from actual metadata
- Read docs/ directory for content that README duplicates or should link to
Step 2: Audit Report
Present findings organized by severity:
Critical (Factual Errors)
- Wrong counts, versions, or stats
- Non-existent file paths or broken relative links
- Badges pointing to wrong package/repo
- Commands that don't work
- Outdated tech stack claims
Structural (Information Architecture)
- Missing progressive disclosure (wall of text without collapsibles)
- Wrong section order for adoption funnel (hero -> proof -> why -> quickstart -> features)
- Key sections missing entirely (no quick start, no install, no feature list)
- Sections that belong in docs/ not README
- README too long (>300 lines without collapsibles)
Content Quality
- Value proposition unclear or buried
- Quick start not copy-pasteable or too many steps
- Feature descriptions vague or missing
- Badges missing or using wrong style
- No visual proof when screenshots/GIFs exist in the repo
- Community/contributing section missing when CONTRIBUTING.md exists
Freshness
- Stale version numbers in badges or text
- References to removed features or old APIs
- Links to moved or renamed files
- Stats that don't match current state (plugin count, command count, etc.)
Step 3: User Decision
Ask the user what level of changes they want:
A) Fix facts only -- correct counts, versions, paths, badges, links. Keep structure as-is.
B) Fix facts + improve structure -- reorder sections, add missing sections, apply progressive disclosure, move deep content to collapsibles.
C) Full restructure -- rewrite following readme-craft best practices. Preserve content and voice but rebuild the information architecture from scratch. Apply the full adoption funnel: hero, visual proof, why, quick start, features, architecture, community, footer.
Step 4: Apply Changes
Based on user choice:
- Show a diff or summary of proposed changes
- Get confirmation before writing
- Apply changes to README.md
- List any manual follow-ups (missing screenshots, broken external URLs, etc.)
Audit Checklist
Verify each item against codebase ground truth:
When to Use
- After adding or removing features, plugins, or components
- When stats or counts are likely stale
- After major restructuring
- Before a release or public announcement
- When the README feels outdated or cluttered
- Periodic maintenance (monthly for active projects)
Related
readme-craft skill -- the best practices and structure this command audits against
/maintain-claude-md -- similar audit workflow for CLAUDE.md files
1---2name: maintain-readme3description: Verify every claim, path, count, and badge against the codebase before changing anything. TRIGGER WHEN: the user asks to audit, update, or improve an existing README.md: fix stale stats/links, reorganize sections, or apply readme-craft best practices. DO NOT TRIGGER WHEN: creating a new README (use the docs:readme-craft skill), or non-README docs (use /codebase-mapper:docs-maintain).4---56<!-- Generated by the Daodan compiler for codex. Edit the kernel, never this file. -->78# Maintain README.md910## CRITICAL RULES11121. **Scan the codebase first.** Every claim, path, count, badge, and link in README.md must be verified against actual files.132. **Show findings before changing.** Present the audit report and get approval before modifying anything.143. **Respect the user's voice.** Preserve tone, personality, and intentional style choices unless the user asks to change them.154. **Never enter plan mode.** Execute immediately.1617## What This Does1819Launches an interactive session to audit and improve your README.md. Goes beyond stale-link fixing -- evaluates structure, information architecture, adoption funnel, and overall quality against readme-craft best practices.2021## Procedure2223### Step 1: Codebase Scan (Silent)2425Before any output, scan the project to build ground truth:26271. Read README.md (the file being audited)282. Read CLAUDE.md, package.json, pyproject.toml, Cargo.toml, go.mod, setup.py293. Read LICENSE, CONTRIBUTING.md, CHANGELOG.md304. Scan source tree: entry points, key modules, exports315. Check .github/workflows/, Dockerfile, CI configs326. Count actual: plugins, agents, skills, commands, features, dependencies337. Check all URLs/badges -- construct expected values from actual metadata348. Read docs/ directory for content that README duplicates or should link to3536### Step 2: Audit Report3738Present findings organized by severity:3940#### Critical (Factual Errors)41- Wrong counts, versions, or stats42- Non-existent file paths or broken relative links43- Badges pointing to wrong package/repo44- Commands that don't work45- Outdated tech stack claims4647#### Structural (Information Architecture)48- Missing progressive disclosure (wall of text without collapsibles)49- Wrong section order for adoption funnel (hero -> proof -> why -> quickstart -> features)50- Key sections missing entirely (no quick start, no install, no feature list)51- Sections that belong in docs/ not README52- README too long (>300 lines without collapsibles)5354#### Content Quality55- Value proposition unclear or buried56- Quick start not copy-pasteable or too many steps57- Feature descriptions vague or missing58- Badges missing or using wrong style59- No visual proof when screenshots/GIFs exist in the repo60- Community/contributing section missing when CONTRIBUTING.md exists6162#### Freshness63- Stale version numbers in badges or text64- References to removed features or old APIs65- Links to moved or renamed files66- Stats that don't match current state (plugin count, command count, etc.)6768### Step 3: User Decision6970Ask the user what level of changes they want:7172**A) Fix facts only** -- correct counts, versions, paths, badges, links. Keep structure as-is.7374**B) Fix facts + improve structure** -- reorder sections, add missing sections, apply progressive disclosure, move deep content to collapsibles.7576**C) Full restructure** -- rewrite following readme-craft best practices. Preserve content and voice but rebuild the information architecture from scratch. Apply the full adoption funnel: hero, visual proof, why, quick start, features, architecture, community, footer.7778### Step 4: Apply Changes7980Based on user choice:81821. Show a diff or summary of proposed changes832. Get confirmation before writing843. Apply changes to README.md854. List any manual follow-ups (missing screenshots, broken external URLs, etc.)8687## Audit Checklist8889Verify each item against codebase ground truth:9091- [ ] Project name matches manifest/repo92- [ ] Description/tagline matches actual purpose93- [ ] Badge URLs use correct repo path, package name, license94- [ ] Version numbers match manifest (package.json, Cargo.toml, etc.)95- [ ] Stats (plugin count, feature count, etc.) match actual filesystem96- [ ] Install commands work with current package manager97- [ ] Quick start steps are copy-pasteable and complete98- [ ] All relative links point to existing files99- [ ] All referenced commands exist100- [ ] Feature list matches actual capabilities101- [ ] Architecture diagram (if present) reflects current structure102- [ ] License in footer matches LICENSE file103- [ ] Author/org matches manifest104- [ ] No references to removed or renamed components105106## When to Use107108- After adding or removing features, plugins, or components109- When stats or counts are likely stale110- After major restructuring111- Before a release or public announcement112- When the README feels outdated or cluttered113- Periodic maintenance (monthly for active projects)114115## Related116117- `readme-craft` skill -- the best practices and structure this command audits against118- `/maintain-claude-md` -- similar audit workflow for CLAUDE.md files