Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

tldr-prompttldr 提示

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

207,648

周安装

8,433

GitHub Stars

31,711

下载量

65,184
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tldr-prompt(tldr 提示)
来源仓库:https://github.com/github/awesome-copilot
仓库路径:skills/tldr-prompt
安装命令:
npx skills add https://github.com/github/awesome-copilot --skill tldr-prompt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill tldr-prompt

简介

为 GitHub Copilot 文件、MCP 服务器和文档创建简洁的 tldr 摘要。

  • 将详细的 Copilot 自定义文件(.prompt.md、.agent.md、.instructions.md、.collections.md)、MCP 服务器文档和 URL 转换为示例驱动的 tldr 引用
  • 支持最多5个文件或URL的批量处理;通过搜索工作区或 GitHub Awesome-copilot 自动解决不明确的查询
  • 使用正确的调用语法生成 markdown 格式的 tldr 页面(/ 表示提示,@ 表示代理),每个源有 3-8 个实际示例
  • 根据聊天上下文(内联聊天与聊天视图)调整输出详细程度,并包括 MCP 服务器的设置说明

SKILL.md

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:

  1. 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
  2. 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
  3. Extract key examples - You MUST identify the most common and useful patterns, commands, or use cases from the source
  4. Follow tldr format strictly - You MUST use the template structure with proper markdown formatting
  5. Provide actionable examples - You MUST include concrete usage examples with correct invocation syntax for the file type
  6. 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 tldr for 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

  • 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 tldr for each. If more than 5, you MUST create tldr summaries for the first 5 and list the remaining URLs

  • 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 - If no relevant files found, check https://github.com/github/awesome-copilot and resolve to 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) - 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.

URL Resolver

Ambiguous Queries

When no specific URL or file is provided, but instead raw data relevant to working with Copilot, resolve to:

  1. 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, or prompts folders 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) - MCP servers → https://modelcontextprotocol.io/ or https://code.visualstudio.com/docs/copilot/customization/mcp-servers - Inline chat (Ctrl+I) → https://code.visualstudio.com/docs/copilot/inline-chat - Chat tools/agents → https://code.visualstudio.com/docs/copilot/chat/ - General Copilot → https://code.visualstudio.com/docs/copilot/ or https://docs.github.com/en/copilot/

  1. Search strategy:

- For workspace files: Use search tools to find matching files in ${workspaceFolder} - For GitHub awesome-copilot: Fetch raw content from https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/ - For documentation: Use fetch tool with the most relevant URL from above

  1. Fetch content:

- Workspace files: Read using file tools - GitHub awesome-copilot files: Fetch using raw.githubusercontent.com URLs - Documentation URLs: Fetch using fetch tool

  1. Evaluate and respond:

- Use the fetched content as the reference for completing the request - Adapt response verbosity based on chat context

Unambiguous Queries

If the user DOES provide a specific URL or file, skip searching and fetch/read that directly.

Optional

  • Help output - Raw data matching -h, --help, /?, --tldr, --man, etc.

Usage

Syntax

# UNAMBIGUOUS QUERIES
# With specific files (any type)
/tldr-prompt #file:{{name.prompt.md}}
/tldr-prompt #file:{{name.agent.md}}
/tldr-prompt #file:{{name.instructions.md}}
/tldr-prompt #file:{{name.collections.md}}

# With URLs
/tldr-prompt #fetch {{https://example.com/docs}}

# AMBIGUOUS QUERIES
/tldr-prompt "{{topic or question}}"
/tldr-prompt "MCP servers"
/tldr-prompt "inline chat shortcuts"

Error Handling

Missing Required Parameters

User

/tldr-prompt

Agent Response when NO Required Data

Error: Missing required input.

You MUST provide one of the following:
1. A Copilot file: /tldr-prompt #file:{{name.prompt.md | name.agent.md | name.instructions.md | name.collections.md}}
2. A URL: /tldr-prompt #fetch {{https://example.com/docs}}
3. A search query: /tldr-prompt "{{topic}}" (e.g., "MCP servers", "inline chat", "chat tools")

Please retry with one of these inputs.

AMBIGUOUS QUERIES

Workspace Search

[!NOTE] First attempt to resolve using workspace files. If found, generate output. If no relevant files found, resolve using GitHub awesome-copilot as specified in URL Resolver section.

User

/tldr-prompt "Prompt files relevant to Java"

Agent Response when Relevant Workspace Files Found

I'll search ${workspaceFolder} for Copilot customization files (.prompt.md, .agent.md, .instructions.md, .collections.md) relevant to Java.
From the search results, I'll produce a tldr output for each file found.

Agent Response when NO Relevant Workspace Files Found

I'll check https://github.com/github/awesome-copilot
Found:
- https://github.com/github/awesome-copilot/blob/main/prompts/java-docs.prompt.md
- https://github.com/github/awesome-copilot/blob/main/prompts/java-junit.prompt.md

Now let me fetch the raw content:
- https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-docs.prompt.md
- https://raw.githubusercontent.com/github/awesome-copilot/refs/heads/main/prompts/java-junit.prompt.md

I'll create a tldr summary for each prompt file.

UNAMBIGUOUS QUERIES

File Query

User

/tldr-prompt #file:typescript-mcp-server-generator.prompt.md

Agent

I'll read the file typescript-mcp-server-generator.prompt.md and create a tldr summary.

Documentation Query

User

/tldr-prompt "How do MCP servers work?" #fetch https://code.visualstudio.com/docs/copilot/customization/mcp-servers

Agent

I'll fetch the MCP server documentation from https://code.visualstudio.com/docs/copilot/customization/mcp-servers
and create a tldr summary of how MCP servers work.

Workflow

You MUST follow these steps in order:

  1. Validate Input: Confirm at least one required parameter is provided. If not, output the error message from Error Handling section
  2. Identify Context:

- Determine file type (.prompt.md,.agent.md,.instructions.md,.collections.md) - Recognize if query is about MCP servers, inline chat, chat view, or general Copilot features - Note if you're in inline chat (Ctrl+I) or chat view context

  1. Fetch Content:

- For files: Read the file(s) using available file tools - For URLs: Fetch content using #tool:fetch - For queries: Apply URL Resolver strategy to find and fetch relevant content

  1. Analyze Content: Extract the file's/documentation's purpose, key parameters, and primary use cases
  2. Generate tldr: Create summary using the template format below with correct invocation syntax for file type
  3. Format Output:

- Ensure markdown formatting is correct with proper code blocks and placeholders - Use appropriate invocation prefix: / for prompts, @ for agents, context-specific for instructions/collections - Adapt verbosity: inline chat = concise, chat view = detailed

Template

Use this template structure when creating tldr pages:

# command

> Short, snappy description.
> One to two sentences summarizing the prompt or prompt documentation.
> More information: <name.prompt.md> | <URL/prompt>.

- View documentation for creating something:

`/file command-subcommand1`

- View documentation for managing something:

`/file command-subcommand2`

Template Guidelines

You MUST follow these formatting rules:

  • Title: You MUST use the exact filename without extension (e.g., typescript-mcp-expert for.agent.md, tldr-page for.prompt.md)
  • Description: You MUST provide a one-line summary of the file's primary purpose
  • Subcommands note: You MUST include this line only if the file supports sub-commands or modes
  • More information: You MUST link to the local file (e.g., <name.prompt.md>, <name.agent.md>) or source URL
  • Examples: You MUST provide usage examples following these rules:

- Use correct invocation syntax: - Prompts (.prompt.md): /prompt-name {{parameters}} - Agents (.agent.md): @agent-name {{request}} - Instructions (.instructions.md): Context-based (document how they apply) - Collections (.collections.md): Document included files and usage - For single file/URL: You MUST include 5-8 examples covering the most common use cases, ordered by frequency - For 2-3 files/URLs: You MUST include 3-5 examples per file - For 4-5 files/URLs: You MUST include 2-3 essential examples per file - For 6+ files: You MUST create summaries for the first 5 with 2-3 examples each, then list remaining files - For inline chat context: Limit to 3-5 most essential examples

  • Placeholders: You MUST use {{placeholder}} syntax for all user-provided values (e.g., {{filename}}, {{url}}, {{parameter}})

Success Criteria

Your output is complete when:

  • ✓ All required sections are present (title, description, more information, examples)
  • ✓ Markdown formatting is valid with proper code blocks
  • ✓ Examples use correct invocation syntax for file type (/ for prompts, @ for agents)
  • ✓ Examples use {{placeholder}} syntax consistently for user-provided values
  • ✓ Output is rendered directly in chat, not as a file creation
  • ✓ Content accurately reflects the source file's/documentation's purpose and usage
  • ✓ Response verbosity is appropriate for chat context (inline chat vs chat view)
  • ✓ MCP server content includes setup and tool usage examples when applicable

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.32%
按下载量换算21,719

Claude

30.48%
按下载量换算19,868

Cursor

19.82%
按下载量换算12,919

Gemini CLI

9.13%
按下载量换算5,951

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills