Skip to content

Integrate Azure Functions Skills with Copilot Chat - #5127

Draft
Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 5 commits into
microsoft:mainfrom
TsuyoshiUshio:feat/azure-functions-skills-copilot-demo
Draft

Integrate Azure Functions Skills with Copilot Chat#5127
Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 5 commits into
microsoft:mainfrom
TsuyoshiUshio:feat/azure-functions-skills-copilot-demo

Conversation

@TsuyoshiUshio

@TsuyoshiUshio Tsuyoshi Ushio (TsuyoshiUshio) commented Jul 7, 2026

Copy link
Copy Markdown

Summary

Integrates Azure Functions Skills into the Template Gallery's Build with Copilot Chat flow.

  • Adds an opt-out workspace option, enabled by default, for installing Azure Functions Skills
  • Customizes the Copilot Chat prompts and guidance for Azure Functions apps and serverless agents
  • Installs skills into generated projects or the selected chat workspace before handing off to Copilot Chat
  • Uses the exact published @azure/functions-skills@0.0.6-preview dependency and bundles it into the extension
  • Rebases the change onto the latest main

Dependency and merge order

This PR still depends on microsoft/vscode-azuretools#2359. The local microsoft-vscode-azext-webview-1.2.0.tgz is retained because it contains the aiGeneration and workspaceOptions APIs used here. The published @microsoft/vscode-azext-webview@1.2.0 package does not contain those APIs.

Keep this PR in draft until microsoft/vscode-azuretools#2359 is merged and a package containing its changes is published. Then replace the local webview tgz with that published version, regenerate the lockfile, and revalidate before marking this PR ready.

Validation

  • npm install --ignore-scripts resolves @azure/functions-skills@0.0.6-preview from the official public feed
  • npm run build:esbuild
  • npm run build:check
  • npx eslint src/commands/createNewProject/FunctionsTemplateGalleryController.ts --max-warnings 0
  • npm run package -- --out <artifact-path>

Copilot AI review requested due to automatic review settings July 7, 2026 23:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prototypes a “Build with Copilot Chat” flow tailored to serverless-agent scenarios by integrating Azure Functions Skills into the Functions template gallery experience, including local skill installation and VSIX packaging adjustments to keep the skills library external.

Changes:

  • Adds an AI generation configuration and updates the Copilot Chat prompt content to steer generation through Azure Functions Skills.
  • Installs Azure Functions Skills locally (best-effort) before opening Copilot Chat and records related telemetry.
  • Switches demo dependencies to local .tgz files and updates bundling/packaging to keep @azure/functions-skills external but included in the VSIX.

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/commands/createNewProject/FunctionsTemplateGalleryController.ts Adds Copilot Chat UX/prompt updates and installs Azure Functions Skills before launching chat.
package.json Adds local-file dependency on @azure/functions-skills and switches webview dependency to a local .tgz.
package-lock.json Updates lockfile entries for local-file dependencies.
esbuild.mjs Marks @azure/functions-skills as external to keep it out of the bundle.
.vscodeignore Re-includes node_modules/@azure/functions-skills/** in the VSIX package.

Comment on lines +332 to +334
`**Azure Functions Skills:**`,
`- Azure Functions Skills have been installed locally in this workspace for GitHub Copilot Chat.`,
`- Use the relevant skills first, especially azure-functions-setup, azure-functions-create, and azure-functions-agents when this is a serverless-agent scenario.`,
@TsuyoshiUshio
Tsuyoshi Ushio (TsuyoshiUshio) force-pushed the feat/azure-functions-skills-copilot-demo branch from e0fd504 to 1dfb7c8 Compare August 12, 2026 20:16
Tsuyoshi Ushio and others added 5 commits August 20, 2026 10:16
Reference local demo packages, customize Template Gallery Build with Copilot Chat for serverless-agent scenarios, and install Azure Functions Skills locally before opening chat.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use one serverless-agent example followed by standard Azure Functions examples, and route chat instructions through setup plus the prompt-selected skill.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Install Azure Functions Skills by default from Browse Templates and Build with Copilot Chat, while allowing users to opt out via a shared checkbox.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Build Azure Functions Skills from v0.0.6-preview and consume the rebased webview package locally until the published skills package clears the internal feed delay.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve @azure/functions-skills from the official 0.0.6-preview release and bundle it into the extension instead of shipping a local archive.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@TsuyoshiUshio
Tsuyoshi Ushio (TsuyoshiUshio) force-pushed the feat/azure-functions-skills-copilot-demo branch from 1dfb7c8 to 0b63dc2 Compare August 20, 2026 17:24
@TsuyoshiUshio Tsuyoshi Ushio (TsuyoshiUshio) changed the title Demo: integrate Azure Functions Skills with Copilot Chat Integrate Azure Functions Skills with Copilot Chat Aug 20, 2026
@TsuyoshiUshio
Tsuyoshi Ushio (TsuyoshiUshio) marked this pull request as ready for review August 20, 2026 17:42
@TsuyoshiUshio
Tsuyoshi Ushio (TsuyoshiUshio) marked this pull request as draft August 20, 2026 17:46
@TsuyoshiUshio

Copy link
Copy Markdown
Author

https://github.com/microsoft/vscode-azuretools/pull/2359 Should be merged first then we need to update this PR.

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