readme-updater
Original:🇺🇸 English
Translated
Use this skill when you need to keep a repository's README.md file updated with project metadata, installation instructions, usage examples, and more. It automates synchronization by analyzing codebase patterns and dependencies.
16installs
Sourceprulloac/git-blame-vsc
Added on
NPX Install
npx skill4agent add prulloac/git-blame-vsc readme-updaterTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →README Updater
This skill helps maintain a consistent and up-to-date file for your repository. It automates the process of extracting information from the project's codebase to ensure documentation is always in sync with implementation.
README.mdFeatures
- Project Overview Synchronization: Updates the project description and features list based on the latest implementation.
- Installation & Setup Tracking: Automatically detects project type (Node.js, Python, Rust, etc.) and updates setup/installation commands.
- Usage Examples Generator: Scrapes code examples from test suites or directory and integrates them into the README.
examples/ - Version and Changelog Linking: Keeps the current version and links to the updated.
CHANGELOG.md - Dependency Visualization: Optionally generates or updates a list of main dependencies or a simple architecture overview.
Workflow
1. Analyze the Workspace
Before updating, the agent must gather context about the project's current state.
- Check root files: Look for ,
package.json,requirements.txt,Cargo.toml, etc.go.mod - Determine project type: Identify the primary language and frameworks used.
- Locate entry points: Find the main script or binary that users will interact with.
2. Update the README.md
A. If README.md
does not exist:
README.mdCreate a new using the Standard Template.
README.mdB. If README.md
exists:
README.mdAnalyze the current contents and identify sections that need updates.
- Use search tools to find markers or specific headers (e.g., ,
# Installation).# Usage - Propose changes that reflect the latest version or new features.
- Maintain existing information that isn't automatically derivable.
3. Verification
Always verify the README's correctness after an update:
- Check that links are valid and pointing to the correct files.
- Ensure commands are correct and up-to-date.
- Validate that the tone remains consistent with the rest of the documentation.
Output Format Example
When the skill completes an update, it should provide a summary of changes:
README Update Summary
- ✅ Installation: Updated to include new peer dependencies.
npm install - ✅ Usage: Added example for the new flag.
--blame-only - ℹ️ Version: Incremented to to match
v1.2.3.package.json
References
- README Template - Standard layout for project documentation.
- Project Discovery Patterns - How to find project info across different languages.