agentleFS
Sammar03Sammar03/markdown/SKILL.md

markdown

Skill0 starsChanged 4 months agoMITView on GitHub

Write or refresh a project's README.md by exploring the actual codebase to find what's true (not just reformatting whatever docs already exist), capturing screenshots from a live demo or running local instance when one is available, and writing the file directly into the project's repo root. Use this skill whenever the user asks to create, write, generate, update, refresh, or polish a README for a project or repo, asks to "document this project," "write docs for my repo," "make this repo presentable," or "add a readme like my other projects," even if they never say the word "README." Also trigger when a user points at a project folder and asks what to tell people about it, asks for installation/usage instructions for something they built, or wants a GitHub-style project page with a table of contents and screenshots.

  • Reads credentials

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use changeset, typescript 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.
  • MaxGfellerSkill

    changeset

    Draft a Changesets file for modified public packages in this repo.

    Also in 3 projects that use this

  • MicrosoftSkill

    typescript

    TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.

    Also in 4 projects that use this

  • AnthropicSkill

    documentation

    Write and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when the user needs help with any form of technical writing — API docs, architecture docs, or operational runbooks.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before writing anything, read the manifest (package.json, pyproject.toml, requirements.txt, go.mod, Cargo.toml, etc.) for real …

    line 14
  2. Distinctive:

    If a README already exists, treat it as a *hint*, not a source.

    line 19
  3. Distinctive:

    If the project is genuinely opaque from static reading, ask the user one or two direct questions rather than guess.

    line 24
  4. Distinctive:

    Don't force the same sections on every project.

    line 29
  5. Distinctive:

    Keep the back-to-top links and details/summary table of contents for anything past 3-4 sections.

    line 67
  6. Distinctive:

    URL/local instance available, and a browser tool exists: use it for 3-6 real, meaningful flows (not just the landing page).

    line 76
  7. Very specific:

    Read references/writing-style.md before drafting, not just skim it.

    line 92
  8. Distinctive:

    Use actual runnable commands, filenames, and port numbers from Step 1.

    line 96
  9. Very specific:

    Write README.md (and images/ if applicable) directly into the project's repo root, next to the manifest from Step 1, not to a staging or …

    line 101
  10. Distinctive:

    If the folder isn't writable, isn't clearly identified, or there are multiple candidates, ask before writing rather than guessing a …

    line 105
  11. Very specific:

    Do all image paths point to files that actually exist in images/?

    line 114

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

markdown

A README earns its place if a stranger can read it and know, in under a minute, what the project does and how to run it. Skip a step only when it genuinely doesn't apply, not because it's easier to skip.

Step 1: Ground truth is the code, not old docs

Before writing anything, read the manifest (package.json, pyproject.toml, requirements.txt, go.mod, Cargo.toml, etc.) for real dependencies, scripts, and entry points; skim the main source files and folder structure; check .env.example for real env var names; check docker-compose.yml/Makefile/CI config for real ports and build commands.

If a README already exists, treat it as a hint, not a source. Old READMEs drift: a changed port, a setup step nobody updated, a cut feature. Verify every concrete claim (commands, ports, env vars, prerequisites) against the code before reusing it. If a claim can't be verified, say so to the user instead of carrying it forward silently.

If the project is genuinely opaque from static reading, ask the user one or two direct questions rather than guess.

Step 2: Sections adapt to the project, not the other way around

Don't force the same sections on every project. A CLI doesn't need a dev-server walkthrough; a library needs an API reference more than Usage screenshots; a hosted-only tool may need no local install steps at all.

A default shape to start from, then adjust:

<a id="readme-top"></a>

# Project name

One or two sentences: what it does, for whom, grounded in a real capability (not "a powerful
tool for X").

- Live demo / deployed link, if one exists
- The 1-3 things worth knowing up front

[optional: screenshot of the main screen]

<details><summary>Table of contents</summary>
... links to the sections that actually exist below ...
</details>

## Built with
Grouped by layer (frontend / backend / AI services / infra), only the layers that exist.

## Getting started
### Prerequisites
### Installation
Numbered, copy-pasteable, in the order a fresh clone actually needs them.

## Usage
Numbered walkthrough of real flows, each with a screenshot if a live/local demo was available.

[Add/replace: API Reference, Configuration, Architecture, Deployment, Contributing, License:
whatever a reader of *this* project actually needs.]

Keep the back-to-top links and details/summary table of contents for anything past 3-4 sections; drop both for a short single-screen README.

Step 3: Screenshots only when there's something to point a browser at

This skill runs across harnesses (Claude Code, Cowork, Codex CLI, Cursor, others), and each one exposes browser capability under a different tool name, if at all. Don't assume one; check what's actually available.

  • URL/local instance available, and a browser tool exists: use it for 3-6 real, meaningful flows (not just the landing page). Save to images/ at the project root with descriptive filenames (01-home.jpg, 02-submit-flow.jpg), reference with relative markdown paths. Read references/screenshot-capture.md for how to find the right tool per harness and the exact wording for the next case.
  • URL/instance available, but no browser tool exists here: different from no URL at all: the user gave you something to look at and you can't. Say so plainly in your final response (not buried in a transcript), finish without screenshots. Exact wording in references/screenshot-capture.md.
  • Nothing available at all: skip the section. No placeholder image, no ASCII mockup, no invented description of what a screenshot would show. Normal and fine for a CLI, library, or backend-only service.
  • Ambiguous (could run locally but isn't running): ask, don't assume.

Step 4: Write it

Read references/writing-style.md before drafting, not just skim it. It covers the exact filler patterns to avoid and what to write instead. This matters more here than in most docs: a README that reads like marketing copy makes a reader assume the project itself is thin.

Use actual runnable commands, filenames, and port numbers from Step 1. If you're not sure a command works, don't present it as if you ran it.

Step 5: Save it where the project lives

Write README.md (and images/ if applicable) directly into the project's repo root, next to the manifest from Step 1, not to a staging or output folder, so it's immediately visible and ready to commit.

If the folder isn't writable, isn't clearly identified, or there are multiple candidates, ask before writing rather than guessing a location.

Step 6: Self-check before calling it done

Reread as a stranger who's never seen the project:

  • Does the opening say what it does in one read, without hype words?
  • Would every "Installation" command actually work copy-pasted in order?
  • Do all image paths point to files that actually exist in images/?
  • Did you carry forward any unverified claim from an old README?
  • Literally text-search the draft for the em dash character (—) and replace every instance with a period, comma, colon, or parentheses. A general reread does not reliably catch a single punctuation mark; this is the single most common thing that slips through otherwise careful drafts, so it gets its own explicit pass.

Fix anything that fails before calling it done.

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.