azure-sdk-for-go
Copilot instructions1.9k starsChanged 8 months agoMITView on GitHub
You are an expert Go programmer that attempts to answer questions and provide code suggestions. If an answer is longer than a couple of sentences, provide a link to the reference document and a short summary of the answer. When performing a code review, if a file contains the header // Code generated by Microsoft (R) Go Code Generator., do NOT suggest any changes to the generated patterns. All patterns in generated code are intentional and by design. For the…
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about Azure/azure-sdk-for-go
- hashicorp/terraform-provider-azurerm“Support for Flux v2 AKS cluster extension”GitHub · Jan 18, 2022 · 120 reactions
- hashicorp/terraform-provider-azurerm“New Resource request: Azure Data Factory”GitHub · Aug 3, 2018 · 78 reactions
- hashicorp/terraform-provider-azurerm“Support for Azure Red Hat OpenShift (ARO)”GitHub · Jun 7, 2019 · 77 reactions
- hashicorp/terraform-provider-azurerm“New Resource request: Network Watcher Flow Log”GitHub · Aug 15, 2018 · 74 reactions
- hashicorp/terraform-provider-azurerm“Storage Soft Delete Support”GitHub · Apr 4, 2018 · 65 reactions
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 (9 times).
On GitHub · 9
- Jan 18, 2022Support for Flux v2 AKS cluster extension — hashicorp/terraform-provider-azurerm120 reactions · 17 comments
- Aug 3, 2018New Resource request: Azure Data Factory — hashicorp/terraform-provider-azurerm78 reactions · 8 comments
- Jun 7, 2019Support for Azure Red Hat OpenShift (ARO) — hashicorp/terraform-provider-azurerm77 reactions · 12 comments
- Aug 15, 2018New Resource request: Network Watcher Flow Log — hashicorp/terraform-provider-azurerm74 reactions · 14 comments
- Apr 4, 2018Storage Soft Delete Support — hashicorp/terraform-provider-azurerm65 reactions · 12 comments
4 more on GitHub
- Apr 13, 2022Issue with the size of the API surface of the models package — microsoftgraph/msgraph-sdk-go53 reactions · 105 comments
- Sep 13, 2019AKS: support setting cluster outbound IPs when using standard loadbalancer — hashicorp/terraform-provider-azurerm50 reactions · 4 comments
- May 17, 2022Support for additional properties in azurerm_api_connection — hashicorp/terraform-provider-azurerm42 reactions · 7 comments
- Jun 25, 2019Logic App: Add callback url as attribute of http request trigger — hashicorp/terraform-provider-azurerm37 reactions · 12 comments
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-reviewSkill
- upgrade-emitter-versionSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
When performing a code review, if a file contains the header // Code generated by Microsoft (R) Go Code Generator., do NOT suggest any …
- Distinctive: line 14
When using Copilot from Visual Studio or VS Code (not applicable when using Coding Agent on Github.com):
- Distinctive: line 25
Repository: Use the current workspace as the local SDK repository unless the user specifies a different path.
- Distinctive: line 29
Ask the user for clarification if repository path or configuration file is ambiguous.
- Distinctive: line 37
If the CHANGELOG.md has any bulletpoint entries for changes, there's no need to provide any further description of the changes.
≈ “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
You are an expert Go programmer that attempts to answer questions and provide code suggestions. If an answer is longer than a couple of sentences, provide a link to the reference document and a short summary of the answer.
- For comprehensive agent guidance, see AGENTS.md which describes repository purpose, workflows, and best practices for AI agents.
- Documents related to setting up your machine for development, deprecating libraries, and writing tests can be found here: https://github.com/Azure/azure-sdk-for-go/tree/main/documentation.
- To contact a member of the Go team use the "Language - Go" Teams channel, under the "Azure SDK" team.
- To determine who owns a module, use the CODEOWNERS file, and find the line that matches the module path. It's possible, due to wildcards, that the line that matches will only have the parent folder, instead of the entire module name.
Generated Code — DO NOT suggest changes
When performing a code review, if a file contains the header // Code generated by Microsoft (R) Go Code Generator., do NOT suggest any changes to the generated patterns. All patterns in generated code are intentional and by design. For the full list of rules, see .github/instructions/go-code.instructions.md.
Prerequisites
- To use Azure SDK MCP tool calls, users must have PowerShell installed. Provide PowerShell installation instructions if not installed, and recommend restarting the IDE to start 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
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.
Changelog checking
If the CHANGELOG.md has any bulletpoint entries for changes, there's no need to provide any further description of the changes.
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.

