agentleFS
lingengyuanlingengyuan/my-skills/.claude/skills/readme-maintainer/SKILL.md

readme-maintainer

Skill9 starsChanged 2 months agoMITView on GitHub

Update, rewrite, or generate concise, publication-ready project READMEs from current repository facts. Use for README maintenance, install and usage refreshes, command verification, and existing bilingual alignment.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat repository files as the source of truth.

    line 8
  2. Distinctive:

    Verify purpose, prerequisites, examples, configuration, and commands against authoritative files.

    line 19
  3. Distinctive:

    Keep the main installation path, a working usage example, common operations, and essential constraints.

    line 21
  4. Distinctive:

    Read references/readme-checklist.md before a full rewrite.

    line 31
  5. Distinctive:

    Delete before rewriting: remove a sentence if its absence does not impair understanding, setup, operation, or verification.

    line 35
  6. Distinctive:

    Keep each fact in one authoritative place.

    line 38
  7. Distinctive:

    Use only sections the reader needs.

    line 39
  8. Distinctive:

    Do not invent compatibility, metrics, deployment status, or test results.

    line 44
  9. Distinctive:

    Keep internal checks and editing history out of the final document.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

README Maintainer

Treat repository files as the source of truth. Write a standalone entry point that tells readers what the project does and how to install, configure, and use it.

Workflow

  1. Resolve the repository and README path; read the existing README.
  2. Collect only the facts needed for the change. For broad updates, use:
bash "<skill-dir>/scripts/collect_repo_facts.sh" "<repo-path>"
  1. Verify purpose, prerequisites, examples, configuration, and commands against authoritative files. Preserve useful user-authored content; remove stale claims rather than guessing.
  2. Match the existing language. Use bilingual output only when already present or requested.
  3. Keep the main installation path, a working usage example, common operations, and essential constraints. Link detailed configuration, architecture, exhaustive options, and development procedures to existing documentation instead of duplicating them. Verify that each destination actually covers the referenced topic.
  4. Apply the publication pass below, then verify paths, command syntax, and semantic preservation. Execute commands only when appropriate to the task; distinguish source verification from successful execution.
  5. For bilingual files, check semantic parity and run:
bash "<skill-dir>/scripts/check_bilingual_readme.sh" README.md
  1. Report the completed change and material unresolved facts briefly, outside the README.

Read references/readme-checklist.md before a full rewrite.

Publication pass

  • Delete before rewriting: remove a sentence if its absence does not impair understanding, setup, operation, or verification.
  • Describe the product and its current behavior directly. Remove author reasoning, review history, temporary work status, defensive explanations, rhetorical transitions, and repeated claims.
  • Express responsibilities through their owners and operational warnings as concrete rules. Preserve real prohibitions, safety constraints, compatibility conditions, and recovery limits.
  • Keep each fact in one authoritative place. Prefer a short paragraph, runnable example, or compact table over repeated explanations.
  • Use only sections the reader needs; a README is not a complete manual. Do not impose a fixed word count, reduction percentage, section template, or mandatory project tree.
  • Preserve enough context for a new reader to act. Correctness, necessary completeness, and usability take priority over brevity.

Evidence rules

  • Do not invent compatibility, metrics, deployment status, or test results.
  • Keep internal checks and editing history out of the final document. Include validation commands or supported behavior only when useful to project readers.
  • A full rewrite must retain essential setup steps, technical contracts, and operational constraints, either directly or through verified documentation links.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.