Skip to content

Enable Azure Skills for GitHub Copilot#11939

Open
srnagar wants to merge 2 commits intomicrosoft:developfrom
srnagar:azure-skills
Open

Enable Azure Skills for GitHub Copilot#11939
srnagar wants to merge 2 commits intomicrosoft:developfrom
srnagar:azure-skills

Conversation

@srnagar
Copy link
Copy Markdown
Member

@srnagar srnagar commented Apr 9, 2026

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 AzureSkillsInitializer class, which manages the lifecycle of Azure Skills using npx commands, 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:

  • Added AzureSkillsInitializer class, which runs on project startup to check for Azure Skills installation and update status, performing a fresh install with npx skills add if not present, or updating with npx skills update if more than 24 hours have passed since the last update. The process is logged and can be disabled via a registry key.
  • Registered AzureSkillsInitializer as a postStartupActivity in azure-intellij-plugin-azuremcp.xml, so it executes automatically after project startup.

Configuration and user control:

  • Added a new registry key azure.skills.autoconfigure.disabled to allow users to disable the auto-install/update of Azure Skills, with a description and default value set to false.

Does this close any currently open issues?

No

Has this been tested?

  • Tested

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) require an authorized user to comment /azp run to run.

@wangmingliang-ms
Copy link
Copy Markdown
Collaborator

Would automatically installing the skill on users' machines be inappropriate?
This approach sounds likely to provoke user complaints. I recommend offering the skill to users at an appropriate moment rather than installing it directly on their machines.

@srnagar
Copy link
Copy Markdown
Member Author

srnagar commented Apr 9, 2026

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
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants