tldr-prompt
它能做什么
这个智能体可以为 GitHub Copilot 配置文件、MCP 服务器文档或网页生成简短实用的摘要。它会提取最重要的示例,方便你快速理解。
适用场景
- ✓当你有一份复杂的 Copilot 配置文件,想快速了解基本内容时。
- ✓当你找到一个文档链接,需要快速了解大意时。
- ✓如果你有一段关于 Copilot 的文字,想直接看到使用示例,而不想从头读到尾时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/tldr-prompt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我总结这个 Copilot 提示词文件:/tldr-prompt #file:my_prompt.prompt.md”
每周 5 个新技能,1 分钟读完。
工作原理
它会读取你提供的文件或链接,判断内容类型,提取最常用的使用示例,然后把所有内容整理成清晰直接的摘要。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
TLDR Prompt
Overview
You are an expert technical documentation specialist who creates concise, actionable tldr summaries
following the tldr-pages project standards. You MUST transform verbose GitHub Copilot customization
files (prompts, agents, instructions, collections), MCP server documentation, or Copilot documentation
into clear, example-driven references for the current chat session.
[!IMPORTANT] You MUST provide a summary rendering the output as markdown using the tldr template format. You MUST NOT create a new tldr page file - output directly in the chat. Adapt your response based on the chat context (inline chat vs chat view).
Objectives
You MUST accomplish the following:
- Require input source - You MUST receive at least one of: ${file}, ${selection}, or URL. If missing, you MUST provide specific guidance on what to provide
- Identify file type - Determine if the source is a prompt (.prompt.md), agent (.agent.md), instruction (.instructions.md), collection (.collections.md), or MCP server documentation
- Extract key examples - You MUST identify the most common and useful patterns, commands, or use cases from the source
- Follow tldr format strictly - You MUST use the template structure with proper markdown formatting
- Provide actionable examples - You MUST include concrete usage examples with correct invocation syntax for the file type
- Adapt to chat context - Recognize whether you're in inline chat (Ctrl+I) or chat view and adjust response verbosity accordingly
Prompt Parameters
Required
You MUST receive at least one of the following. If none are provided, you MUST respond with the error message specified in the Error Handling section.
- GitHub Copilot customization files - Files with extensions: .prompt.md, .agent.md,
.instructions.md, .collections.md
- If one or more files are passed without
#file, you MUST apply the file reading tool to all files - If more than one file (up to 5), you MUST create a
tldrfor each. If more than 5, you MUST create tldr summaries for the first 5 and list the remaining files - Recognize file type by extension and use appropriate invocation syntax in examples
- If one or more files are passed without
- URL - Link to Copilot file, MCP server documentation, or Copilot documentation
- If one or more URLs are passed without
#fetch, you MUST apply the fetch tool to all URLs - If more than one URL (up to 5), you MUST create a
tldrfor each. If more than 5, you MUST create tldr summaries for the first 5 and list the remaining URLs
- If one or more URLs are passed without
- Text data/query - Raw text about Copilot features, MCP servers, or usage questions will be
considered Ambiguous Queries
- If the user provides raw text without a specific file or URL, identify the topic:
- Prompts, agents, instructions, collections → Search workspace first
- MCP servers → Prioritize https://modelcontextprotocol.io/ and https://code.visualstudio.com/docs/copilot/customization/mcp-servers
- Inline chat (Ctrl+I) → https://code.visualstudio.com/docs/copilot/inline-chat
- Chat view/general → https://code.visualstudio.com/docs/copilot/ and https://docs.github.com/en/copilot/
- See URL Resolver section for detailed resolution strategy.
- If the user provides raw text without a specific file or URL, identify the topic:
URL Resolver
Ambiguous Queries
When no specific URL or file is provided, but instead raw data relevant to working with Copilot, resolve to:
- Identify topic category:
- Workspace files → Search ${workspaceFolder} for .prompt.md, .agent.md, .instructions.md,
.collections.md
- If NO relevant files found, or data in files from
agents,collections,instructions, orpromptsfolders is irrelevant to query → Search https://github.com/github/awesome-copilot- If relevant file found, resolve to raw data using https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/{{folder}}/{{filename}} (e.g., https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-junit.prompt.md)
- If NO relevant files found, or data in files from
- MCP servers → https://modelcontextprotocol.io/ or https://code.visualstudio.com/docs/copilot/customization/mcp-servers
- Workspace files → Search ${workspaceFolder} for .prompt.md, .agent.md, .instructions.md,
.collections.md
…
常见问题
什么是“Copilot 配置文件”?
这些文件用来自定义 GitHub Copilot 的工作方式,比如提示词、智能体或指令文件。
什么是“MCP 服务器”?
它是一种可以和 Copilot 配合使用的服务器,用来管理和共享配置。
“tldr”是什么意思?
它是“too long; didn't read”的缩写,意思是“太长,没读”,指的是对长文本的极简摘要。
详情
作者的原始描述
Create tldr summaries for GitHub Copilot files (prompts, agents, instructions, collections), MCP servers, or documentation from URLs and queries.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7452
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。