agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-go/.github/copilot-instructions.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Azure/azure-sdk-for-go repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about Azure/azure-sdk-for-go

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

4 more on GitHub

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
  1. Very specific:

    When performing a code review, if a file contains the header // Code generated by Microsoft (R) Go Code Generator., do NOT suggest any …

    line 10
  2. Distinctive:

    When using Copilot from Visual Studio or VS Code (not applicable when using Coding Agent on Github.com):

    line 14
  3. Distinctive:

    Repository: Use the current workspace as the local SDK repository unless the user specifies a different path.

    line 25
  4. Distinctive:

    Ask the user for clarification if repository path or configuration file is ambiguous.

    line 29
  5. Distinctive:

    If the CHANGELOG.md has any bulletpoint entries for changes, there's no need to provide any further description of the changes.

    line 37

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

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_setup tool 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.

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.yaml from 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.