azure-deploy skill include apim and azure-aigateway updates based on recommended patterns#604
azure-deploy skill include apim and azure-aigateway updates based on recommended patterns#604annaji-msft wants to merge 11 commits intomicrosoft:mainfrom
Conversation
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
There was a problem hiding this comment.
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>
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>
There was a problem hiding this comment.
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.
|
|
||
| --- | ||
|
|
||
| ## Prerequisites and Validation |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
I like that you have trigger phrases - seeing these being picked up more reliably
Is there room for compaction of the description?
There was a problem hiding this comment.
we should try running sensei on it and see how it goes
| } | ||
| } | ||
| } | ||
| ## Architecture |
There was a problem hiding this comment.
Do we need the architecture diagram here? Want to be conscious of tokens being utilized
| @@ -0,0 +1,444 @@ | |||
| # Azure API Management Deployment Guide | |||
There was a problem hiding this comment.
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.
|
@annaji-msft Do you still plan to merge the changes? |
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
azure-deploy skill
Testing