azure-functions-connector-validate
Skill22 starsChanged 12 days agoMITView on GitHub
Validate a Connector Namespace connection and MCP tool contract before an Azure Functions Hosted Skill uses it. Use for connection and identity gates, MCP initialize and tools/list checks, schema comparison, safe read/write smoke tests, downstream side-effect verification, and Hosted Skill tool-selection testing.
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- evals/azure-functions-update/fixtures/AGENTS.mdAGENTS.md
- starter/hosted-skills/agent-files/AGENTS.mdAGENTS.md
- templates/agents/AGENTS.mdAGENTS.md
- templates/starter/agent-files/hosted-skills/AGENTS.mdAGENTS.md
- tests/fixtures/starter/agent-files/AGENTS.mdAGENTS.md
- tests/fixtures/starter/agent-files-unknown/AGENTS.mdAGENTS.md
- starter/hosted-skills/agent-files/CLAUDE.mdCLAUDE.md
- templates/starter/agent-files/hosted-skills/CLAUDE.mdCLAUDE.md
- tests/fixtures/starter/agent-files/CLAUDE.mdCLAUDE.md
- tests/fixtures/starter/agent-files-unknown/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- starter/hosted-skills/agent-files/copilot-instructions.mdCopilot instructions
- templates/starter/agent-files/hosted-skills/copilot-instructions.mdCopilot instructions
- tests/fixtures/starter/agent-files/copilot-instructions.mdCopilot instructions
- tests/fixtures/starter/agent-files-unknown/copilot-instructions.mdCopilot instructions
- azure-functions-best-practicesSkill
- azure-functions-commonSkill
- azure-functions-connector-createSkill
- azure-functions-connector-mcpSkill
- azure-functions-connector-validateSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- azure-functions-health-statusSkill
- azure-functions-helpSkill
- azure-functions-hosted-skills-migrateSkill
- azure-functions-hosted-skillsSkill
- azure-functions-inventorySkill
- azure-functions-setupSkill
- azure-functions-updateSkill
- frdSkill
- azure-functions-best-practicesSkill
- azure-functions-commonSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- azure-functions-health-statusSkill
- azure-functions-helpSkill
- azure-functions-inventorySkill
- azure-functions-setupSkill
- azure-functions-updateSkill
- azure-functions-connector-createSkill
- azure-functions-connector-mcpSkill
- azure-functions-connector-validateSkill
- azure-functions-hosted-skills-migrateSkill
- azure-functions-hosted-skillsSkill
- azure-functions-best-practicesSkill
- azure-functions-commonSkill
- azure-functions-connector-createSkill
- azure-functions-connector-mcpSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 14 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Treat connector readiness as a release gate.
- Distinctive: line 36
Do not invent a write target or recipient.
- Distinctive: line 41
Run gates in order and stop dependent tests after a failure:
- Very specific: line 43
Connection status: Verify the intended connection is Connected and belongs to the expected downstream account or purpose.
- Distinctive: line 45
Identity access: Verify the deployed Function App managed identity has an explicit connection access policy.
- Distinctive: line 47
Configuration state: Verify the intended MCP server config is enabled, references the correct connection, has an endpoint, and exposes no …
- Distinctive: line 49
Runtime configuration: Verify the deployed endpoint app setting and optional managed identity client ID resolve to real values.
- Very specific: line 52
Protocol initialization: Run MCP initialize. A local test normally proves the approved developer identity path.
- Very specific: line 55
Tool discovery: Run tools/list. Map every expected operation ID to its exact deployed tool name and reject unintended write or high-risk …
- Distinctive: line 59
Read-only smoke test: Call the least risky representative operation and verify its business result, not merely HTTP or MCP transport …
- Distinctive: line 61
Controlled write test: When approved, create one bounded side effect.
- Distinctive: line 76
Never repeat a user-visible write because telemetry is delayed or ambiguous.
- Distinctive: line 77
Use synthetic or clearly labeled test content.
- Distinctive: line 78
Avoid production recipients, channels, calendars, files, and records unless the user explicitly approves them.
- Distinctive: line 80
Do not print tokens, function keys, MCP endpoint URLs, connection runtime URLs, or connector callback URLs.
- Distinctive: line 82
Keep sensitive telemetry content disabled unless the user explicitly approves the data exposure.
- Very specific: line 83
Do not run a deployment collector from this connector skill.
- Distinctive: line 98
no unintended operation is exposed.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Validate Connectors for Azure Functions Hosted Skills
Treat connector readiness as a release gate. Validate the deployed connection, identity boundary, MCP contract, connector behavior, and Hosted Skill integration before enabling scheduled, event-driven, or autonomous use.
Ownership
This skill owns validation and evidence. It may create bounded test artifacts only when the user approves the side effect and cleanup. It does not broaden the operation set, change authentication, or silently repair infrastructure. Route those failures to:
azure-functions-connector-createfor connection, identity, or authorization problems,azure-functions-connector-mcpfor missing tools or schema-contract problems,azure-functions-hosted-skillsfor agent instructions, trigger behavior, or result handling.
Required inputs
Obtain:
- connection and MCP server config resource identifiers,
- expected downstream authorization owner/purpose,
- expected tools and schema assertions,
- explicitly excluded operations,
- safe read-only test inputs,
- approved controlled-write test, verification method, and cleanup,
- Hosted Skill definition that should consume the tools.
Do not invent a write target or recipient. If a safe write test is unavailable, report the gate as not verified rather than substituting a production side effect.
Validation sequence
Run gates in order and stop dependent tests after a failure:
- Connection status. Verify the intended connection is
Connectedand belongs to the expected downstream account or purpose. - Identity access. Verify the deployed Function App managed identity has an explicit connection access policy. Developer access does not prove managed-identity access.
- Configuration state. Verify the intended MCP server config is enabled, references the correct connection, has an endpoint, and exposes no unexpected operations.
- Runtime configuration. Verify the deployed endpoint app setting and optional managed identity client ID resolve to real values. An unresolved MCP URL causes the runtime to skip the server.
- Protocol initialization. Run MCP
initialize. A local test normally proves the approved developer identity path; the managed-identity path is proven by the access-policy gate and the Hosted Skill smoke test. - Tool discovery. Run
tools/list. Map every expected operation ID to its exact deployed tool name and reject unintended write or high-risk tools. - Schema contract. Compare required fields, nested objects, arrays, formats, enums, and descriptions with the publication handoff and authoritative connector metadata.
- Read-only smoke test. Call the least risky representative operation and verify its business result, not merely HTTP or MCP transport success.
- Controlled write test. When approved, create one bounded side effect. Verify it in the downstream system and remove or reverse it when cleanup is supported.
- Hosted Skill smoke test. Invoke the actual Hosted Skill through its intended trigger or endpoint. Confirm it selects the intended MCP server/tool, supplies valid arguments, handles the result, and respects confirmation or fallback behavior.
- Record the decision. Report each gate as pass, fail, or not verified with evidence and blockers. Do not enable automation when a required gate failed.
Load deployment-gates.md for the evidence table, failure routing, and release decision.
Safety rules
- A bare HTTP
200from an MCP endpoint is not connector success. - Successful Function execution is not proof of a downstream side effect.
- Never repeat a user-visible write because telemetry is delayed or ambiguous.
- Use synthetic or clearly labeled test content.
- Avoid production recipients, channels, calendars, files, and records unless the user explicitly approves them.
- Do not print tokens, function keys, MCP endpoint URLs, connection runtime URLs, or connector callback URLs.
- Keep sensitive telemetry content disabled unless the user explicitly approves the data exposure.
- Do not run a deployment collector from this connector skill. The
azure-functions-hosted-skillsskill owns the internalazure_deployment_observedevent after its supported deployment command succeeds. Do not duplicate that event.
Definition of done
Validation is complete only when every required gate has an explicit status and evidence. The connector is ready for Hosted Skill automation only when:
- the connection and managed identity gates pass,
initializeandtools/listpass,- the deployed tool set and schemas match the approved contract,
- required read and controlled-write tests pass,
- the downstream result is verified,
- the Hosted Skill selects and handles the intended tool correctly,
- no unintended operation is exposed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

