awesome-copilot/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md
Daniel Scott-Raynsford e1c7c7a50e
Add 18 new prompts files (#56)
* Add prompts for .NET best practices, design pattern review, and GitHub Copilot suggestions

- Introduced a comprehensive prompt for ensuring .NET/C# code adheres to best practices, covering documentation, design patterns, dependency injection, resource management, async patterns, testing standards, configuration, AI integration, error handling, performance, security, and code quality.
- Added a prompt for reviewing C#/.NET code for design pattern implementation, providing a checklist for required patterns, architecture, best practices, SOLID principles, performance, maintainability, testability, security, documentation, code clarity, and clean code.
- Created prompts for suggesting relevant GitHub Copilot chatmodes and prompts based on the current repository context, including a structured process for fetching available chatmodes/prompts, scanning local files, and presenting options with rationale.
- Developed a prompt for updating Azure Verified Modules (AVM) in Bicep files, detailing the process for scanning, checking for updates, validating, and handling breaking changes.
- Implemented a prompt for updating implementation plans with new requirements, ensuring machine-readable output and adherence to a strict template.
- Added a prompt for updating the llms.txt file to reflect changes in documentation or specifications, focusing on compliance with the llmstxt specification.
- Created a prompt for updating markdown file indices with files from specified folders, including options for table structures and update strategies.
- Developed a prompt for updating object-oriented component documentation, following industry best practices and ensuring alignment with current implementations.
- Added a prompt for updating specification files, emphasizing clarity, structure, and compliance with established documentation standards.

* CHANGE: Update implementation plan prompt formatting

- Renamed prompt title for clarity.
- Added spacing for improved readability.
- Enhanced structure to ensure compliance with template validation rules.

* CHANGE: Fix typo in .NET best practices prompt

- Corrected "soltion" to "solution" in the prompt description.
2025-07-07 16:17:09 +10:00

4.5 KiB

mode description tools
agent Suggest relevant GitHub Copilot chatmode files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing chatmodes in this repository.
changes
codebase
editFiles
fetch
findTestFiles
githubRepo
new
openSimpleBrowser
problems
runCommands
runTasks
runTests
search
searchResults
terminalLastCommand
terminalSelection
testFailure
usages
vscodeAPI
github

Suggest Awesome GitHub Copilot Chatmodes

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

Process

  1. Fetch Available Chatmodes: Extract chatmode list and descriptions from awesome-copilot chatmodes folder
  2. Scan Local Chatmodes: Discover existing chatmode files in .github/chatmodes/ folder
  3. Extract Descriptions: Read front matter from local chatmode files to get descriptions
  4. Analyze Context: Review chat history, repository files, and current project needs
  5. Compare Existing: Check against chatmodes already available in this repository
  6. Match Relevance: Compare available chatmodes against identified patterns and requirements
  7. Present Options: Display relevant chatmodes with descriptions, rationale, and availability status
  8. Validate: Ensure suggested chatmodes would add value not already covered by existing chatmodes
  9. Output: Provide structured table with suggestions, descriptions, and links to both awesome-copilot chatmodes and similar local chatmodes
  10. Next Steps: If any suggestions are made, provide instructions that GitHub Copilot will be able to follow to add the suggested chatmodes to the repository by downloading the file into the chatmodes directory. Offer to do this automatically if the user confirms.

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 chatmodes with existing repository chatmodes:

Awesome-Copilot Chatmode Description Already Installed Similar Local Chatmode Suggestion Rationale
code-reviewer.chatmode.md Specialized code review chatmode No None Would enhance development workflow with dedicated code review assistance
architect.chatmode.md Software architecture guidance Yes azure_principal_architect.chatmode.md Already covered by existing architecture chatmodes
debugging-expert.chatmode.md Debug assistance chatmode No None Could improve troubleshooting efficiency for development team

Local Chatmodes Discovery Process

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

Requirements

  • Use githubRepo tool to get content from awesome-copilot repository chatmodes folder
  • Scan local file system for existing chatmodes in .github/chatmodes/ directory
  • Read YAML front matter from local chatmode files to extract descriptions
  • Compare against existing chatmodes in this repository to avoid duplicates
  • Focus on gaps in current chatmode library coverage
  • Validate that suggested chatmodes align with repository's purpose and standards
  • Provide clear rationale for each suggestion
  • Include links to both awesome-copilot chatmodes and similar local chatmodes
  • Don't provide any additional information or context beyond the table and the analysis

Icons Reference

  • Already installed in repo
  • Not installed in repo