create-tldr-page
Skill này làm gì
Tạo một bản tóm tắt lệnh ngắn gọn (trang tldr) từ các URL tài liệu và ví dụ lệnh. Nó biến tài liệu dài thành các tham chiếu lệnh rõ ràng, dễ dùng.
Khi nào nên dùng
- ✓Khi bạn cần hiểu nhanh cách dùng một lệnh.
- ✓Khi bạn viết tài liệu cho các lệnh mới.
- ✓Khi bạn muốn đơn giản hóa các sách hướng dẫn dài.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/create-tldr-page/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy tạo một trang tldr cho lệnh “git” dựa trên tài liệu tại https://git-scm.com/docs/git”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI nhận đường dẫn tài liệu và tên lệnh. Nó trích xuất các ví dụ quan trọng nhất và định dạng chúng theo mẫu trang tldr chuẩn, kèm liên kết đến tài liệu gốc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Require both URL and command - If either is missing, provide helpful guidance to obtain them
- Extract key examples - Identify the most common and useful command patterns
- Follow tldr format strictly - Use the template structure with proper markdown formatting
- 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
tldrpage- If more than one URL is in the file, prompt for which URL should be used for the
tldrpage
- If more than one URL is in the file, prompt for which URL should be used for the
- If one or more URLs are passed without a preceding
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
--helpor--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]}}`
…
Câu hỏi thường gặp
Trang tldr là gì?
Trang tldr là một phiên bản đơn giản hóa của sách hướng dẫn lệnh, tập trung vào ví dụ và được thiết kế để đọc nhanh, dễ hiểu.
Tại sao tôi phải cung cấp cả URL và tên lệnh?
URL cung cấp nguồn tài liệu chính thức để AI lấy thông tin chính xác. Tên lệnh được dùng làm tiêu đề và để tham chiếu.
Điều gì xảy ra nếu tôi chỉ cung cấp URL hoặc chỉ tên lệnh?
AI sẽ hỏi thông tin còn thiếu, vì cần cả hai để tạo trang tldr đầy đủ và chính xác.
Chi tiết
Mô tả gốc của tác giả
Create a tldr page from documentation URLs and command examples, requiring both URL and command name.
repo: github/awesome-copilot
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7147
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.