feat: add Foundry agent validation skill entry point - #3115
Merged
Xiaofu Huang (XiaofuHuang) merged 11 commits intoAug 26, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Xiaofu Huang (XiaofuHuang)
marked this pull request as ready for review
August 26, 2026 03:28
Copilot started reviewing on behalf of
Xiaofu Huang (XiaofuHuang)
August 26, 2026 03:29
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new Foundry hosted-agent validation sub-skill entry point under the existing microsoft-foundry/foundry-agent content, defining a read-only workflow that evaluates a hosted agent against best-practice rules and emits structured JSON + Markdown reports.
Changes:
- Added a validation workflow document (
validate.md) that defines path resolution, rule selection/validation, rule execution semantics, and report generation. - Introduced JSON Schemas for custom rule files and validation reports, plus a Markdown report template.
- Added an initial default rules YAML containing a Toolbox/MCP best-practice recommendation.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| plugins/azure-skills/skills/microsoft-foundry/foundry-agent/validate/validate.md | Defines the end-to-end hosted-agent validation workflow and behavioral constraints. |
| plugins/azure-skills/skills/microsoft-foundry/foundry-agent/validate/references/rules-schema.json | Adds a JSON Schema for validating custom rule files. |
| plugins/azure-skills/skills/microsoft-foundry/foundry-agent/validate/references/report-schema.json | Adds a JSON Schema for the generated validation report format. |
| plugins/azure-skills/skills/microsoft-foundry/foundry-agent/validate/references/report-template.md | Adds the Markdown template for human-readable validation results. |
| plugins/azure-skills/skills/microsoft-foundry/foundry-agent/validate/references/default-rules.yaml | Seeds a default rule set focused on Toolbox-based MCP consumption. |
Suppressed comments (1)
plugins/azure-skills/skills/microsoft-foundry/foundry-agent/validate/references/rules-schema.json:85
rules-schema.jsondoesn’t setadditionalProperties: falsefor the root schema or for each rule object, so typos/unknown fields in custom rules can silently pass validation. Tightening this makes the “list all errors and stop” behavior more reliable.
}
}
}
}
}
}
}
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
anchenyi
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
microsoft-foundryrouting for nowFuture integration
When the validation flow and its integration coverage are ready, add this sub-skill to
microsoft-foundry/SKILL.mdwith narrow routing for explicit hosted-agent best-practice validation requests.Checklist
cd tests && npm test)fix:,feat:,feature:,chore:,misc:,test:,eval:tests/,npm run test:vally -- --plugin <plugin-dirname> --skill <skill>)