agentleFS
glinckerglincker/claude-code-marketplace/skills/documentation/readme-generator/SKILL.md

readme-generator

Skill37 starsChanged 13 months agoApache-2.0View on GitHub

Generates comprehensive README.md files for software projects by analyzing codebase structure

  • 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

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 17 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 17

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When generating a README, follow these steps:

    line 27
  2. Very specific:

    Use Glob to find key files: package.json, pyproject.toml, Cargo.toml, go.mod, etc.

    line 32
  3. Distinctive:

    Use Glob to identify main source directories

    line 33
  4. Distinctive:

    Use Read to examine configuration files

    line 34
  5. Distinctive:

    Use Grep to find test files and CI configuration

    line 35
  6. Distinctive:

    Create a README.md with these sections (adapt based on project type):

    line 48
  7. Distinctive:

    Use this style for generated READMEs:

    line 69
  8. Distinctive:

    Write it to README.md

    line 80
  9. Very specific:

    Read pyproject.toml or setup.py

    line 93
  10. Very specific:

    Check for requirements.txt, Pipfile

    line 94
  11. Very specific:

    Look for test files in tests/ or *_test.py

    line 95
  12. Very specific:

    Read package.json for name, description, scripts

    line 108
  13. Very specific:

    Check for TypeScript (tsconfig.json)

    line 110
  14. Distinctive:

    Look for test configuration (Jest, Mocha)

    line 111
  15. Distinctive:

    Grep: Search for patterns (tests, CI, etc.)

    line 134
  16. Distinctive:

    Write: Create the README.md file

    line 135
  17. Distinctive:

    Does not analyze actual code logic for features

    line 143
  18. Distinctive:

    When using this skill:

    line 147
  19. Distinctive:

    Run from project root: Ensure you're in the main project directory

    line 149
  20. Distinctive:

    Review before writing: Check generated content before writing to file

    line 150
  21. Distinctive:

    Customize: Treat output as a template, add project-specific details

    line 151
  22. Distinctive:

    Backup existing: If README.md exists, back it up first

    line 153
  23. Distinctive:

    No project files found: Ask user to confirm working directory

    line 157

“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

Automatically generates professional, comprehensive README.md files by analyzing your project structure, dependencies, and code patterns.

What This Skill Does

This skill helps you create high-quality README files by:

  • Analyzing project structure and identifying key components
  • Detecting programming languages and frameworks
  • Finding configuration files (package.json, requirements.txt, etc.)
  • Identifying test frameworks and CI/CD setup
  • Generating appropriate sections with relevant content
  • Following README best practices

Instructions

When generating a README, follow these steps:

1. Project Discovery

First, analyze the project structure:

  • Use Glob to find key files: package.json, pyproject.toml, Cargo.toml, go.mod, etc.
  • Use Glob to identify main source directories
  • Use Read to examine configuration files
  • Use Grep to find test files and CI configuration

2. Content Analysis

Based on findings, determine:

  • Project type (library, application, CLI tool, etc.)
  • Primary programming language(s)
  • Dependencies and frameworks
  • Build and test commands
  • License type (from LICENSE file)

3. README Generation

Create a README.md with these sections (adapt based on project type):

Required Sections:

  • Title and Description: Project name and one-line summary
  • Features: Key functionality (if applicable)
  • Installation: How to install/set up
  • Usage: Basic usage examples
  • License: License information

Optional Sections (include if relevant):

  • Prerequisites: Required software/tools
  • Development: How to set up for development
  • Testing: How to run tests
  • Contributing: Contribution guidelines
  • API Documentation: For libraries
  • Screenshots: For applications with UI
  • Roadmap: Future plans
  • Acknowledgments: Credits and thanks

4. Writing Style

Use this style for generated READMEs:

  • Clear, concise language
  • Active voice
  • Code blocks with proper syntax highlighting
  • Badge shields for status indicators (if CI/CD detected)
  • Emoji sparingly (only if user requests)
  • Professional but approachable tone

5. Output

Present the generated README to the user and offer to:

  • Write it to README.md
  • Make adjustments based on feedback
  • Add additional sections

Examples

Example 1: Python Project

User Request: "Generate a README for this Python project"

Workflow:

  1. Glob for Python files: **/*.py
  2. Read pyproject.toml or setup.py
  3. Check for requirements.txt, Pipfile
  4. Look for test files in tests/ or *_test.py
  5. Generate README with:
    • Installation via pip
    • Python version requirements
    • Virtual environment setup
    • Testing with pytest/unittest

Example 2: Node.js Project

User Request: "Create a README for my npm package"

Workflow:

  1. Read package.json for name, description, scripts
  2. Identify framework (React, Vue, Express, etc.)
  3. Check for TypeScript (tsconfig.json)
  4. Look for test configuration (Jest, Mocha)
  5. Generate README with:
    • npm/yarn installation
    • Available scripts
    • API documentation (for packages)
    • Usage examples

Configuration

This skill adapts to project type:

Project TypeKey FilesFocus Areas
Pythonpyproject.toml, setup.pypip install, virtual env
Node.jspackage.jsonnpm install, scripts
RustCargo.tomlcargo build, features
Gogo.modgo get, modules
GenericNoneBasic structure

Tool Requirements

  • Read: Examine configuration and source files
  • Glob: Find relevant files across project
  • Grep: Search for patterns (tests, CI, etc.)
  • Write: Create the README.md file

Limitations

  • Cannot include screenshots (user must add manually)
  • May miss custom build processes not in standard files
  • Generates starting point - user should review and customize
  • Works best with standard project structures
  • Does not analyze actual code logic for features

Best Practices

When using this skill:

  1. Run from project root: Ensure you're in the main project directory
  2. Review before writing: Check generated content before writing to file
  3. Customize: Treat output as a template, add project-specific details
  4. Update regularly: Regenerate when project structure changes significantly
  5. Backup existing: If README.md exists, back it up first

Error Handling

  • No project files found: Ask user to confirm working directory
  • Multiple languages detected: Generate sections for each, note polyglot nature
  • Existing README: Prompt user before overwriting, offer to merge
  • Missing key info: Generate placeholder sections with TODO markers

Related Skills

  • changelog-generator - Create CHANGELOG.md
  • api-doc-generator - Generate API documentation
  • license-picker - Add license files

Changelog

Version 1.0.0 (2025-01-13)

  • Initial release
  • Support for Python, Node.js, Rust, Go projects
  • Automatic dependency detection
  • Standard section generation

Contributing

Found a bug or want to add support for a new project type? Please:

  1. Open an issue with details
  2. Submit a PR with improvements
  3. Follow Contributing Guidelines

License

Apache License 2.0 - See LICENSE

Author

GLINCKER Team

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.