suggest-awesome-github-copilot-prompts
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSuggest Awesome GitHub Copilot Prompts
推荐优质GitHub Copilot提示
Analyze current repository context and suggest relevant prompt files from the GitHub awesome-copilot repository that are not already available in this repository.
分析当前仓库上下文,从GitHub awesome-copilot仓库中推荐本仓库尚未拥有的相关提示文件。
Process
流程
- Fetch Available Prompts: Extract prompt list and descriptions from awesome-copilot README.prompts.md. Must use tool.
#fetch - Scan Local Prompts: Discover existing prompt files in folder
.github/prompts/ - Extract Descriptions: Read front matter from local prompt files to get descriptions
- Fetch Remote Versions: For each local prompt, fetch the corresponding version from awesome-copilot repository using raw GitHub URLs (e.g., )
https://raw.githubusercontent.com/github/awesome-copilot/main/prompts/<filename> - Compare Versions: Compare local prompt content with remote versions to identify:
- Prompts that are up-to-date (exact match)
- Prompts that are outdated (content differs)
- Key differences in outdated prompts (tools, description, content)
- Analyze Context: Review chat history, repository files, and current project needs
- Compare Existing: Check against prompts already available in this repository
- Match Relevance: Compare available prompts against identified patterns and requirements
- Present Options: Display relevant prompts with descriptions, rationale, and availability status including outdated prompts
- Validate: Ensure suggested prompts would add value not already covered by existing prompts
- Output: Provide structured table with suggestions, descriptions, and links to both awesome-copilot prompts and similar local prompts AWAIT user request to proceed with installation or updates of specific prompts. DO NOT INSTALL OR UPDATE UNLESS DIRECTED TO DO SO.
- Download/Update Assets: For requested prompts, automatically:
- Download new prompts to folder
.github/prompts/ - Update outdated prompts by replacing with latest version from awesome-copilot
- Do NOT adjust content of the files
- Use tool to download assets, but may use
#fetchusingcurltool to ensure all content is retrieved#runInTerminal - Use tool to track progress
#todos
- Download new prompts to
- 获取可用提示:从awesome-copilot README.prompts.md中提取提示列表和描述。必须使用工具。
#fetch - 扫描本地提示:发现文件夹中已有的提示文件
.github/prompts/ - 提取描述:读取本地提示文件的前置元数据以获取描述信息
- 获取远程版本:对于每个本地提示,使用GitHub原始URL(例如:)从awesome-copilot仓库获取对应的版本
https://raw.githubusercontent.com/github/awesome-copilot/main/prompts/<filename> - 版本对比:对比本地提示内容与远程版本,识别:
- 已更新至最新版本的提示(完全匹配)
- 过时的提示(内容存在差异)
- 过时提示中的关键差异(工具、描述、内容)
- 上下文分析:查看聊天历史、仓库文件和当前项目需求
- 对比已有内容:检查本仓库中已有的提示
- 匹配相关性:将可用提示与识别出的模式和需求进行匹配
- 呈现选项:显示相关提示及其描述、推荐理由和可用性状态(包括过时提示)
- 验证:确保推荐的提示能够提供现有提示未覆盖的价值
- 输出:提供包含建议、描述以及指向awesome-copilot提示和类似本地提示链接的结构化表格 等待用户请求后再进行特定提示的安装或更新。除非收到明确指示,否则请勿进行安装或更新操作。
- 下载/更新资源:对于用户请求的提示,自动执行以下操作:
- 将新提示下载至文件夹
.github/prompts/ - 用awesome-copilot中的最新版本替换过时的提示
- 请勿调整文件内容
- 使用工具下载资源,但也可使用
#fetch工具执行#runInTerminal命令以确保获取所有内容curl - 使用工具跟踪进度
#todos
- 将新提示下载至
Context Analysis Criteria
上下文分析标准
🔍 Repository Patterns:
- Programming languages used (.cs, .js, .py, etc.)
- Framework indicators (ASP.NET, React, Azure, etc.)
- Project types (web apps, APIs, libraries, tools)
- Documentation needs (README, specs, ADRs)
🗨️ Chat History Context:
- Recent discussions and pain points
- Feature requests or implementation needs
- Code review patterns
- Development workflow requirements
🔍 仓库模式:
- 使用的编程语言(.cs、.js、.py等)
- 框架标识(ASP.NET、React、Azure等)
- 项目类型(Web应用、API、库、工具)
- 文档需求(README、规格说明、ADR)
🗨️ 聊天历史上下文:
- 近期讨论和痛点
- 功能请求或实现需求
- 代码审查模式
- 开发工作流要求
Output Format
输出格式
Display analysis results in structured table comparing awesome-copilot prompts with existing repository prompts:
| Awesome-Copilot Prompt | Description | Already Installed | Similar Local Prompt | Suggestion Rationale |
|---|---|---|---|---|
| code-review.prompt.md | Automated code review prompts | ❌ No | None | Would enhance development workflow with standardized code review processes |
| documentation.prompt.md | Generate project documentation | ✅ Yes | create_oo_component_documentation.prompt.md | Already covered by existing documentation prompts |
| debugging.prompt.md | Debug assistance prompts | ⚠️ Outdated | debugging.prompt.md | Tools configuration differs: remote uses |
以结构化表格形式展示分析结果,对比awesome-copilot提示与仓库中已有的提示:
| Awesome-Copilot提示 | 描述 | 是否已安装 | 类似本地提示 | 推荐理由 |
|---|---|---|---|---|
| code-review.prompt.md | 自动化代码审查提示 | ❌ 未安装 | 无 | 可通过标准化代码审查流程优化开发工作流 |
| documentation.prompt.md | 生成项目文档 | ✅ 已安装 | create_oo_component_documentation.prompt.md | 现有文档提示已覆盖该功能 |
| debugging.prompt.md | 调试辅助提示 | ⚠️ 已过时 | debugging.prompt.md | 工具配置存在差异:远程版本使用 |
Local Prompts Discovery Process
本地提示发现流程
- List all files in
*.prompt.mddirectory.github/prompts/ - For each discovered file, read front matter to extract
description - Build comprehensive inventory of existing prompts
- Use this inventory to avoid suggesting duplicates
- 列出目录下所有
.github/prompts/文件*.prompt.md - 对于每个发现的文件,读取前置元数据以提取
description - 构建完整的现有提示清单
- 利用该清单避免推荐重复内容
Version Comparison Process
版本对比流程
- For each local prompt file, construct the raw GitHub URL to fetch the remote version:
- Pattern:
https://raw.githubusercontent.com/github/awesome-copilot/main/prompts/<filename>
- Pattern:
- Fetch the remote version using the tool
#fetch - Compare entire file content (including front matter and body)
- Identify specific differences:
- Front matter changes (description, tools, mode)
- Tools array modifications (added, removed, or renamed tools)
- Content updates (instructions, examples, guidelines)
- Document key differences for outdated prompts
- Calculate similarity to determine if update is needed
- 对于每个本地提示文件,构建用于获取远程版本的GitHub原始URL:
- 格式:
https://raw.githubusercontent.com/github/awesome-copilot/main/prompts/<filename>
- 格式:
- 使用工具获取远程版本
#fetch - 对比整个文件内容(包括前置元数据和正文)
- 识别具体差异:
- 前置元数据变更(描述、工具、模式)
- 工具数组修改(添加、移除或重命名工具)
- 内容更新(说明、示例、指南)
- 记录过时提示的关键差异
- 计算相似度以确定是否需要更新
Requirements
要求
- Use tool to get content from awesome-copilot repository prompts folder
githubRepo - Scan local file system for existing prompts in directory
.github/prompts/ - Read YAML front matter from local prompt files to extract descriptions
- Compare local prompts with remote versions to detect outdated prompts
- Compare against existing prompts in this repository to avoid duplicates
- Focus on gaps in current prompt library coverage
- Validate that suggested prompts align with repository's purpose and standards
- Provide clear rationale for each suggestion
- Include links to both awesome-copilot prompts and similar local prompts
- Clearly identify outdated prompts with specific differences noted
- Don't provide any additional information or context beyond the table and the analysis
- 使用工具从awesome-copilot仓库的提示文件夹获取内容
githubRepo - 扫描本地文件系统中目录下的现有提示
.github/prompts/ - 读取本地提示文件的YAML前置元数据以提取描述
- 对比本地提示与远程版本以检测过时提示
- 与本仓库中已有的提示进行对比以避免重复
- 聚焦当前提示库的覆盖缺口
- 验证推荐的提示是否符合仓库的用途和标准
- 为每个建议提供清晰的理由
- 包含指向awesome-copilot提示和类似本地提示的链接
- 明确标记过时提示并注明具体差异
- 除表格和分析内容外,请勿提供任何额外信息或上下文
Icons Reference
图标参考
- ✅ Already installed and up-to-date
- ⚠️ Installed but outdated (update available)
- ❌ Not installed in repo
- ✅ 已安装且为最新版本
- ⚠️ 已安装但过时(有可用更新)
- ❌ 未在仓库中安装
Update Handling
更新处理
When outdated prompts are identified:
- Include them in the output table with ⚠️ status
- Document specific differences in the "Suggestion Rationale" column
- Provide recommendation to update with key changes noted
- When user requests update, replace entire local file with remote version
- Preserve file location in directory
.github/prompts/
当识别出过时提示时:
- 在输出表格中用⚠️状态标记它们
- 在“推荐理由”列中记录具体差异
- 提供更新建议并注明关键变更
- 当用户请求更新时,用远程版本替换整个本地文件
- 保留文件在目录中的位置
.github/prompts/