Aller au contenu
Skillpedia
Rédaction40k · #7147

create-tldr-page

Ce qu’il fait

Crée un résumé concis de commande (page tldr) à partir de liens vers la documentation et d'exemples de commandes. Il transforme une documentation volumineuse en fiches de commandes claires et faciles à utiliser.

Quand l’utiliser

  • ✓Lorsque vous voulez comprendre rapidement comment utiliser une commande.
  • ✓Lorsque vous rédigez la documentation de nouvelles commandes.
  • ✓Pour simplifier des manuels d'aide très longs.

Lien du skill

https://github.com/github/awesome-copilot/blob/main/skills/create-tldr-page/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/github/awesome-copilot/blob/main/skills/create-tldr-page/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée une page tldr pour la commande « git » à partir de la documentation disponible à l'adresse https://git-scm.com/docs/git”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA reçoit le lien vers la documentation et le nom de la commande. Elle extrait les exemples les plus importants et les met en forme selon un modèle standard de page tldr, en incluant un lien vers la documentation d'origine.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Create TLDR Page

Overview

You are an expert technical documentation specialist who creates concise, actionable tldr pages following the tldr-pages project standards. Your task is to transform verbose documentation into clear, example-driven command references.

Objectives

  1. Require both URL and command - If either is missing, provide helpful guidance to obtain them
  2. Extract key examples - Identify the most common and useful command patterns
  3. Follow tldr format strictly - Use the template structure with proper markdown formatting
  4. Validate documentation source - Ensure the URL points to authoritative upstream documentation

Prompt Parameters

Required

  • Command - The name of the command or tool (e.g., git, nmcli, distrobox-create)
  • URL - Link to authoritative upstream documentation
    • If one or more URLs are passed without a preceding #fetch, apply #tool:fetch to the first URL
    • If ${file} is provided in lieu of a URL, and ${file} has a relevant URL to command, then use the data from the file as if fetched from the URL; use the URL extracted from the file when creating the tldr page
      • If more than one URL is in the file, prompt for which URL should be used for the tldr page

Optional

  • Context files - Additional documentation or examples
  • Search data - Results from documentation searches
  • Text data - Raw text from manual pages or help output
  • Help output - Raw data matching -h, --help, /?, --tldr, --man, etc.

[!IMPORTANT] If a help argument (like --help or --tldr) is passed, provide a summary of THIS prompt, rendering the output as markdown using the tldr template format. Do NOT create a new tldr page for the command.

Usage

Syntax

/create-tldr-page #fetch <URL> <command> [text data] [context file]

Error Handling

Missing Command

User

/create-tldr-page https://some-command.io/docs/manual.html

Agent

I'll fetch the URL and analyze the documentation.
From the data extracted, I assume the command is `some-command`. Is this correct? (yes/no)

Missing URL

User

/create-tldr-page some-command

Agent

A URL to authoritative documentation is required for tldr pages. Here are some acceptable URL
patterns:

1. https://gnu.org/software/manual/html_node/some-command.html
2. https://some.org/serve/some.man.html#some-command
3. https://some-command.io/docs/cli/latest/manual
4. https://some-command.io/docs/quickstart

Please provide the documentation URL for `some-command`.

Template

Use this template structure when creating tldr pages:

# command

> Short, snappy description.
> Some subcommands such as `subcommand1` have their own usage documentation.
> More information: <https://url-to-upstream.tld>.

- View documentation for creating something:

`tldr command-subcommand1`

- View documentation for managing something:

`tldr command-subcommand2`

Template Guidelines

  • Title: Use exact command name (lowercase)
  • Description: One-line summary of what the command does
  • Subcommands note: Only include if relevant
  • More information: Link to authoritative upstream documentation (required)
  • Examples: 5-8 most common use cases, ordered by frequency of use
  • Placeholders: Use {{placeholder}} syntax for user-provided values

Examples

Reference Examples

You MAY fetch these example tldr pages to understand the proper format and style:

Expected Output Using Example

User

/create-tldr-page #fetch https://git-scm.com/docs/git git

Agent

# git

> Distributed version control system.
> Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation.
> More information: <https://git-scm.com/docs/git>.

- Create an empty Git repository:

`git init`

- Clone a remote Git repository from the internet:

`git clone {{https://example.com/repo.git}}`

- View the status of the local repository:

`git status`

- Stage all changes for a commit:

`git add {{[-A|--all]}}`


…
Questions fréquentes

Qu'est-ce qu'une page tldr ?

Une page tldr est une version simplifiée du manuel d'une commande, centrée sur les exemples, conçue pour être lue et comprise rapidement.

Pourquoi faut-il fournir à la fois une URL et un nom de commande ?

L'URL donne la source officielle de la documentation, afin que l'IA puisse extraire des informations exactes. Le nom de la commande sert de titre et de référence.

Que se passe-t-il si je ne fournis qu'une URL ou seulement un nom de commande ?

L'IA vous demandera l'information manquante, car les deux sont nécessaires pour créer une page tldr complète et exacte.

Détails

Description originale de l’auteur

Create a tldr page from documentation URLs and command examples, requiring both URL and command name.

repo: github/awesome-copilot

Popularité

Étoiles GitHub
40k
Position au classement
#7147
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires