mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-22 19:35:13 +00:00
CHANGE: Update prompts and add new suggestions (#255)
- Add new prompts for suggesting GitHub Copilot collections and instructions. - Improve the process and output format for suggested collections and instructions, prompts and chat modes. - Ensure all new prompts align with the current repository context and chat history.
This commit is contained in:
committed by
GitHub
parent
7295a75faa
commit
ef07af67cf
@@ -1,25 +1,26 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
description: '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.'
|
||||
tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'github']
|
||||
description: 'Suggest relevant GitHub Copilot Custom Chat Modes files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing custom chat modes in this repository.'
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
||||
---
|
||||
|
||||
# Suggest Awesome GitHub Copilot Chatmodes
|
||||
# Suggest Awesome GitHub Copilot Custom Chat Modes
|
||||
|
||||
Analyze current repository context and suggest relevant chatmode files from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/tree/main/chatmodes) that are not already available in this repository.
|
||||
Analyze current repository context and suggest relevant Custom Chat Modes files from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/blob/main/README.chatmodes.md) that are not already available in this repository. Custom Chat Mode files are located in the [chatmodes](https://github.com/github/awesome-copilot/tree/main/chatmodes) folder of the awesome-copilot repository.
|
||||
|
||||
## Process
|
||||
|
||||
1. **Fetch Available Chatmodes**: Extract chatmode list and descriptions from [awesome-copilot chatmodes folder](https://github.com/github/awesome-copilot/tree/main/chatmodes)
|
||||
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
|
||||
1. **Fetch Available Custom Chat Modes**: Extract Custom Chat Modes list and descriptions from [awesome-copilot README.chatmodes.md](https://github.com/github/awesome-copilot/blob/main/README.chatmodes.md). Must use `#fetch` tool.
|
||||
2. **Scan Local Custom Chat Modes**: Discover existing custom chat mode files in `.github/chatmodes/` folder
|
||||
3. **Extract Descriptions**: Read front matter from local custom chat mode 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
|
||||
5. **Compare Existing**: Check against custom chat modes already available in this repository
|
||||
6. **Match Relevance**: Compare available custom chat modes against identified patterns and requirements
|
||||
7. **Present Options**: Display relevant custom chat modes 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.
|
||||
9. **Output**: Provide structured table with suggestions, descriptions, and links to both awesome-copilot custom chat modes and similar local custom chat modes
|
||||
**AWAIT** user request to proceed with installation of specific custom chat modes. DO NOT INSTALL UNLESS DIRECTED TO DO SO.
|
||||
10. **Download Assets**: For requested chat modes, automatically download and install individual chat modes to `.github/chatmodes/` folder. Do NOT adjust content of the files. Use `#todos` tool to track progress. Prioritize use of `#fetch` tool to download assets, but may use `curl` using `#runInTerminal` tool to ensure all content is retrieved.
|
||||
|
||||
## Context Analysis Criteria
|
||||
|
||||
@@ -37,13 +38,13 @@ Analyze current repository context and suggest relevant chatmode files from the
|
||||
|
||||
## Output Format
|
||||
|
||||
Display analysis results in structured table comparing awesome-copilot chatmodes with existing repository chatmodes:
|
||||
Display analysis results in structured table comparing awesome-copilot custom chat modes with existing repository custom chat modes:
|
||||
|
||||
| Awesome-Copilot Chatmode | Description | Already Installed | Similar Local Chatmode | Suggestion Rationale |
|
||||
| Awesome-Copilot Custom Chat Mode | Description | Already Installed | Similar Local Custom Chat Mode | Suggestion Rationale |
|
||||
|---------------------------|-------------|-------------------|-------------------------|---------------------|
|
||||
| [code-reviewer.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/code-reviewer.chatmode.md) | Specialized code review chatmode | ❌ No | None | Would enhance development workflow with dedicated code review assistance |
|
||||
| [architect.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/architect.chatmode.md) | Software architecture guidance | ✅ Yes | azure_principal_architect.chatmode.md | Already covered by existing architecture chatmodes |
|
||||
| [debugging-expert.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/debugging-expert.chatmode.md) | Debug assistance chatmode | ❌ No | None | Could improve troubleshooting efficiency for development team |
|
||||
| [code-reviewer.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/code-reviewer.chatmode.md) | Specialized code review custom chat mode | ❌ No | None | Would enhance development workflow with dedicated code review assistance |
|
||||
| [architect.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/architect.chatmode.md) | Software architecture guidance | ✅ Yes | azure_principal_architect.chatmode.md | Already covered by existing architecture custom chat modes |
|
||||
| [debugging-expert.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/debugging-expert.chatmode.md) | Debug assistance custom chat mode | ❌ No | None | Could improve troubleshooting efficiency for development team |
|
||||
|
||||
## Local Chatmodes Discovery Process
|
||||
|
||||
|
||||
Reference in New Issue
Block a user