readme-update
Skill3 starsChanged 6 months agoMITView on GitHub
Detect README staleness and propose a targeted update. Use when the user says "update readme", "is the readme out of date", "readme refresh", "/readme-update", or after merging a feature that likely changes installation, usage, or public API. Reads the README's last-touched commit, walks the commits since, and proposes a section-by-section diff.
- Reads credentials
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- bakaschwarz/agent-skillstheir own version, first seen May 29, 2026
- navikt/hovmestertheir own version, first seen Apr 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- navikt/hovmester★ 2same name
- bakaschwarz/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-simplificationSkill
- dcgSkill
- editorial-reviewSkill
- journalSkill
- security-and-hardeningSkill
- session-retroSkill
- autopilotSkill
- blunder-huntSkill
- brainstormSkill
- convergence-detectSkill
- deslopSkill
- dispatch-parallelSkill
- doc-reviewSkill
- dreamSkill
- incremental-implementationSkill
- planning-and-task-breakdownSkill
- polishSkill
- pr-reviewSkill
- refactor-planSkill
- scope-checkSkill
- security-auditSkill
- spec-driven-developmentSkill
- unstuckSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Look for, in order:
- Very specific: line 16
If multiple Markdown files plausibly serve as the README (e.g., docs/README.md), ask the user which one to update.
- Very specific: line 25
If LAST_SHA is empty, the README has never been committed.
- Distinctive: line 34
If the list is empty, report "README is up to date with HEAD (last touched <date>)" and stop.
- Distinctive: line 69
If a theme has no corresponding section, propose a *new* section rather than forcing an edit into an unrelated section.
- Distinctive: line 115
Never commit. The user owns the commit moment.
- Distinctive: line 116
Never invent commands, flags, or APIs.
- Distinctive: line 117
Don't rewrite the whole README in one go.
- Very specific: line 118
If the README looks fundamentally outdated (missing required sections like Installation or License), suggest the user run /readme-init (or …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
readme-update
Most READMEs decay silently. This skill catches the decay early by anchoring on the last commit that touched README.md, walking forward, and matching what changed against which README sections are likely affected.
Step 1: Find the README
Look for, in order:
README.mdat the repo rootREADME.MD,Readme.md,readme.md(case variants)
If multiple Markdown files plausibly serve as the README (e.g., docs/README.md), ask the user which one to update.
Step 2: Find the Last Update
LAST_SHA=$(git log -n 1 --format="%H" -- README.md)
LAST_DATE=$(git log -n 1 --format="%ad" --date=iso -- README.md)If LAST_SHA is empty, the README has never been committed. In that case, ask the user "should I generate a fresh README from scratch?" and stop here.
Step 3: List Commits Since
git log "${LAST_SHA}..HEAD" --format="%h %s"
git diff --name-only "${LAST_SHA}..HEAD"If the list is empty, report "README is up to date with HEAD (last touched <date>)" and stop.
Step 4: Categorize the Changes
Bucket the changed files into themes:
| Theme | File patterns | README sections likely affected |
| Dependencies | package.json, go.mod, Cargo.toml, pyproject.toml, requirements.txt, Gemfile, composer.json | Installation, Prerequisites |
| Build / scripts | package.json scripts, Makefile, justfile, Taskfile.yml, .github/workflows/* | Build, Development, CI |
| CLI / binaries | new files under cmd/, bin/, src/cli/, executable shell scripts | Usage, Examples |
| Public API | exported symbols, route handlers, OpenAPI specs, generated SDKs | API, Reference |
| Configuration | .env.example, config schemas, settings files | Configuration |
| Schema / data | migration files, prisma/sqlx schemas, GraphQL SDL | Schema, Data Model |
| Docs links | docs/** additions or renames | Documentation, Further Reading |
Step 4.5: Check badges + image staleness
While scanning, audit:
- Version badges in the README header — does the version match the latest tag? Latest release? Latest published package?
- License badges — match LICENSE file?
- Build / lint badges — link still valid? Workflow still exists?
- Embedded images / diagrams —
mtimenewer or older than the related code'smtime? An out-of-date architecture diagram is often worse than no diagram.
Step 5: Read the README
Parse the README's heading structure (h1/h2/h3). Map each detected theme to the matching section.
Semantic match, not just header text. A "Quickstart" section may be called "Get Started", "Hello world", "First steps", or simply have no header but lead with npm install. Match by content patterns:
- Installation = section that contains install commands or package-manager mentions
- Usage = section with example invocations
- API = section with type signatures or endpoint definitions
- Configuration = section with env vars, config keys, or settings tables
If a theme has no corresponding section, propose a new section rather than forcing an edit into an unrelated section.
Multi-doc support
This skill works on any project markdown, not just README.md. Apply the same anchor-on-last-touch + walk-forward pattern to:
CONTRIBUTING.md(contributor flow changed, new tooling required, new conventions)ARCHITECTURE.md(major refactors, new modules, removed components)CHANGELOG.md(releases since last touch — auto-generate entries from commits)docs/**/*.md(any deep doc that references specific code paths)
Pass the doc path explicitly: /readme-update CONTRIBUTING.md. Default is README.md.
Step 6: Propose Concrete Edits
For each section that needs an update, propose a unified-diff-style change:
## Updates proposed for README.md
### Installation (last touched 2025-12-04, dependencies changed in 4 commits)
- old: `pip install foo==1.0`
- new: `pip install foo==2.0`
### Usage (new commands added)
+ `foo bake` — bake the dough; replaces `foo prepare` (deprecated 1.4.0)
### Configuration (new section)
+ A new section is needed: env vars `FOO_TIMEOUT` and `FOO_RETRIES` are now read by the binary.Include the rationale (what change in the codebase prompted each suggestion) so the user can sanity-check.
Step 7: Confirm and Apply
Prompt: "Apply these edits to README.md? [y/N]"
On y:
- Apply each edit using your agent's edit primitive
- Stage the file but do not commit (leave the commit message + commit moment to the user)
On n:
- Print the proposed diff so the user can copy-paste pieces
Hard rules
- Never commit. The user owns the commit moment.
- Never invent commands, flags, or APIs. If the change since the last README touch isn't obviously documented in the source, mark it as "needs the user to clarify" and skip that section.
- Don't rewrite the whole README in one go. Section-by-section diffs only.
- If the README looks fundamentally outdated (missing required sections like Installation or License), suggest the user run
/readme-init(or equivalent) first; this skill is for incremental maintenance, not greenfield generation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

