agentleFS
GidntsquiaGidntsquia/claude-config/skills/write-readme/SKILL.md

write-readme

Skill2 starsChanged 15 days agoMITView on GitHub

Write or rewrite a repo's README in the user's short house style, move long technical detail to the GitHub wiki (cloned into a gitignored wiki/ folder), and create the GitHub repo if there isn't one. Use for any README request (new, rewrite, shorten, "less AI-sounding"). Args after /write-readme adjust the defaults.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use implement, release and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    License: No LICENSE: add MIT (user's name, current year) and tell the user so they can remove it.

    line 24
  2. Very specific:

    Remove any docs/*.md the pages replace.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “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

write-readme

Short README in the user's style + detail in the GitHub wiki, done in one pass. Read references/style.md before writing; it has the template, voice rules and the sentences the user rejected.

Args are adjustments ("no wiki", "private", "name it X", "gif is docs/foo.gif"). Apply them without asking.

Steps

  1. Read. README.md, the manifest (package.json/pyproject.toml/Cargo.toml) for run commands, ls docs screenshots, ls LICENSE, git remote -v, gh auth status. Skim the entry point if needed. Everything written must be true of the current code.
  2. GitHub repo. If there's no origin, ask with AskUserQuestion before creating anything (skip only if args already say public/private): "Create <owner>/<name> as a public repo?" with options Public (Recommended) / Private. Name = the project's name from the manifest/title in kebab-case, else the folder name. On approval: gh repo create <owner>/<name> --public|--private --source . --remote origin --push, then gh repo edit --enable-wiki.
  3. Wiki check, early. git ls-remote "https://github.com/<o>/<r>.wiki.git". If it fails, the wiki has never had a page (GitHub has no API to create one). Tell the user right away: "Open https://github.com/<o>/<r>/wiki/_new and click Save page", and keep working on steps 4-6 while they do it.
  4. Hero image. Preference: a gif in docs/, an image the user names, the widest screenshot of the main screen. Look at candidates with Read. Copy it into docs/ if its folder is gitignored. None at all: put <!-- TODO: screenshot of X --> at the top and say so. A second image is fine for a second major mode.
  5. README. Template and voice from references/style.md, 60-90 lines. How-it-works detail (formulas, thresholds, internals, reasoning) goes to the wiki.
  6. License. No LICENSE: add MIT (user's name, current year) and tell the user so they can remove it. Always include the License section.
  7. Wiki in wiki/. Unless args say no wiki:
    • git clone "https://github.com/<o>/<r>.wiki.git" wiki in the repo root (retry once the user has saved the first page), and add /wiki/ to .gitignore under a # GitHub wiki clone (its own repo) comment.
    • Split the old README/docs by heading into pages: Title-Case-With-Dashes.md, # Title first line, ### promoted to ##, text mostly verbatim. Write Home.md with one line per page. Delete the placeholder page the user made.
    • git -C wiki add -A && git -C wiki commit && git -C wiki push --force origin HEAD:master (force only to replace the placeholder; never over real pages).
    • Remove any docs/*.md the pages replace. Link every page from the README's Documentation section.
    • Fall back to docs/ markdown only if the wiki can't be pushed at all; say why.
  8. Self-check, then commit README, LICENSE, .gitignore, images and removed docs; push. Check each wiki page returns 200 (curl -so /dev/null -w '%{http_code}'). Report in a few lines: repo URL, what moved to which page, and that wiki/ is a clone (edit, commit and push from inside it).

Self-check

Reread the README for the tells in references/style.md. The two the user named: "not X, but Y" / "comes from Y, not Z" contrasts, and conversational filler ("actually", "really", "spits out", "nitty gritty", "that's it"). Rewrite tagline-like bullets as plain statements of what the software does.

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.