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:
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'
|
||||
|
||||
Reference in New Issue
Block a user