agentleFS
ZardLi1115ZardLi1115/readme-skill/SKILL.md

readme-skill

Skill17 starsChanged 3 months agoMITView on GitHub

Draft, improve, restructure, translate, or audit fact-based GitHub README files. Use when the user wants a README for an open-source repository, bilingual README documentation, badges, README visuals, ASCII architecture diagrams, usage examples, Star History charts, or a safe README rewrite.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 1

    1. Annabellachildlike849/readme-skill★ 0100% same

    Edited · 0

    None found.

    Wrote their own version · 3

    1. loveranmar/readme-skill★ 1same name
    2. MicTx/readme-skill★ 1same name
    3. diegopacheco/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.

The file

Show its rules and text

We split this skill into the rules it gives an agent

47 rules. About 0 are common, 40 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈40

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Create accurate, readable GitHub README files by grounding every external claim in repository evidence or explicit user confirmation.

    line 8
  2. Distinctive:

    If the user wants a saved draft, use the exact target path they provide.

    line 14
  3. Distinctive:

    Never invent commands, APIs, links, badges, performance claims, compatibility promises, release data, community locations, license terms, …

    line 15
  4. Distinctive:

    Never expose API keys in README content, commands committed to a repository, source files, or image URLs.

    line 16
  5. Distinctive:

    Prefer questions with multiple explicit options.

    line 19
  6. Distinctive:

    Keep a clear separation between Verified from repository, Confirmed by user, Uncertain, and Missing information.

    line 20
  7. Distinctive:

    Do not copy another repository’s wording, project-specific commands, branding, or content.

    line 21
  8. Distinctive:

    Do not use emoji in generated README files.

    line 22
  9. Very specific:

    Use this standard only for a source-backed optional ## Architecture section.

    line 29
  10. Very specific:

    Use a fenced text block so GitHub preserves alignment.

    line 79
  11. Distinctive:

    Keep box widths aligned and boxes on the same layer at the same height.

    line 80
  12. Distinctive:

    Prefer a horizontal layout.

    line 81
  13. Distinctive:

    Place arrow labels above or on the connecting line.

    line 82
  14. Very specific:

    Read existing README variants, LICENSE*, contribution and security files, plus the docs index.

    line 92
  15. Very specific:

    Read only manifests that are present, such as package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, or language-equivalent metadata.

    line 93
  16. Distinctive:

    If any README variant exists, ask the user to choose its handling mode before drafting:

    line 95
  17. Distinctive:

    1) Replace completely: write a new README without using any information from the existing README.

    line 96
  18. Distinctive:

    2) Replace with selected existing information: write a new README, retaining only accurate existing content that the user approves.

    line 97
  19. Distinctive:

    If no remote repository can be verified, say so.

    line 108
  20. Distinctive:

    Before selecting sections or composing prose, read README structure guidance.

    line 112
  21. Distinctive:

    When badges are requested or evaluated, read badge guidance.

    line 113
  22. Distinctive:

    When images are requested, read image guidance.

    line 114
  23. Distinctive:

    Before presenting a final draft and again before writing files, read quality checklist.

    line 115
  24. Very specific:

    After project type and language layout are known, read only the relevant template(s) in templates/.

    line 116
  25. Distinctive:

    Ask one question at a time.

    line 120
  26. Distinctive:

    If an existing README was found during discovery, ask the user to choose the handling mode described above before asking later content …

    line 122
  27. Distinctive:

    Ask for the language layout: English, English plus Simplified Chinese, or Chinese.

    line 123
  28. Distinctive:

    Ask whether the user wants Shields.io badge recommendations.

    line 126
  29. Very specific:

    If the repository contains a verified LICENSE* file, recommend a linked static License badge by default as part of the verified badge set.

    line 128
  30. Distinctive:

    Ask whether to include an ASCII architecture diagram.

    line 130
  31. Distinctive:

    If included, confirm the components, group boundaries, relationships, and labels from repository evidence or the user before drawing it.

    line 132
  32. Distinctive:

    Ask whether to include a usage example.

    line 133
  33. Distinctive:

    If included, collect confirmed example prose, image/assets, code or commands, expected result, preferred placement, and language.

    line 135
  34. Distinctive:

    Use the centered header by default.

    line 136
  35. Distinctive:

    Ask whether imagery is wanted.

    line 137
  36. Distinctive:

    If yes, ask whether existing assets are available.

    line 139
  37. Distinctive:

    If no assets are available, ask whether the visual should be icon only, icon plus one short line, or icon plus project name and one short …

    line 140
  38. Distinctive:

    If the user chooses an OpenAI image service, ask for the API URL and API key (or the names of environment variables that already contain …

    line 141
  39. Very specific:

    Use scripts/generate-image.py for the generation request.

    line 142
  40. Distinctive:

    Verify the generated local asset before adding its path to a README.

    line 143
  41. Distinctive:

    Ask whether to add a Star History chart.

    line 144
  42. Distinctive:

    Place it after Community & support and immediately before License.

    line 147
  43. Distinctive:

    Ask only for remaining public information that cannot be verified: target audience, key emphasis, documentation site, demo, community, …

    line 149
  44. Distinctive:

    When selected and supported, preserve this order near the beginning of every README:

    line 155
  45. Distinctive:

    Before any file write, present:

    line 161
  46. Distinctive:

    If a README already exists, an explicit keep / move / merge / remove summary.

    line 171
  47. Distinctive:

    Use this compact outcome format:

    line 188

≈ “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.

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

README Skill

Create accurate, readable GitHub README files by grounding every external claim in repository evidence or explicit user confirmation. Establish value first, provide a fast path to use, then route readers to deeper documentation.

Non-negotiable rules

  • Drafts are shown in the conversation by default; do not create a draft file automatically.
  • Do not create or modify README.md, README.zh-CN.md, or any other README until the user explicitly asks to write or update it.
  • If the user wants a saved draft, use the exact target path they provide; otherwise ask for one. Do not invent a draft filename.
  • Never invent commands, APIs, links, badges, performance claims, compatibility promises, release data, community locations, license terms, architecture components, data flows, or repository ownership.
  • Never expose API keys in README content, commands committed to a repository, source files, or image URLs. Examples may reference environment variables only.
  • Every README draft must include a Quick Start section that shows the shortest verified path from availability or installation to a useful result. If that path cannot be verified from repository evidence or user confirmation, ask for the missing first-use details; do not invent, leave empty, or omit the section.
  • When the first discovery scan finds an existing README, stop and ask the user to choose one handling mode: 1) Replace completely — ignore all existing README information; 2) Replace with selected existing information — rewrite while retaining only user-approved accurate content; 3) Extend existing README — preserve the existing README and add or improve content in place. Do not infer the mode from the original request.
  • Prefer questions with multiple explicit options. Use a selectable list whenever the decision can be reasonably anticipated; offer a free-form “Other” choice only when the available options cannot cover the user’s intent.
  • Keep a clear separation between Verified from repository, Confirmed by user, Uncertain, and Missing information.
  • Do not copy another repository’s wording, project-specific commands, branding, or content. Use only general information architecture and writing principles.
  • Do not use emoji in generated README files. Keep visual guidance limited to verified image assets, badges, and source-backed ASCII diagrams.
  • Center the header identity band by default: optional visual, project name, one-line positioning, language switch, and badges. Use <h1 align="center"> for the title and a separate <p align="center"> for each other block. Everything from the first ## heading down stays left-aligned — never center headings, prose, tables, lists, code blocks, or ASCII diagrams. Follow the centered header standard in README structure guidance.
  • Include an architecture diagram only when the repository evidence or the user confirms its components, boundaries, and relationships. Architecture diagrams are ASCII Art in a fenced text block—never Mermaid.
  • Include a usage example only when the user supplies or confirms the example’s prose, image/assets, code or commands, expected result, placement, and language. Do not turn an unverified idea into a public example.

ASCII Architecture Diagram Standard

Use this standard only for a source-backed optional ## Architecture section. Put it immediately after Highlights and before an optional Usage Example. Never use Mermaid, Mermaid fences, or Mermaid syntax.

Allowed symbols

boxes:       ┌─┐ │ └─┘
arrows:      ──▶  ◀──  ──▷  ↑ ↓ ←  →
double line: ═══  ║
labels:      Place a label on or above an arrow, for example ──[HTTP]──▶

Layout examples

Single layer:

┌─────────┐     ┌─────────┐     ┌──────────┐
│  Client │────▶│   API   │────▶│ Database │
└─────────┘     └─────────┘     └──────────┘

Grouped or layered:

┌─────────────────────────────────┐
│             Backend             │
│  ┌──────────┐  ┌─────────────┐  │
│  │   Auth   │  │  Business   │  │
│  │ Service  │  │   Service   │  │
│  └──────────┘  └─────────────┘  │
└─────────────────────────────────┘

Labeled arrows:

┌─────────┐  REST/HTTPS  ┌─────────┐  SQL  ┌──────────┐
│  Client │─────────────▶│   API   │──────▶│ Postgres │
└─────────┘              └─────────┘       └──────────┘
                               │
                          gRPC │
                               ▼
                         ┌─────────┐
                         │  Cache  │
                         │ (Redis) │
                         └─────────┘

Diagram rules

  • Use a fenced text block so GitHub preserves alignment.
  • Keep box widths aligned and boxes on the same layer at the same height.
  • Prefer a horizontal layout; switch to vertical only when the hierarchy needs it.
  • Place arrow labels above or on the connecting line.
  • Draw only verified or user-confirmed components, boundaries, and flows. Omit the entire section when those facts are missing.

Workflow

1. Discover repository facts first

Perform a bounded scan. Do not read the entire codebase without a README-specific reason.

  1. Determine whether the directory is a Git repository; inspect the root file list and, when available, the configured remote URL.
  2. Read existing README variants, LICENSE*, contribution and security files, plus the docs index.
  3. Read only manifests that are present, such as package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, or language-equivalent metadata.
  4. Inspect CI, release/publishing, deployment configuration, examples, and public entry points only when needed to verify installation, first use, platform support, architecture, usage examples, or documentation links.
  5. If any README variant exists, ask the user to choose its handling mode before drafting:
    • 1) Replace completely: write a new README without using any information from the existing README.
    • 2) Replace with selected existing information: write a new README, retaining only accurate existing content that the user approves.
    • 3) Extend existing README: preserve the existing README structure and accurate content, then add or improve content in place.
  6. Build a fact ledger before drafting:
StatusMeaning
Verified from repositoryDirectly supported by a local file, manifest, CI configuration, or configured remote.
Confirmed by userExplicitly supplied or approved by the user.
UncertainPlausible but not safe to state publicly without confirmation.
MissingNeeded for a desired section but not discoverable.

If no remote repository can be verified, say so. Do not assume an owner, repository URL, public demo, release page, community, hosting provider, or architecture.

2. Load only applicable guidance

  • Before selecting sections or composing prose, read README structure guidance.
  • When badges are requested or evaluated, read badge guidance.
  • When images are requested, read image guidance.
  • Before presenting a final draft and again before writing files, read quality checklist.
  • After project type and language layout are known, read only the relevant template(s) in templates/.

3. Ask only for decisions that evidence cannot answer

Ask one question at a time. Present the decision as a list of explicit options whenever practical; include a free-form “Other” option only when necessary. Do not repeat information already verified or answered.

  1. If an existing README was found during discovery, ask the user to choose the handling mode described above before asking later content preferences.
  2. Ask for the language layout: English, English plus Simplified Chinese, or Chinese.
    • For bilingual output, README.md is the English primary GitHub landing page and README.zh-CN.md is the Chinese version.
    • For Chinese-only output, explain that GitHub displays root README.md by default and ask whether Chinese should be the primary page.
  3. Ask whether the user wants Shields.io badge recommendations.
    • Offer explicit choices such as include verified recommendations, omit badges, or Other.
    • If the repository contains a verified LICENSE* file, recommend a linked static License badge by default as part of the verified badge set; let the user approve or remove it.
    • Recommend only badges whose claims and destinations are verifiable, then let the user approve, remove, or add items.
  4. Ask whether to include an ASCII architecture diagram.
    • Offer include a source-backed ASCII diagram, omit it, or Other.
    • If included, confirm the components, group boundaries, relationships, and labels from repository evidence or the user before drawing it.
  5. Ask whether to include a usage example.
    • Offer include a supplied example, omit it, or Other.
    • If included, collect confirmed example prose, image/assets, code or commands, expected result, preferred placement, and language. Verify local image paths before referencing them and never expose credentials.
  6. Use the centered header by default. Ask only when the user requests a different look; offer centered header with minimal HTML, plain left-aligned Markdown header, or Other.
  7. Ask whether imagery is wanted.
    • Offer no image, use an existing asset, or generate a new image.
    • If yes, ask whether existing assets are available.
    • If no assets are available, ask whether the visual should be icon only, icon plus one short line, or icon plus project name and one short line.
    • If the user chooses an OpenAI image service, ask for the API URL and API key (or the names of environment variables that already contain them) before generating anything. Do not guess an endpoint, model, response format, or output location.
    • Use scripts/generate-image.py for the generation request. Pass credentials through environment variables or process arguments only; never write them to the repository, README, prompt, image URL, or command committed to Git.
    • Verify the generated local asset before adding its path to a README. If generation fails, show the provider-neutral prompt and report the failure rather than inventing an image reference.
  8. Ask whether to add a Star History chart.
    • Offer include it, omit it, or Other.
    • Include it only after user confirmation and only when a public GitHub owner/repo identifier can be verified from the remote URL or supplied by the user.
    • Place it after Community & support and immediately before License.
    • State that it embeds a third-party dynamic SVG for a public GitHub repository; omit it if the repository is private, the owner/repo is uncertain, or the user declines.
  9. Ask only for remaining public information that cannot be verified: target audience, key emphasis, documentation site, demo, community, contribution route, FAQ, roadmap, citation, or security policy.

4. Compose the draft

Use the relevant structure and template, then remove every inapplicable section except Quick Start. A Quick Start must remain in every draft and use the shortest verified first-use path; if no such path exists, ask the user for it before presenting a final draft. Prefer short, evidence-led prose and a useful first-run experience over exhaustive feature lists.

When selected and supported, preserve this order near the beginning of every README:

Highlights → optional Architecture → optional Usage Example → Quick Install → Quick Start

Before any file write, present:

  1. A concise structural recommendation.
  2. Complete Markdown draft(s) for each selected language file.
  3. The fact ledger and list of user-confirmed details.
  4. Proposed badges and each badge’s data source.
  5. The source-backed ASCII architecture diagram when requested.
  6. Usage-example content, provenance, and placement when requested.
  7. Image placement and generation recommendations, when requested.
  8. Star History placement and the verified owner/repo, when requested.
  9. If a README already exists, an explicit keep / move / merge / remove summary.

5. Write only after explicit confirmation

A request to draft, improve, review, or show a README is not permission to write files. Write only after the user explicitly asks to write, update, replace, or save to named target paths.

Immediately before writing, state every target file and what will change:

  • English: README.md.
  • Bilingual: README.md and README.zh-CN.md.
  • Chinese: use the user-confirmed primary path.
  • Saved draft: only the user-specified path.

For existing files, retain useful, still-accurate content where possible. Do not silently discard content; explain material moves, merges, or removals. After writing, run the quality checklist against the actual files.

Final report

Use this compact outcome format:

Files changed:
- <path and purpose, or “None — draft shown in conversation only”>

Verified:
- <facts, commands, paths, links, or badge sources>

Needs confirmation:
- <unverified public information or manual checks>

Not included:
- <sections, badges, images, or charts omitted because they were unverified or declined>

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.