Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/prompts/code-review.prompt.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
---
name: code-review
description: AI-assisted code review for a pull request in Microsoft.Data.SqlClient.
description: AI-assisted code review for a pull request or branch in Microsoft.Data.SqlClient.
argument-hint: <PR number or branch name>
agent: agent
tools: ['github/search_issues', 'read/readFile', 'codebase/search']
tools: ['github/search_issues', 'github/pull_request_read', 'github/get_file_contents', 'github/run_secret_scanning', 'read/readFile', 'search']
Comment thread
cheenamalhotra marked this conversation as resolved.
---

Review the pull request "${input:pr}" in `dotnet/SqlClient`.
Review the changes in "${input:target}" for `dotnet/SqlClient`.

The target may be either a **PR number** (e.g., `4106`) or a **branch name** (e.g., `dev/user/my-feature`). Determine which by checking whether the value is purely numeric.

Follow this structured review process:

## 1. Understand the Change
- Fetch the PR details: title, description, linked issue(s), and diff.
- Read the PR description to understand the intent and scope of the change.
- Check for linked issues referenced in the description (e.g., `Fixes #...`).
- Check which files are modified and categorize them:
- **Source code** (`src/Microsoft.Data.SqlClient/src/`) — the main review focus
- **Tests** (`tests/`) — verify coverage
Expand Down
1 change: 1 addition & 0 deletions .github/prompts/generate-prompt.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: generate-prompt
description: Generates high-quality VS Code Copilot prompt files (.prompt.md) based on user descriptions, leveraging available skills.
argument-hint: Describe the prompt you want to create (e.g., "A prompt to generate unit tests for C#")
tools: [read, edit, search, todo]
Comment thread
cheenamalhotra marked this conversation as resolved.
---
You are an expert AI prompt developer specialized in creating **Visual Studio Code Copilot Prompt Files (`.prompt.md`)**.

Expand Down
2 changes: 2 additions & 0 deletions .github/prompts/generate-skill.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: generate-skill
description: Generate a GitHub Copilot Agent Skill (SKILL.md) following best practices and official documentation
argument-hint: Describe the skill you want to create (e.g., "debugging SQL connection issues")
agent: agent
tools: ['read/readFile', 'edit/createFile', 'search']
Comment thread
cheenamalhotra marked this conversation as resolved.
---
You are an expert developer specialized in creating **GitHub Copilot Agent Skills**.

Expand Down
2 changes: 1 addition & 1 deletion .github/prompts/update-build-pipelines.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: update-build-pipelines
description: Guided workflow for updating Azure DevOps CI/CD pipelines for Microsoft.Data.SqlClient.
argument-hint: <describe the pipeline change needed>
agent: agent
tools: ['edit/createFile', 'edit/editFiles', 'read/readFile', 'codebase/search']
tools: ['edit/createFile', 'edit/editFiles', 'read/readFile', 'search']
Comment thread
cheenamalhotra marked this conversation as resolved.
---

Update the Azure DevOps build pipelines for: "${input:change}".
Expand Down
Loading