Fix deprecated 'mode' attribute in prompt files by renaming to 'agent' (#441)

* Initial plan

* Rename 'mode' to 'agent' in prompt files and CONTRIBUTING.md

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
This commit is contained in:
Copilot
2025-12-01 10:56:45 +11:00
committed by GitHub
parent ddfccc733e
commit 2f9c96d4b5
107 changed files with 109 additions and 109 deletions

View File

@@ -1,5 +1,5 @@
---
mode: 'agent'
agent: 'agent'
tools: ['search/codebase', 'edit/editFiles', 'search']
description: 'Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices.'
---
@@ -101,7 +101,7 @@ After gathering all requirements, I will generate a complete `.prompt.md` file f
```markdown
---
description: "[Clear, concise description from requirements]"
mode: "[agent|ask|edit based on task type]"
agent: "[agent|ask|edit based on task type]"
tools: ["[appropriate tools based on functionality]"]
model: "[only if specific model required]"
---