-
Notifications
You must be signed in to change notification settings - Fork 429
Update CLI tool descriptions and testing prompts #2131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
vcolin7
wants to merge
5
commits into
main
Choose a base branch
from
vcolin7/fix-cli-extension-descriptions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+19
−27
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
93403cc
Updated CLI extension command descriptions
vcolin7 3348c9f
Updated `azure-rules.txt` to disambiguate fro `bestpractices`
vcolin7 28d3127
Updated prompts for manual testing
vcolin7 b52eb38
Added changelog entry
vcolin7 787a7b8
Removed trailing white spaces
vcolin7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
servers/Azure.Mcp.Server/changelog-entries/1773983185044.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| pr: 2131 | ||
| changes: | ||
| - section: "Breaking Changes" | ||
| description: "Improved descriptions of the `extension_azqr`, `extension_cli_generate`, and `extension_cli_install` tools, as well as the base Azure rules around them fed to agents for better tool selection." | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,9 @@ | ||
| Azure MCP server usage rules: | ||
| - Use Azure Tools: When handling requests related to Azure, always use your tools. | ||
| - Use Azure Code Gen Best Practices: When generating code for Azure or any Azure services, running terminal commands for Azure, | ||
| or performing operations related to Azure, invoke your `bestpractices` tool if available. | ||
| - Use Azure Deployment Best Practices: When deploying to Azure or preparing applications for deployment to Azure, | ||
| invoke your `bestpractices` tool if available. | ||
| - If a user wants to use, install, or generate commands for the Azure CLI (az), Azure Developer CLI (azd), Azure Functions Core Tools CLI (func), or Azure Quick Review CLI (azqr), use your `extension` tools first. | ||
vcolin7 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - Use Azure Code Gen Best Practices: When generating code for Azure or any Azure services, running terminal commands for Azure, or performing operations related to Azure, invoke your `bestpractices` tool if available. | ||
| - Use Azure Deployment Best Practices: When deploying to Azure or preparing applications for deployment to Azure, invoke your `bestpractices` tool if available. | ||
| - Only call your `bestpractices` tool when you are sure the user is discussing Azure; do not call it otherwise. | ||
| - Use Azure AI App Code Generation Best Practices: When generating code for AI applications, AI agents, workflows, | ||
| or chatbots, invoke your `get_azure_bestpractices_ai_app` command (under `get_azure_bestpractices` tool) if tool available. | ||
| Call this tool first before creating any plans, todos or code. | ||
| Only call this command when the user is discussing AI app development with Microsoft Foundry, Azure, Microsoft | ||
| agent framework SDK, or without specifying any technology. Do NOT call it when the user specifies other technology | ||
| or when performing Azure resource operations. | ||
| - Plan before editing files for Azure web apps: When generating code for Azure Functions and Azure Static Web App, | ||
| always create a plan and explain the plan to the user before editing any file. Proceed with editing the files | ||
| after getting consent from the user. | ||
| - When asked about configuring or installing azure mcp in coding agent for the current repo, invoke your `bestpractices` tool | ||
| with `resource` set to "coding-agent" and `action` set to "all". | ||
| - Use Azure AI App Code Generation Best Practices: When generating code for AI applications, AI agents, workflows, or chatbots, invoke your `get_azure_bestpractices_ai_app` command (under `get_azure_bestpractices` tool) if tool available. Call this tool first before creating any plans, todos or code. Only call this command when the user is discussing AI app development with Microsoft Foundry, Azure, Microsoft agent framework SDK, or without specifying any technology. Do NOT call it when the user specifies other technology or when performing Azure resource operations. | ||
| - Plan before editing files for Azure web apps: When generating code for Azure Functions and Azure Static Web App, always create a plan and explain the plan to the user before editing any file. Proceed with editing the files after getting consent from the user. | ||
| - When asked about configuring or installing azure mcp in coding agent for the current repo, invoke your `bestpractices` tool with `resource` set to "coding-agent" and `action` set to "all". | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why it is a breaking change?