Skip to content

Add outdated detection to collections, instructions, and prompts suggestion files#576

Merged
aaronpowell merged 4 commits into
github:mainfrom
yaooqinn:feat/add-outdated-detection-to-suggestion-prompts
Jan 15, 2026
Merged

Add outdated detection to collections, instructions, and prompts suggestion files#576
aaronpowell merged 4 commits into
github:mainfrom
yaooqinn:feat/add-outdated-detection-to-suggestion-prompts

Conversation

@yaooqinn

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, or chat mode file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, or chat mode with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.

Description

This PR extends the outdated detection feature (introduced in c12041b for agents) to the other suggestion prompts:

  • suggest-awesome-github-copilot-collections.prompt.md: Added version comparison for collection assets
  • suggest-awesome-github-copilot-instructions.prompt.md: Added version comparison for instruction files
  • suggest-awesome-github-copilot-prompts.prompt.md: Added version comparison for prompt files

Each file now includes:

  • Steps to fetch remote versions and compare with local assets
  • Version Comparison Process section with detailed comparison logic
  • Updated icons reference with ⚠️/🔄 status for outdated items
  • Update Handling section for managing outdated assets
  • Updated output table examples showing outdated status indicators

Type of Contribution

  • New instruction file.
  • New prompt file.
  • New chat mode file.
  • New collection file.
  • New skill file.
  • Update to existing instruction, prompt, chat mode, collection or skill.
  • Other (please specify):

Additional Notes

This change ensures consistency across all suggest-awesome-github-copilot-*.prompt.md files by providing the same outdated detection capabilities that were previously only available for agents.

The auto-generated documentation files (collections/awesome-copilot.md and docs/README.prompts.md) were also updated by running npm run build.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

…estion files

Similar to c12041b which added outdated agent detection, this commit adds:
- Version comparison process for detecting outdated local assets
- Fetch remote versions step in the process workflow
- Updated icons reference with outdated status indicators
- Update handling sections for managing outdated assets
- Updated output table examples to show outdated status
Copilot AI review requested due to automatic review settings January 15, 2026 08:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the outdated detection feature from agents to prompts, instructions, and collections suggestion files, enabling users to identify when their local assets are out of sync with the awesome-copilot repository.

Changes:

  • Added version comparison logic to detect outdated prompts, instructions, and collection assets
  • Introduced new status icons (⚠️ for outdated, 🔄 for outdated collection assets) alongside the existing ✅ and ❌
  • Updated process steps to include fetching remote versions and comparing with local files
  • Enhanced output examples to demonstrate outdated status indicators

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
prompts/suggest-awesome-github-copilot-prompts.prompt.md Added outdated detection for prompt files with version comparison process and update handling
prompts/suggest-awesome-github-copilot-instructions.prompt.md Added outdated detection for instruction files with applyTo pattern comparison
prompts/suggest-awesome-github-copilot-collections.prompt.md Added outdated detection for collection assets across agents, prompts, and instructions
docs/README.prompts.md Auto-generated documentation updated to reflect new descriptions
collections/awesome-copilot.md Auto-generated collection documentation updated to reflect new descriptions
Comments suppressed due to low confidence (2)

prompts/suggest-awesome-github-copilot-instructions.prompt.md:60

  • The path reference is inconsistent with other mentions in the file. Line 13 specifies scanning .github/instructions/ folder, and line 97 specifies scanning .github/instructions/ directory. This line should use .github/instructions/ to maintain consistency.
1. List all `*.instructions.md` files in the `instructions/` directory

prompts/suggest-awesome-github-copilot-collections.prompt.md:132

  • Inconsistent tool reference notation. Other lines in this file (lines 12, 30) use #fetch with a hash prefix. For consistency, this should use #fetch.
- Use `fetch` tool to get collections data from awesome-copilot repository

Comment thread prompts/suggest-awesome-github-copilot-collections.prompt.md Outdated
Comment thread prompts/suggest-awesome-github-copilot-prompts.prompt.md Outdated
Comment thread prompts/suggest-awesome-github-copilot-instructions.prompt.md Outdated
yaooqinn and others added 3 commits January 15, 2026 16:25
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@aaronpowell
aaronpowell merged commit 47951d4 into github:main Jan 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants