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

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

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-net 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-net

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

On Bluesky · 4

On Hacker News · 1

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
  1. Distinctive:

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

    line 9
  2. Very specific:

    Always run npm install in the /eng/packages/http-client-csharp directory before running the generator.

    line 22
  3. Very specific:

    Always run /eng/packages/http-client-csharp/eng/scripts/Generate.ps1 to regenerate the test projects to validate the result of generator …

    line 23
  4. Distinctive:

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

    line 38
  5. Distinctive:

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

    line 42

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

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_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.

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 install in the /eng/packages/http-client-csharp directory before running the generator.
  • Always run /eng/packages/http-client-csharp/eng/scripts/Generate.ps1 to regenerate the test projects to validate the result of generator code changes.
  • For emitter changes, always run npm run lint and npm run prettier in the /eng/packages/http-client-csharp directory to ensure the changes won't break CI.

Azure Management Generator

  • Always run npm install in the /eng/packages/http-client-csharp-mgmt directory before running the generator.
  • Always run /eng/packages/http-client-csharp-mgmt/eng/scripts/Generate.ps1 to regenerate the test projects to validate the result of generator code changes.
  • For emitter changes, always run npm run lint and npm run prettier in the /eng/packages/http-client-csharp-mgmt directory 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.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.

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.

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.