Skip to content

Comments

azure-deploy skill include apim and azure-aigateway updates based on recommended patterns#604

Open
annaji-msft wants to merge 11 commits intomicrosoft:mainfrom
annaji-msft:main
Open

azure-deploy skill include apim and azure-aigateway updates based on recommended patterns#604
annaji-msft wants to merge 11 commits intomicrosoft:mainfrom
annaji-msft:main

Conversation

@annaji-msft
Copy link
Contributor

@annaji-msft annaji-msft commented Jan 28, 2026

Refocused the azure-aigateway skill on AI-specific capabilities (models, MCP tools, agents) and moved APIM deployment to azure-deploy. The skill now follows the "golden path" philosophy with clear, focused responsibilities.

note Azure MCP does not support APIM

Changes

azure-aigateway skill

- Simplified SKILL.md from 365 lines to ~130 lines with progressive disclosure
- AI-focused triggers: "configure my model", "configure my tool", "add Azure OpenAI backend", "add AI Foundry model"
- New architecture diagram showing Users/Agents → AI Gateway (Secure • Observe • Control) → Backend services
- Created references/:
  - policies.md - Detailed AI governance policies (token limits, semantic caching, content safety)
  - patterns.md - Step-by-step configuration patterns (add AI backend, load balancing, content safety setup)
  - troubleshooting.md - Common issues and solutions

azure-deploy skill

- Added APIM to description and trigger phrases ("deploy APIM", "create API Management")
- Added APIM detection in the application detection workflow
- Created reference/apim.md - Comprehensive APIM deployment guide with Basicv2 SKU (5-10 min deploy)

Testing

- [ ]  Verify azure-aigateway triggers work for AI configuration scenarios
- [ ]  Verify azure-deploy triggers work for APIM deployment
- [ ]  Test reference file links resolve correctly

annaji-msft and others added 7 commits January 27, 2026 12:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…P conversion

- Add trigger 'Add my model behind gateway' with Pattern 8 for AI Foundry model discovery
- Add triggers for OpenAPI/Swagger import with Pattern 9
- Add triggers for MCP conversion with Pattern 10
- Pattern 8: Query AI Foundry models via az cognitiveservices account list-models and deploy behind gateway
- Pattern 9: Import API from OpenAPI spec (URL or local file) with supported formats table
- Pattern 10: Convert existing API operations to MCP server with operation selection
- Simplified SKILL.md to ~130 lines with references to detailed docs
- Focus on AI models, MCP tools, and agents governance
- Added references/policies.md, patterns.md, troubleshooting.md
- Updated azure-deploy to include APIM deployment
- Added azure-deploy/reference/apim.md for APIM guide
- Updated triggers: 'configure my model', 'add Azure OpenAI backend'
- Architecture diagram shows Users/Agents -> Gateway -> Backends
Copilot AI review requested due to automatic review settings January 28, 2026 21:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refocuses the azure-aigateway skill on AI-specific APIM configuration (models/tools/agents) while moving APIM deployment guidance and triggers into azure-deploy, aligning responsibilities with recommended “golden path” patterns.

Changes:

  • Added an APIM deployment reference and updated azure-deploy triggers and detection guidance to cover APIM/API gateway scenarios.
  • Simplified azure-aigateway skill documentation and introduced focused AI gateway references (policies, patterns, troubleshooting).
  • Added detailed AI governance and troubleshooting documentation for APIM-as-AI-Gateway scenarios.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
plugin/skills/azure-deploy/reference/apim.md New comprehensive APIM deployment guide for API Gateway / AI Gateway use cases.
plugin/skills/azure-deploy/SKILL.md Extends skill description and detection guidance to include APIM deployment and routing to azure-aigateway for AI configuration.
plugin/skills/azure-aigateway/SKILL.md Rewritten, shorter skill doc focused on AI governance/config/testing, with references to detailed docs.
plugin/skills/azure-aigateway/references/policies.md New policy reference patterns for semantic caching, token limits, content safety, metrics, etc.
plugin/skills/azure-aigateway/references/patterns.md New step-by-step configuration patterns and cross-linking to deployment guidance.
plugin/skills/azure-aigateway/references/troubleshooting.md New troubleshooting guide for common APIM AI gateway issues.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 28, 2026 21:36
annaji-msft and others added 2 commits January 28, 2026 13:37
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@kvenkatrajan kvenkatrajan left a comment

Choose a reason for hiding this comment

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

Heads up there's a major refactor of the deploy skill at - #609. Please coordinate with @wbreza on how this should be applied for deploy


---

## Prerequisites and Validation
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for validating prerequisites

name: azure-aigateway
description: Bootstrap and configure Azure API Management as an AI Gateway for securing, observing, and controlling AI models, tools (MCP Servers), and agents. Use this skill when setting up a gateway for models or tools, rate limiting model/tool requests, adding semantic caching, content safety, or load balancing to AI endpoints.
description: >-
Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like that you have trigger phrases - seeing these being picked up more reliably
Is there room for compaction of the description?

Copy link
Contributor

Choose a reason for hiding this comment

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

we should try running sensei on it and see how it goes

}
}
}
## Architecture
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need the architecture diagram here? Want to be conscious of tokens being utilized

@@ -0,0 +1,444 @@
# Azure API Management Deployment Guide
Copy link
Contributor

Choose a reason for hiding this comment

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

This PR needs a refresh. I think azure-prepare is a better place for this apim.md file based on the new file structure we have.

@JasonYeMSFT
Copy link
Member

@annaji-msft Do you still plan to merge the changes?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants