mcpField
S
suggest-awesome-github-copilot-prompts

suggest-awesome-github-copilot-prompts

github.com/githubAgent workflows40.5k6.8k installsUpdated today
Repository

About suggest-awesome-github-copilot-prompts

A repository-analysis skill that compares local GitHub Copilot prompt files with prompts in github/awesome-copilot. It helps teams find relevant additions and outdated prompts, then waits for approval before installing or updating files.

Key features

  1. 01Fetches the awesome-copilot prompt catalog
  2. 02Scans local .github/prompts/ files
  3. 03Compares local files with remote versions
  4. 04Matches prompts to repository context
  5. 05Waits for approval before changes

Use cases

  1. 01Finding prompt files suited to a codebase
  2. 02Identifying outdated local Copilot prompts
  3. 03Avoiding suggestions already covered locally
  4. 04Reviewing proposed prompt updates before applying them

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill suggest-awesome-github-copilot-prompts

After installing, type/suggest-awesome-github-copilot-promptsin Claude Code to confirm it loaded.

Details

From the project README

Suggest Awesome GitHub Copilot Prompts

Analyze current repository context and suggest relevant prompt files from the GitHub awesome-copilot repository that are not already available in this repository.

Process

  1. Fetch Available Prompts: Extract prompt list and descriptions from awesome-copilot README.prompts.md. Must use #fetch tool.
  2. Scan Local Prompts: Discover existing prompt files in .github/prompts/ folder
  3. Extract Descriptions: Read front matter from local prompt files to get descriptions
  4. 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>)
  5. 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)
  6. Analyze Context: Review chat history, repository files, and current project needs
  7. Compare Existing: Check against prompts already available in this repository
  8. Match Relevance: Compare available prompts against identified patterns and requirements
  9. Present Options: Display relevant prompts with descriptions, rationale, and availability status including outdated prompts
  10. Validate: Ensure suggested prompts would add value not already covered by existing prompts
  11. 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.
  12. Download/Update Assets: For requested prompts, automatically:
    • Download new prompts to .github/prompts/ folder
    • Update outdated prompts by replacing with latest version from awesome-copilot
    • Do NOT adjust content of the files
    • Use #fetch tool to download assets, but may use curl using #runInTerminal tool to ensure all content is retrieved
    • Use #todos tool to track progress

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

Output Format

Display analysis results in structured table comparing awesome-copilot prompts with existing repository prompts:

Awesome-Copilot PromptDescriptionAlready InstalledSimilar Local PromptSuggestion Rationale
code-review.prompt.mdAutomated code review prompts❌ NoNoneWould enhance development workflow with standardized code review processes
documentation.prompt.mdGenerate project documentation✅ Yescreate_oo_component_documentation.prompt.mdAlready covered by existing documentation prompts
debugging.prompt.mdDebug assistance prompts⚠️ Outdateddebugging.prompt.mdTools configuration differs: remote uses 'codebase' vs local missing - Update recommended

Local Prompts Discovery Process

  1. List all *.prompt.md files in .github/prompts/ directory
  2. For each discovered file, read front matter to extract description
  3. Build comprehensive inventory of existing prompts
  4. Use this inventory to avoid suggesting duplicates

Version Comparison Process

  1. 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>
  2. Fetch the remote version using the #fetch tool
  3. Compare entire file content (including front matter and body)
  4. Identify specific differences:
    • Front matter changes (description, tools, mode)
    • Tools array modifications (added, removed, or renamed tools)
    • Content updates (instructions, examples, guidelines)
  5. Document key differences for outdated prompts
  6. Calculate similarity to determine if update is needed

Requirements

  • Use githubRepo tool to get content from awesome-copilot repository prompts folder
  • Scan local file system for existing prompts in .github/prompts/ directory
  • 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

Icons Reference

  • ✅ Already installed and up-to-date
  • ⚠️ Installed but outdated (update available)
  • ❌ Not installed in repo

Update Handling

When outdated prompts are identified:

  1. Include them in the output table with ⚠️ status
  2. Document specific differences in the "Suggestion Rationale" column
  3. Provide recommendation to update with key changes noted
  4. When user requests update, replace entire local file with remote version
  5. Preserve file location in .github/prompts/ directory

Comments

Markdown supported