All skills
microsoft avatar

/microsoft-foundry

@04110d9
by microsoftmicrosoft/skills3.1k stars
351

Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, create agent, update agent, add tool to agent, invoke agent, agent.yaml, agent insights, pull agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, prompt optimizer, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure-prepare).

Use this Skill: https://skilld.dev/gh/microsoft/skills/microsoft-foundry

This session only. Nothing lands on disk.

modelsdeploy-modelTEST_PROMPTS.md

≈842 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Deploy Model — Test Prompts

Test prompts for the unified deploy-model skill with router, preset, customize, and capacity sub-skills.

Preset Mode (Quick Deploy)

# Prompt Expected
1 Deploy gpt-4o Preset — confirm project, deploy with defaults
2 Set up o3-mini for me Preset — pick latest version automatically
3 I need a text-embedding-ada-002 deployment Preset — non-chat model
4 Deploy gpt-4o to the best region Preset — region scan, no capacity target

Customize Mode (Guided Flow)

# Prompt Expected
5 Deploy gpt-4o with custom settings Customize — walk through version → SKU → capacity → RAI
6 I want to choose the version and SKU for my o3-mini deployment Customize — explicit keywords
7 Set up a PTU deployment for gpt-4o Customize — PTU requires SKU selection
8 Deploy gpt-4o with a specific content filter Customize — RAI policy flow

Capacity Discovery

# Prompt Expected
9 Where can I deploy gpt-4o? Capacity — show regions, no deploy
10 Which regions have o3-mini available? Capacity — run script, show table
11 Check if I have enough quota for gpt-4o with 500K TPM Capacity — high target, some regions may not qualify

Chained (Capacity → Deploy)

# Prompt Expected
12 Find me the best region and project to deploy gpt-4o with 10K capacity Capacity → Preset
13 Deploy o3-mini with 200K TPM to whatever region has it Capacity → Preset
14 I want to deploy gpt-4o with 50K capacity and choose my own settings Capacity → Customize

Negative / Edge Cases

# Prompt Expected
15 Deploy unicorn-model-9000 Fail gracefully — model doesn't exist
16 Deploy gpt-4o with 999999K TPM Capacity shows no region qualifies
17 Deploy gpt-4o (with az login expired) Auth error caught early
18 Delete my gpt-4o deployment Should NOT trigger deploy-model
19 List my current deployments Should NOT trigger deploy-model
20 Deploy gpt-4o to mars-region-1 Fail gracefully — invalid region

Project Selection

# Prompt Expected
21 Deploy gpt-4o (with PROJECT_RESOURCE_ID set) Show current project, confirm before deploying
22 Deploy gpt-4o (no PROJECT_RESOURCE_ID) Ask user to pick a project
23 Deploy gpt-4o to project my-special-project Use named project directly

Ambiguous / Routing Stress

# Prompt Expected
24 Help me with model deployment Preset (default) — vague, no keywords
25 I need gpt-4o deployed fast with good capacity Preset — "fast" + vague capacity
26 Can you configure a deployment? Customize — "configure" keyword, should ask which model
27 What's the best way to deploy gpt-4o with 100K? Capacity → Preset

Automated Test Results (2026-02-09)

All 18 tests passed. Deployments created during testing were cleaned up.

Category Tests Result
Preset 3/3 ✅
Customize 2/2 ✅
Capacity 3/3 ✅
Chained 1/1 ✅
Negative 5/5 ✅
Ambiguous 4/4 ✅

Source: SKILL.md on GitHub

2 warnings3d4 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    This skill provides a comprehensive environment for managing the end-to-end lifecycle of AI agents, models, and infrastructure on Microsoft Foundry. It includes sub-skills for deployment, evaluation, fine-tuning, and troubleshooting. The skill utilizes dynamic code execution and shell command wrappers, which are used within the context of local development and cloud orchestration. All external resources and dependencies originate from trusted organizations and well-known services.

  • Socket3d

    2 alerts: gptSecurity, gptAnomaly

  • Snyk3d

    Risk: LOW · No issues

  • Runlayer7mo

    36/36 files flagged

Signed by skilld at 04110d9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 20 hours ago.

Activeupdated last week
metadata
{
  "author": "Microsoft",
  "version": "1.2.26"
}

README badge

README badge for microsoft/skills/microsoft-foundry