Enable Azure Skills for GitHub Copilot#11939
Open
srnagar wants to merge 2 commits intomicrosoft:developfrom
Open
Enable Azure Skills for GitHub Copilot#11939srnagar wants to merge 2 commits intomicrosoft:developfrom
srnagar wants to merge 2 commits intomicrosoft:developfrom
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) require an authorized user to comment /azp run to run. |
Collaborator
|
Would automatically installing the skill on users' machines be inappropriate? |
Member
Author
|
The skills will not be automatically enabled. The user still has to opt-in to use skills. So, in this change, we only set it up as part of the plugin startup and let users know that they have to opt-in to use skills. Also, before using each skill in the chat, there will be an elicitation request sent to the user to allow or deny using a skill. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) require an authorized user to comment /azp run to run. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this implement/fix? Explain your changes.
This pull request introduces a new post-startup activity for automatically installing or updating Azure Skills in the Azure MCP IntelliJ plugin. The key addition is the
AzureSkillsInitializerclass, which manages the lifecycle of Azure Skills usingnpxcommands, and the corresponding registration in the plugin's XML configuration. It also adds a registry key to allow users to disable this functionality.New Azure Skills auto-install/update feature:
AzureSkillsInitializerclass, which runs on project startup to check for Azure Skills installation and update status, performing a fresh install withnpx skills addif not present, or updating withnpx skills updateif more than 24 hours have passed since the last update. The process is logged and can be disabled via a registry key.AzureSkillsInitializeras apostStartupActivityinazure-intellij-plugin-azuremcp.xml, so it executes automatically after project startup.Configuration and user control:
azure.skills.autoconfigure.disabledto allow users to disable the auto-install/update of Azure Skills, with a description and default value set tofalse.Does this close any currently open issues?
No
Has this been tested?