build-sample-matrix
Build the matrix of all the samples throughout different frameworks.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 6.1k
- Forks
- 5.2k
01 前言 Front Matter
- name
- build-sample-matrix
- description
- Build the matrix of all the samples throughout different frameworks.
02 资源文件 1
- 脚本scripts/validate_links.py3.2 KB
03 SKILL.md 正文
Repositary information.
The source code repositories and samples are organized in the following structure:
| Language | Repository | Samples | Notes |
|---|---|---|---|
| Python | https://github.com/Azure/azure-sdk-for-python.git | https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/samples | All samples are organized by folders according to their topic. In most cases the sample has sync and async implementation. For example, feature.py and feature_async.py are demonstrating sync and async features. |
| C# | https://github.com/Azure/azure-sdk-for-net.git | https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/ai/Azure.AI.Projects/tests/Samples, https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/ai/Azure.AI.Extensions.OpenAI/tests/Samples, https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/ai/Azure.AI.Projects.Agents/tests/Samples | C# sample consists of two parts: the source code in the folder /sdk/ai/<package_name>/tests/Samples and corresponding .md files go to /sdk/ai/<package_name>/Samples, where <package_name> is Azure.AI.Projects, Azure.AI.Extensions.OpenAI or Azure.AI.Projects.Agents |
| JavaScript | https://github.com/Azure/azure-sdk-for-js.git | https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/ai/ai-projects/samples | The samples are split by two folders stable version (v2) and beta (v2-beta). Each of these folders contain samples for JavaScript and Typescript. Samples are further split by folders according to their topics. |
| Java | https://github.com/Azure/azure-sdk-for-java.git | https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents and https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-projects/src/samples | java code consists of two packagfes: azure-ai-projects and azure-ai-agents. Both of these projects contain samples, organized by folders according to their topics. |
Instruction
Please use Server github-mcp-server, analyze samples and build the sample matrix in an Markdown format for developers to create missing samples. Here is an example. Let us say we have two samples: "Agents CRUD" and "Agents with default projects". Foo is present only in Python an C# and Bar is present only in Java and JavaScript.
| Feature | Description | Python | C# | JavaScript | Java |
|---|---|---|---|---|---|
| Foo | Demonstrate Agents CRUD operations | Agents basic, Agents basic async | Agents basic | !!!Absent!!! | !!!Absent!!! |
| Bar | Demonstrate Agents with default projects | !!!Absent!!! | !!!Absent!!! | [Agents with default projects](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/ai/ai-projects/samples/v2/javascript/agents/agentBasicWithDefaultProject.js, https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/ai/ai-projects/samples/v2/typescript/src/agents/agentBasicWithDefaultProject.ts) | !!!Absent!!! |
- Make sure, that all the sample files are included into the matrix, except for ones, containing only utility functions look for samples in all subdirectories.
- The tool samples for Python are located in https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/samples/agents/tools
- If python sample contains only synchronous or asynchronous sample, mark it as sync-only or async-only respectively.
Validate links in the generated file by running:
python validate_links.py path/to/file.md
python3 validate_links.py path/to/file.md
04 同仓库更多 Skills
update-chat-api
Use when: updating, exporting, refreshing, or validating the public API baseline for Azure.Messaging.WebPubSub.Chat after a public API change.
search-documents
E2E workflow skill for Azure.Search.Documents SDK (TypeSpec + heavy customization). Handles full release cycles and partial updates: SHA update; code generation; build; customization fixes; ServiceVersion sync; testing; API export; changelog; version; samples; formatting; release metadata. WHEN: create new package version for Azure.Search.Documents; regenerate Azure.Search.Documents; fix Azure.Search.Documents bug; release Azure.Search.Documents; update Azure.Search.Documents spec. Do not use for Azure.ResourceManager.Search or Azure.Provisioning.Search.
search-documents-version-diff
Diff the current Azure.Search.Documents public API surface against a previous published version and detect preview-to-preview regressions where the SDK customization layer was not bubbled up after a TypeSpec change. Use whenever the user asks to compare Azure.Search.Documents betas, verify no Azure.Search.Documents preview features dropped, regression audit between Azure.Search.Documents versions, sanity-check a release branch for Azure.Search.Documents, or investigate a missing Azure.Search.Documents preview feature — even if they don't say the word "diff". Specifically catches dropped wrappers (QueryAnswer/QueryCaption/QueryRewrites style), lost SearchOptions aggregator redirectors, `@@access("internal")` flips, deleted-instead-of-gated `#if AZURE_SEARCH_PREVIEW` blocks, dropped `ServiceVersion` enum values, and convenience-to-protocol downgrades.
search-documents-typespec-validation
TypeSpec validation skill for Azure.Search.Documents SDK. Performs a COMPLETE validation of ALL operations, ALL models, ALL enums, and ALL properties against the TypeSpec definition at any pinned commit. Works for any API version. Generates a full gap report: missing features, extra features, naming mismatches, and recommended fix location. WHEN: "validate Azure.Search.Documents SDK against TypeSpec", "detect Azure.Search.Documents typespec feature gaps", "what is missing from the Azure.Search.Documents SDK", "compare Azure.Search.Documents SDK to spec", "full spec coverage audit for Azure.Search.Documents". Do NOT use for version-to-version diff or regression detection — use search-documents-version-diff instead.
test-skill_file
Roll dice using a random number generator.
roll-dice
Roll dice using a random number generator. Use when asked to roll a die (d6, d20, etc.), roll dice, or generate a random dice roll.