fix(prompts): change agent: to mode: in frontmatter
Fixed 22 prompt files: - Changed 'agent:' to 'mode:' (correct frontmatter key) - Removed duplicate 'search' entries from tools arrays This aligns with prompt authoring rules in prompt.instructions.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: "Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content."
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
---
|
||||
|
||||
# AI Prompt Engineering Safety Review & Improvement
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.'
|
||||
---
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Generate targeted tests to achieve 100% Codecov patch coverage when CI reports uncovered lines'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages']
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Create GitHub Issues from implementation plan phases using feature_request.yml or chore_request.yml templates.'
|
||||
tools: ['search/codebase', 'search', 'github', 'create_issue', 'search_issues', 'update_issue']
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Create a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Create time-boxed technical spike documents for researching and resolving critical development decisions before implementation.'
|
||||
tools: ['runCommands', 'runTasks', 'edit', 'search', 'extensions', 'usages', 'vscodeAPI', 'think', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'Microsoft Docs', 'search']
|
||||
tools: ['runCommands', 'runTasks', 'edit', 'search', 'extensions', 'usages', 'vscodeAPI', 'think', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'Microsoft Docs']
|
||||
---
|
||||
|
||||
# Create Technical Spike Document
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
description: 'Investigates JavaScript errors, network failures, and warnings from browser DevTools console to identify root causes and implement fixes'
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems', 'search', 'search/searchResults', 'findTestFiles', 'usages', 'runTests']
|
||||
---
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: agent
|
||||
mode: agent
|
||||
description: 'Website exploration for testing using Playwright MCP'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'playwright']
|
||||
model: 'Claude Sonnet 4'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: agent
|
||||
mode: agent
|
||||
description: 'Generate a Playwright test based on a scenario using Playwright MCP'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'fetch', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'playwright/*']
|
||||
model: 'Claude Sonnet 4.5'
|
||||
|
||||
2
.github/prompts/prompt-builder.prompt.md
vendored
2
.github/prompts/prompt-builder.prompt.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
tools: ['search/codebase', 'edit/editFiles', 'search']
|
||||
description: 'Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices.'
|
||||
---
|
||||
|
||||
2
.github/prompts/sql-code-review.prompt.md
vendored
2
.github/prompts/sql-code-review.prompt.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems']
|
||||
description: 'Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Focuses on SQL injection prevention, access control, code standards, and anti-pattern detection. Complements SQL optimization prompt for complete development coverage.'
|
||||
tested_with: 'GitHub Copilot Chat (GPT-4o) - Validated July 20, 2025'
|
||||
|
||||
2
.github/prompts/sql-optimization.prompt.md
vendored
2
.github/prompts/sql-optimization.prompt.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems']
|
||||
description: 'Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.'
|
||||
tested_with: 'GitHub Copilot Chat (GPT-4o) - Validated July 20, 2025'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: sa-generate
|
||||
description: Structured Autonomy Implementation Generator Prompt
|
||||
model: GPT-5.1-Codex (Preview) (copilot)
|
||||
agent: agent
|
||||
mode: agent
|
||||
---
|
||||
|
||||
You are a PR implementation plan generator that creates complete, copy-paste ready implementation documentation.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: sa-implement
|
||||
description: 'Structured Autonomy Implementation Prompt'
|
||||
model: GPT-5 mini (copilot)
|
||||
agent: agent
|
||||
mode: agent
|
||||
---
|
||||
|
||||
You are an implementation agent responsible for carrying out the implementation plan without deviating from it.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: sa-plan
|
||||
description: Structured Autonomy Planning Prompt
|
||||
model: Claude Sonnet 4.5 (copilot)]
|
||||
agent: agent
|
||||
mode: agent
|
||||
---
|
||||
|
||||
You are a Project Planning Agent that collaborates with users to design development plans.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: "agent"
|
||||
mode: "agent"
|
||||
description: "Suggest relevant GitHub Copilot Custom Agents files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing custom agents in this repository."
|
||||
tools: ["edit", "search", "runCommands", "runTasks", "changes", "testFailure", "openSimpleBrowser", "fetch", "githubRepo", "todos"]
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
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']
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos']
|
||||
---
|
||||
|
||||
# Suggest Awesome GitHub Copilot Custom Chat Modes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Suggest relevant GitHub Copilot collections from the awesome-copilot repository based on current repository context and chat history, providing automatic download and installation of collection assets.'
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos']
|
||||
---
|
||||
# Suggest Awesome GitHub Copilot Collections
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Suggest relevant GitHub Copilot instruction files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing instructions in this repository.'
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos']
|
||||
---
|
||||
# Suggest Awesome GitHub Copilot Instructions
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Suggest relevant GitHub Copilot prompt files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing prompts in this repository.'
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
||||
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos']
|
||||
---
|
||||
# Suggest Awesome GitHub Copilot Prompts
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Research, analyze, and fix vulnerabilities found in supply chain security scans with actionable remediation steps'
|
||||
tools: ['search/codebase', 'edit/editFiles', 'fetch', 'runCommands', 'runTasks', 'search', 'problems', 'usages', 'runCommands/terminalLastCommand']
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
mode: 'agent'
|
||||
description: 'Update an existing implementation plan file with new or update requirements to provide new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.'
|
||||
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user