Create-Tldr-Page
Create-Tldr-Page是一款learning方向的AI技能,核心价值是Create a tldr page from documentation URLs and command examples, requiring both URL and command name,可用于解决开发者在learning领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。
Create a tldr page from documentation URLs and command examples, requiring both URL and command name.
mkdir -p ./skills/create-tldr-page && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/create-tldr-page/SKILL.md -o ./skills/create-tldr-page/SKILL.md Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).
Skill Content
# 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:
* [git](https://raw.githubusercontent.com/jhauga/tldr/refs/heads/main/pages/common/git.md)
* [distrobox-create](https://raw.githubusercontent.com/jhauga/tldr/refs/heads/main/pages/linux/distrobox-create.md)
* [nmcli](https://raw.githubusercontent.com/jhauga/tldr/refs/heads/main/pages/linux/nmcli.md)
Expected Output Using Example
**User**
/create-tldr-page #fetch https://git-scm.com/docs/git git**Agent**
🎯 Best For
- Technical writers
- API documentation teams
- UI designers
- Product designers
- Claude users
💡 Use Cases
- Generating JSDoc/TSDoc comments
- Writing README files for new projects
- Generating component mockups
- Creating design system tokens
📖 How to Use This Skill
- 1
Install the Skill
Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.
- 2
Load into Your AI Assistant
Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.
- 3
Apply Create-Tldr-Page to Your Work
Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.
- 4
Review and Refine
Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.
❓ Frequently Asked Questions
Does it follow my documentation style?
Most documentation skills respect existing style. Provide a style guide or example in your prompt.
Does this work with Figma?
Some design skills integrate with Figma plugins. Check the Works With section for supported tools.
How do I install Create-Tldr-Page?
Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/create-tldr-page/SKILL.md, ready to use.
Can I customize this skill for my team?
Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.
⚠️ Common Mistakes to Avoid
Auto-generating without reviewing
AI documentation can contain inaccuracies. Always verify technical accuracy.
Skipping usability testing
AI-generated designs should be validated with real users before development.
Not reading the full skill
Skills contain important context and edge cases beyond the quick start.