agentleFS
weininghuiweininghui/skills/readme-generator/SKILL.md

readme-generator

Skill1 starsChanged 3 months agoMITView on GitHub

Auto-generate comprehensive README.md files by analyzing project structure and configuration.

  • Installs packages

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use changelog-writer and api-designer.

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.
  • zbruhnkeSkill

    changelog-writer

    Maintain CHANGELOG.md with properly categorized entries. Use after implementing features, fixing bugs, or making any notable changes. Follows Keep a Changelog format.

    Also in 3 projects that use this

  • AutumnsGroveSkill

    api-designer

    Design and document RESTful and GraphQL APIs with OpenAPI/Swagger specifications, authentication patterns, versioning strategies, and best practices. Use for: (1) Creating API specifications, (2) Designing REST endpoints, (3) GraphQL schema design, (4) API authentication and authorization, (5) API versioning strategies, (6) Documentation generation

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 5

    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:

    No API keys or external services needed

    line 12
  2. Distinctive:

    If no README.md exists → save as README.md

    line 69
  3. Very specific:

    If README.md exists → save as README.generated.md and let user decide

    line 70
  4. Distinctive:

    Always ask before overwriting an existing README

    line 71
  5. Distinctive:

    Don't fabricate: Only document what actually exists in the project.

    line 82
  6. Distinctive:

    Code examples: Use actual file names and real commands from the project.

    line 84

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

README Generator

Analyze a project directory and generate a complete, useful README.md.

Requirements

  • File system access to the target project
  • No API keys or external services needed

Instructions

Step 1: Scan the project

# Project structure (exclude noise)
find . -maxdepth 3 -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/__pycache__/*' -not -path '*/venv/*' -not -path '*/.venv/*' | head -80

# Package metadata
cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat Cargo.toml 2>/dev/null || cat go.mod 2>/dev/null

# Available scripts/commands
jq '.scripts' package.json 2>/dev/null

# License detection
ls LICENSE* LICENCE* 2>/dev/null

# Entry points
ls src/index.* src/main.* main.* app.* cli.* 2>/dev/null

Step 2: Read key files (first 50 lines each)

  • Main entry point
  • Config files (tsconfig, pyproject, etc.)
  • Existing README (to preserve intent)

Step 3: Generate README with this structure

# Project Name
Brief description.

## Features
- Key feature list

## Installation
Steps to install (npm install, pip install, etc.)

## Usage
CLI examples and/or programmatic usage with code blocks.

## API Reference (if applicable)
Document exported functions/endpoints.

## Project Structure
Tree view with brief descriptions of key files.

## Development
Clone, install, test, contribute steps.

## License
Detected license type.

Step 4: Save output

  • If no README.md exists → save as README.md
  • If README.md exists → save as README.generated.md and let user decide
  • Always ask before overwriting an existing README

Edge Cases

  • Monorepo: Detect multiple package.json/go.mod files. Generate root README with links to sub-packages.
  • Empty project: Generate minimal README with project name and setup placeholder.
  • Non-English comments: Generate README in English regardless of code comments language.
  • Private/internal projects: Skip "Publishing" sections; focus on development setup.

Tips

  • Don't fabricate: Only document what actually exists in the project. Don't invent features.
  • Be practical: Installation and usage sections are the most valuable — prioritize them.
  • Code examples: Use actual file names and real commands from the project.
  • Adapt section depth to project complexity (small script → short README).

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.