From bd42e0ee7db393e17a6723ffc6af3e40b60d065e Mon Sep 17 00:00:00 2001 From: jennypng <63012604+JennyPng@users.noreply.github.com> Date: Fri, 7 Nov 2025 10:50:13 -0800 Subject: [PATCH 1/5] add env setup instructions --- .github/copilot-instructions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 8baa747243fd..53b529ccbd67 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,8 +14,12 @@ ### RULE 3: VERIFY ENVIRONMENT FIRST **REQUIRED CONDITIONS:** +- **FIRST AND FOREMOST, ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) MCP tool to check the user's environment **BEFORE proceeding with any other operations.** - To use Azure MCP tool calls, users must have PowerShell installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to start the MCP server. +**FORBIDDEN ACTIONS:** +❌ Run other MCP tools if you haven't yet run `azsdk_verify_setup` in the session. + --- ## PYLINT OPERATIONS From 316e65e467f24bc57abed82e71aff975eebc41e0 Mon Sep 17 00:00:00 2001 From: jennypng <63012604+JennyPng@users.noreply.github.com> Date: Fri, 7 Nov 2025 11:17:09 -0800 Subject: [PATCH 2/5] revision --- .github/copilot-instructions.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 53b529ccbd67..295dcaa68e36 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,12 +14,9 @@ ### RULE 3: VERIFY ENVIRONMENT FIRST **REQUIRED CONDITIONS:** -- **FIRST AND FOREMOST, ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) MCP tool to check the user's environment **BEFORE proceeding with any other operations.** +- **ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool **BEFORE PROCEEDING WITH OTHER OPERATIONS**, to check the user's development environment setup before running other operations. Don't fulfill a request until this tool has been run. - To use Azure MCP tool calls, users must have PowerShell installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to start the MCP server. -**FORBIDDEN ACTIONS:** -❌ Run other MCP tools if you haven't yet run `azsdk_verify_setup` in the session. - --- ## PYLINT OPERATIONS From 5d1833cf99edbb745ec0a49735e7930ffea37de6 Mon Sep 17 00:00:00 2001 From: jennypng <63012604+JennyPng@users.noreply.github.com> Date: Fri, 7 Nov 2025 11:23:18 -0800 Subject: [PATCH 3/5] fix --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 295dcaa68e36..bcc4b47861ec 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,7 +14,7 @@ ### RULE 3: VERIFY ENVIRONMENT FIRST **REQUIRED CONDITIONS:** -- **ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool **BEFORE PROCEEDING WITH OTHER OPERATIONS**, to check the user's development environment setup before running other operations. Don't fulfill a request until this tool has been run. +- **ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool **BEFORE PROCEEDING WITH OTHER OPERATIONS**, to check the user's development environment setup. Don't fulfill a request until this tool has been run. - To use Azure MCP tool calls, users must have PowerShell installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to start the MCP server. --- From b6ccaa94d3b1970bfd4d20cfc2697eea63e6b9a2 Mon Sep 17 00:00:00 2001 From: jennypng <63012604+JennyPng@users.noreply.github.com> Date: Fri, 7 Nov 2025 14:27:42 -0800 Subject: [PATCH 4/5] minor --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index bcc4b47861ec..2a86c7512447 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,7 +14,7 @@ ### RULE 3: VERIFY ENVIRONMENT FIRST **REQUIRED CONDITIONS:** -- **ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool **BEFORE PROCEEDING WITH OTHER OPERATIONS**, to check the user's development environment setup. Don't fulfill a request until this tool has been run. +- **ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool **BEFORE PROCEEDING WITH OTHER OPERATIONS**, to check the user's development environment setup with the appropriate venv path. Don't fulfill a request until this tool has been run. - To use Azure MCP tool calls, users must have PowerShell installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to start the MCP server. --- From 69076791dc101bf29d9c64cf50129a6ce86dc7e2 Mon Sep 17 00:00:00 2001 From: jennypng <63012604+JennyPng@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:36:38 -0800 Subject: [PATCH 5/5] wording revision --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2a86c7512447..4e50d39132a6 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,7 +14,7 @@ ### RULE 3: VERIFY ENVIRONMENT FIRST **REQUIRED CONDITIONS:** -- **ALWAYS** run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool **BEFORE PROCEEDING WITH OTHER OPERATIONS**, to check the user's development environment setup with the appropriate venv path. Don't fulfill a request until this tool has been run. +- Always run the [`azsdk_verify_setup`](../eng/common/instructions/azsdk-tools/verify-setup.instructions.md) tool to check the user's development environment setup for using SDK MCP tools. DO NOT PROCEED with running other tools before completing this step. Only skip for queries that don't need tools. - To use Azure MCP tool calls, users must have PowerShell installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to start the MCP server. ---