agentleFS
prathakmalikprathakmalik/agent-standards-kit/skills/generate-readme/SKILL.md

generate-readme

Skill0 starsChanged 4 months agoMITView on GitHub

Generates or refreshes a repository's README.md by scanning the codebase for its purpose, structure, entry points, setup steps, and key workflows. Use when a repo has no README, a stub README, or the README is stale after significant changes. Trigger phrases: "generate the readme", "refresh the readme", "write a readme for this repo".

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 4

    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:

    After architecture changes (new entry points, services, commands, config).

    line 17
  2. Distinctive:

    When onboarding notes are out of date.

    line 18
  3. Very specific:

    Add a diagram when structure is non-trivial: Prefer a Mermaid flowchart or sequenceDiagram.

    line 32
  4. Distinctive:

    Never paste secret values.

    line 37
  5. Distinctive:

    Keep the quick start truly runnable — no assumed globals.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 8 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

generate-readme

Produce a clear, human-facing README.md grounded in what the code actually does — not a generic template.

When to use

  • New repo with no or stub README.
  • After architecture changes (new entry points, services, commands, config).
  • When onboarding notes are out of date.

Process

  1. Scan for signal (do not guess):
    • Manifest / build files (package.json, pyproject.toml, pom.xml, go.mod, Cargo.toml, etc.) for name, scripts, deps.
    • Entry points, CLI commands, exported modules.
    • Config and environment files (redact secret values; list the keys).
    • Existing docs, comments, and tests for intent.
  2. Draft these sections (skip any that don't apply):
    • One-line description (what + who it's for).
    • Quick start (install -> run -> verify), copy-paste, minimal.
    • Key concepts / architecture (a diagram if the structure is non-trivial).
    • Configuration (keys, not secret values).
    • How to contribute / run tests.
  3. Add a diagram when structure is non-trivial. Prefer a Mermaid flowchart or sequenceDiagram. Keep node names free of spaces.
  4. Write the file and summarize what you inferred so the human can correct it.

Rules

  • Ground every claim in something you found in the repo. If unsure, ask or mark it TODO.
  • Never paste secret values. List config keys only.
  • Match the project's existing tone if one exists.
  • Keep the quick start truly runnable — no assumed globals.

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.