agentsclimarketplace

Generate readme

Skill tranviet0710/agent-skills/.github/skills/generate-readme

Generate a README.md file based on an existing implementation. Use when: writing a README, documenting a feature, create README from code, generate docs from implementation, document a project or folder.From its SKILL.md

Install
npx -y skills add tranviet0710/agent-skills --skill generate-readme

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.6 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

Generate README from Implementation

When to Use

Invoke this skill when the user says:

  • "generate a README for this"
  • "create a README based on the implementation"
  • "document this feature / module / project"
  • "write a README for [folder]"
  • "generate docs from the code"

Procedure

Step 1 — Locate the Implementation

  1. Identify the target scope: a folder, a single file, or the entire workspace root.
  2. List all files in the target scope (recursively if a folder).
  3. Read the key source files — entry points, main modules, config files, and any existing partial docs.
  4. If a TASKS.md or PLAN.md exists in the same folder, read it for context on intent and scope.

Step 2 — Extract Key Information

While reading the code, collect the following details:

CategoryWhat to look for
PurposeWhat problem does this solve? What is the main feature/module?
Inputs / OutputsCLI args, function params, API endpoints, events consumed/produced
ConfigurationEnvironment variables, config files, feature flags
DependenciesExternal packages, services, or APIs relied upon
Usage examplesInvocation patterns, code snippets, sample commands
Folder structureNotable sub-folders and their roles
Setup / InstallationBuild steps, install commands, prerequisites
Limitations / NotesKnown edge cases, TODOs, constraints

Step 3 — Ask Clarifying Questions

Before writing, ask the user about anything that cannot be reliably inferred from the code:

  • Target audience (internal devs, open-source contributors, end users)?
  • Should usage examples be included? If so, in what language/format?
  • Is there a specific README template or style guide to follow?
  • Any sections to include or explicitly omit?
  • License to include?

If all details are clear from the code and context, state: "The implementation is clear — no questions. Proceeding to generate README."

Wait for the user's answers before writing the file.

Step 4 — Write README.md

Create (or overwrite) README.md in the same folder as the target implementation, using the structure below. Omit any section where the information genuinely does not apply.

# <Project / Feature Name>

> <One-line description of what this does and why it exists.>

## Table of Contents

- [Overview](#overview)
- [Features](#features)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Folder Structure](#folder-structure)
- [API / Interface Reference](#api--interface-reference)
- [Examples](#examples)
- [Contributing](#contributing)
- [License](#license)

---

## Overview

<2-4 sentences explaining the problem this solves and the approach taken.>

## Features

- <Feature 1>
- <Feature 2>
- ...

## Prerequisites

- <Runtime / tool with minimum version>
- <Any required service or credential>

## Installation

```bash
# Example install commands derived from package.json / Makefile / etc.
npm install

Usage

# Primary invocation / entry-point command
<Short explanation of the happy-path workflow.>

Configuration

Variable / KeyDefaultDescription
ENV_VAR_NAMEvalueWhat it controls

Folder Structure

<root>/
├── src/           # Source files
├── tests/         # Test suites
└── ...

API / Interface Reference

functionOrEndpointName(param: Type): ReturnType

<Description, param table, return value, example call.>

Examples

// Concrete usage example

Contributing

<How to run tests, lint, and submit changes.>

License

<License name and link, or "Internal use only.">


### Step 5 — Validate & Report

1. Re-read the generated `README.md` and verify:
   - Every section references only real, confirmed details from the code.
   - No placeholder text (e.g., `<Your text here>`) remains unfilled.
   - Code blocks use the correct language tag.
   - Markdown renders cleanly (no broken links, no orphan headings).
2. If any section is still unknown, either omit it or add a `<!-- TODO: ... -->` comment with a clear note.
3. Report to the user: list every section that was written, and any that were skipped and why.

What ships with it: 1 file

2.2 KB alongside SKILL.md

Gives 0 of the 12 instructions most readme changelog skills give in ~1.0k tokens

Counted across 472 of the 478 authors here whose files we hold, read 2026-08-07

  • Follow the keep a changelog formatin 31 of 472, across 26 files
  • Run from the git repository rootin 20 of 472, across 7 files
  • Save output directly to CHANGELOG.mdin 20 of 472, across 7 files
  • Group commits into logical categoriesin 19 of 472, across 6 files
  • Review the generated changelog before publishingin 19 of 472, across 6 files
  • Omit empty sectionsin 19 of 472
  • Apply changelog guidelines and brand voicein 18 of 472, across 5 files
  • Exclude internal commits like refactoring and testsin 18 of 472, across 5 files
  • Specify date ranges for focused changelogsin 17 of 472, across 4 files
  • Convert technical commits into customer languagein 17 of 472, across 4 files
  • Provide a migration guide for breaking changesin 15 of 472, across 10 files
  • Group commits by conventional commit typein 13 of 472

Said here and by no other author read

  • Identify the target scope of the implementation
  • Read key source files and existing documentation
  • Extract project metadata and usage details from code
  • Wait for user answers before writing the file
  • Write the README in the target folder
  • Verify all details against the source code

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,506. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.