Follow the create-azure-agent skill workflow to generate Azure AI Foundry deployment wrappers for an existing agent skill.
Inputs
$ARGUMENTS— optional path to the skill directory to deploy. Omit to start with discovery.
Steps
- If
$ARGUMENTSprovides a skill directory, resolve and validate the path - Follow the create-azure-agent phased workflow: confirm the target skill, gather Azure configuration (subscription, resource group, region, naming preferences), then run
scaffold_azure_agent.pyto generate Bicep templates and the Python Azure AI Projects SDK deployment wrapper - Summarize generated files in the skill's
azure_deployment/directory - Instruct on reviewing
.bicepparameters and runningaz deployment group create
Output
azure_deployment/azure_agent.py (Azure AI Projects SDK orchestration script) and azure_deployment/main.bicep (Cosmos DB, AI Search, and Foundry Project infrastructure).
Edge Cases
- If
$ARGUMENTSis empty: ask for the target skill directory before proceeding - If Azure credentials are not configured: instruct user to run
az loginfirst - Azure AI Foundry enforces a 128-tool limit — scaffold generates a focused worker agent
- Offer to run
/agent-scaffolders:audit-pluginto validate the skill before deploying