<< All versions

Skill v1.0.1

currentTrusted Publisher100/100
microsoft/foundry-dev-tools/validate-microsoft-foundry-hosted-agent

~1 modified

──Details
PublishedNovember 4, 2026 at 04:06 AM
Content Hashsha256:2f5437619efc4a6b...
Git SHA29f94a7e67a9
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.5 KB)
SKILL.md1.5 KBactive
SKILL.md · 27 lines · 1.5 KB

name: validate-microsoft-foundry-hosted-agent description: Validate one Microsoft Foundry hosted agent against Microsoft Foundry best practices and open its validation report. Use when the user explicitly asks to validate a Foundry hosted agent or invokes this skill. compatibility: Requires GitHub Copilot with the microsoft-foundry skill and agent-builder canvas. metadata: version: "1.0.1"


Validate a Microsoft Foundry hosted agent

Treat the slash-command input as free-form validation input:

  1. Use its agentPath, or the current working directory when none is supplied. Preserve rulesFile and other input.
  2. Load the microsoft-foundry skill and follow foundry-agent/validate/validate.md. Pass agentPath as the only target context; the canonical workflow selects and validates one hosted agent.
  3. If the workflow returns no-hosted-agent, ask once for a direct path and retry. Stop if the user provides no path or the retry finds no agent.
  4. When the workflow returns a JSON/Markdown report pair, open exactly one agent-builder canvas (Microsoft Foundry) with the returned JSON path in its validation report view. Pass this object as open_canvas's input:

``json { "view": "validation-report", "report": "<absolute or workspace-relative JSON report path>" } ``

  1. Derive a stable instance ID from the report path. Use only alphanumeric characters, ., _, or -; start with an alphanumeric character; and limit it to 128 characters.
  2. Do not open a canvas without a report pair.
← v1.0.0All versions