azure-sdk-for-net
Copilot instructions6.1k starsChanged 8 months agoMITView on GitHub
Note: For general AI agent guidelines and repository overview, see AGENTS.md at the repository root. This repo contains Azure SDKs for various Azure services and tools that generate them. For detailed workflow instructions, see SDK Release. Before committing changes to SDK packages under sdk/, always run the pre-commit validation checks described in the pre-commit-checks skill. These checks run dotnet format, regenerate public API listings, update snippets, and regenerate code as needed. They may produce additional file changes that must be…
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about Azure/azure-sdk-for-net
- Azure/Azurite“Add support for Blob Batch operations”GitHub · Nov 26, 2019 · 33 reactions
- microsoft/DockerTools“Cannot authenticate using DefaultAzureCredential when running in container”GitHub · Jul 5, 2022 · 27 reactions
- NixOS/nixpkgs“.NET Core tooling stops working due to `ñ` in release codename and lack of HTTP headers sanitization”GitHub · May 29, 2024 · 15 reactions
- dotnet/msbuild“Using ValueTuple with PackageReference on Azure Cloud Services”GitHub · Jul 27, 2018 · 15 reactions
- A Hacker News story“DocumentDB as not a service”Hacker News · Mar 9, 2015 · 2 points
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub, Bluesky and Hacker News (9 times).
On GitHub · 4
- Nov 26, 2019Add support for Blob Batch operations — Azure/Azurite33 reactions · 15 comments
- Jul 5, 2022Cannot authenticate using DefaultAzureCredential when running in container — microsoft/DockerTools27 reactions · 12 comments
- May 29, 2024.NET Core tooling stops working due to `ñ` in release codename and lack of HTTP headers sanitization — NixOS/nixpkgs15 reactions · 29 comments
- Jul 27, 2018Using ValueTuple with PackageReference on Azure Cloud Services — dotnet/msbuild15 reactions · 8 comments
On Bluesky · 4
- Nov 27, 2024📦 Azure / azure-sdk-for-net ⭐ 5,492 (+1) 🗒 C# This repository is for active development of the Azure SDK for .NET. For consumers of the… — @github-trending.bsky.social1 likes and repost
- Oct 26, 2024📦 Azure / azure-sdk-for-net ⭐ 5,378 (+2) 🗒 C# This repository is for active development of the Azure SDK for .NET. For consumers of the… — @github-trending.bsky.social1 likes and repost
- Jun 14, 2024📦 Azure / azure-sdk-for-net ⭐ 5,089 (+2) 🗒 C# This repository is for active development of the Azure SDK for .NET. For consumers of the… — @github-trending.bsky.social1 likes and repost
- Apr 30, 2024📦 Azure / azure-sdk-for-net ⭐ 4,985 (+2) This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we… — @github-trending.bsky.social1 likes and repost
On Hacker News · 1
- Mar 9, 2015DocumentDB as not a service2 points
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-workflowsSkill
- analyze-ci-failuresSkill
- auto-build-repairSkill
- azsdk-common-apiview-feedback-resolutionSkill
- azsdk-common-generate-sdk-locallySkill
- azsdk-common-pipeline-analysisSkill
- azsdk-common-pipeline-fixerSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-releaseSkill
- azure-sdk-mgmt-pr-reviewSkill
- csharp-azure-spector-coverage-gapsSkill
- dpg-migrationSkill
- find-package-skillSkill
- mgmt-review-comment-resolutionSkill
- mitigate-breaking-changesSkill
- ownersSkill
- pre-commit-checksSkill
- provisioning-library-generationSkill
- refresh-arm-sdk-releaseSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
When using Copilot from Visual Studio or VS Code (not applicable when using Coding Agent on Github.com):
- Very specific: line 22
Always run npm install in the /eng/packages/http-client-csharp directory before running the generator.
- Very specific: line 23
Always run /eng/packages/http-client-csharp/eng/scripts/Generate.ps1 to regenerate the test projects to validate the result of generator …
- Distinctive: line 38
Repository: Use the current workspace as the local SDK repository unless the user specifies a different path.
- Distinctive: line 42
Ask the user for clarification if repository path or configuration file is ambiguous.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
Project Overview
Note: For general AI agent guidelines and repository overview, see AGENTS.md at the repository root.
This repo contains Azure SDKs for various Azure services and tools that generate them.
Prerequisites
- To use MCP tool calls, PowerShell must be installed. Provide PowerShell installation instructions if not installed, and recommend restarting the IDE to use the MCP server.
- When using Copilot from Visual Studio or VS Code (not applicable when using Coding Agent on Github.com):
- Always run the
azsdk_verify_setuptool first to validate the user's development environment for SDK MCP tools. - Do not proceed with any other tool execution until this step is complete.
- Skip this check only for queries that do not require tool execution.
- Always run the
Folder Structure
/eng/packages/http-client-csharp: Contains the source code of the generator for Azure Data Plane SDKs (aka Azure Generator)./eng/packages/http-client-csharp-mgmt: Contains the source code of the generator for Azure Management Plane SDKs (aka Azure Management Generator)./sdk: Contains the individual SDKs for Azure services.
Azure Generator
- Always run
npm installin the/eng/packages/http-client-csharpdirectory before running the generator. - Always run
/eng/packages/http-client-csharp/eng/scripts/Generate.ps1to regenerate the test projects to validate the result of generator code changes. - For emitter changes, always run
npm run lintandnpm run prettierin the/eng/packages/http-client-csharpdirectory to ensure the changes won't break CI.
Azure Management Generator
- Always run
npm installin the/eng/packages/http-client-csharp-mgmtdirectory before running the generator. - Always run
/eng/packages/http-client-csharp-mgmt/eng/scripts/Generate.ps1to regenerate the test projects to validate the result of generator code changes. - For emitter changes, always run
npm run lintandnpm run prettierin the/eng/packages/http-client-csharp-mgmtdirectory to ensure the changes won't break CI.
Local SDK Generation and Package Lifecycle (TypeSpec)
AUTHORITATIVE REFERENCE
For all TypeSpec-based SDK workflows (generation, building, validation, testing, versioning, and release preparation), follow #file:../eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md
DEFAULT BEHAVIORS
- Repository: Use the current workspace as the local SDK repository unless the user specifies a different path.
- Configuration: Identify
tsp-location.yamlfrom files open in the editor. If unclear, ask the user.
REQUIRED CONFIRMATIONS
Ask the user for clarification if repository path or configuration file is ambiguous.
SDK release
For detailed workflow instructions, see SDK Release.
Pre-Commit Validation
Before committing changes to SDK packages under sdk/, always run the pre-commit validation checks described in the pre-commit-checks skill. These checks run dotnet format, regenerate public API listings, update snippets, and regenerate code as needed. They may produce additional file changes that must be included in the commit.
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.

