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'
model: Claude Sonnet 4
tools: ['edit', 'githubRepo', 'changes', 'problems', 'search', 'runCommands', 'fetch']
description: 'Set up complete GitHub Copilot configuration for a new project based on technology stack'
@@ -211,7 +211,7 @@ Apply the [general coding guidelines](./general-coding.instructions.md) to all c
**Prompts (.prompt.md):**
```yaml
---
mode: 'agent'
agent: 'agent'
model: Claude Sonnet 4
tools: ['githubRepo', 'codebase']
description: 'Generate a new React form component'