setup-azd: Instructions file for GitHub Copilot

.github/copilot-instructions.md

setup-azd copilot-instructions.md is an instructions file for GitHub Copilot from Azure/setup-azd. It costs 295 tokens per session, scanned A, original, MIT.

Repository instructions for Azure/setup-azd, a GitHub Action that installs the Azure Developer CLI in a workflow. They require reading the repository's main guidance and describe the release rules.

In plain words
What is it for?
Use them when developing, reviewing, or releasing this GitHub Action.
Why use it?
They prevent missed version updates, incorrect tags, and skipped checks when changing or releasing the action.

Instructions file for GitHub Copilot ✓ vendor

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions AGENTS.md.

This is Azure/setup-azd's own configuration. It tells GitHub Copilot how to work on setup-azd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything setup-azd configures →

About the project

Azure/setup-azd is a GitHub Action that installs the Azure Developer CLI, a command-line tool for provisioning Azure resources and deploying applications. It supports workflows that choose a specific CLI version or use the latest one.

Azure/setup-azd · 11 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to Azure/setup-azd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Azure/setup-azd/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/Azure/setup-azd

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-azd copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/azure/setup-azd/copilot-instructions/github.svg)](https://agentmods.dev/instructions/azure/setup-azd/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/azure/setup-azd/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure/setup-azd/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-azd copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/azure/setup-azd/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure/setup-azd/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 295 This file is loaded in full into every session.
When invoked 295 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00295 $0.00295
Opus 5.5 $0.00118 $0.00118
Sonnet 5.5 $0.00059 $0.00059
Haiku 4.5 $0.00030 $0.00030

Measured yesterday against content hash 469f82f1872f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-azd copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 16 lines

What it actually says

setup-azd — Instructions for Copilot Chat and Copilot code review

For any work in this repository, especially release work and code reviews, you MUST read AGENTS.md in its entirety first.

Release work

When the user asks to cut a release, publish a new version, tag, or draft a GitHub Release for this action, follow the release workflow documented in AGENTS.md § Release workflow, which mirrors the local Copilot skill at .github/skills/github-action-release/SKILL.md. Invoke the github-action-release skill if available.

Never skip these invariants:

  • Bump version in all four files: CHANGELOG.md, README.md (only the embedded action.yml snippet — NOT the uses: samples), package.json, and both version fields in package-lock.json.
  • README uses: samples stay on the latest floating major tag (for example, @v2), not a pinned SemVer.
  • After merge, create the full SemVer tag AND force-move the latest floating major tag to the new commit.
  • Always pre-flight with uses: Azure/setup-azd@main in a consumer pipeline before releasing.
  • Always post-validate with the new tag in a consumer pipeline after publishing.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 16 lines · 295 tokens per session scan A 469f82f1872f

Subscribe to this mod's changes

setup-azd copilot-instructions.md is an instructions file published in the GitHub repository Azure/setup-azd (11 stars, last pushed 2d ago), licensed MIT. It adds 295 tokens to every session, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

setup-azd copilot-instructions.md compared with instructions from other repositories

setup-azd copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-azd copilot-instructions.mdAzure/setup-azdInstructions file112d agoMITA295GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot