| name | update-readme |
| description | Keep README.md files up-to-date with automatic detection of outdated content and automated updates. Trigger: When user asks to update README, detect outdated content, or maintain documentation.
|
| license | MIT |
| metadata | {"author":"vekzz-dev","version":"1.0"} |
When to Use
- Updating existing README.md files
- Detecting outdated documentation
- Maintaining project documentation
- User asks to "update README" or "check documentation"
Instructions
When to Update
Trigger Events
Update the README when:
- Before release - New version, feature, or fix
- API changes - New functions, removed methods, signature changes
- Dependency updates - Major version bumps (e.g., Node.js 18 → 20)
- Breaking changes - Configuration, behavior, or API changes
- Monthly review - Scheduled maintenance
- After feedback - Users report confusion
Warning Signs
- "Requires Node.js 12+" but project uses Node 20
- Installation command doesn't work
- Examples throw errors
- API documentation doesn't match code
- Broken badges (red/404)
Step 1: Detect What Needs Updating
Use references/detection/ to find outdated content:
- detect-changes.md - Compare code vs README
- compare-sections.md - Section-by-section verification
- outdated-detection.md - Common outdated patterns
Step 2: Update Sections
See references/sections-update/ for each section:
Step 3: Use Checklist
Always verify with references/checklist.md:
Step 4: Automate Updates
Set up references/automation/ for continuous maintenance:
Commands
cat package.json | grep '"version"'
cat package.json | grep '"engines"'
npm list --depth=0
curl -I https://img.shields.io/npm/v/package-name
npm outdated
npx markdown-link-check README.md
npx markdownlint README.md
Quick Detection Checklist
Run these commands to detect issues:
cat package.json | grep '"version"'
cat package.json | grep '"engines"'
npm list --depth=0
curl -I https://img.shields.io/npm/v/package-name
Common Issues
See references/common-issues.md for solutions to:
- Outdated version numbers
- Broken installation commands
- Non-working code examples
- Missing API methods
- Incorrect badges
- Old requirements
Integration with create-readme
Use create-readme to:
- Initial creation - Generate a new README
- Major changes - Regenerate entire README
- New project types - Different templates
Use this skill (update-readme) for:
- Incremental updates - Keep current
- Verification - Check accuracy
- Automation - Set up auto-updates
Best Practices
Always
- Test installation commands
- Run code examples
- Verify API matches implementation
- Check badge URLs
- Update version numbers
Never
- Copy-paste without testing
- Trust old documentation
- Ignore broken badges
- Skip version bumps
- Leave outdated requirements
Automation
- Set up GitHub Actions for stats
- Use dynamic badges
- Add README linter to CI
- Schedule monthly reviews
- Monitor for feedback
Resources