azure-dev: Skill for Claude Code

.github/skills/azd-grpc-contracts/SKILL.md

azd-grpc-contracts is a skill for Claude Code, Codex from Azure/azure-dev. It costs 185 tokens per session (827 once invoked), scanned A, original, MIT.

A workflow for changing the protobuf contracts of azd extensions across stable and preview versions. Protobuf is a format for defining structured messages and services that programs use to communicate.

In plain words
What is it for?
Use it to inspect contract differences, add beta-only services or fields, validate changes, and graduate compatible features from v1beta to v1.
Why use it?
It prevents direct edits to generated files and helps keep preview changes compatible before they move into the stable API.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is Azure/azure-dev's own configuration. It tells Claude Code and Codex how to work on azure-dev 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 azure-dev configures →

About the project

Azure Developer CLI (azd) is a command-line tool for building, deploying, and operating applications on Azure. Developers use it to move through application workflows such as coding, building, deployment, and monitoring with Azure templates and resources. Its catalogue entries help AI agents work with azd and Azure application projects.

Azure/azure-dev · 570 stars · on GitHub · aka.ms

Reuse

Borrowing it

Nothing to install: this file belongs to Azure/azure-dev. 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/azure-dev/main/.github/skills/azd-grpc-contracts/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Azure/azure-dev

Made for: Claude Code, Codex.

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 azd-grpc-contracts

README.md
[![agentmods](https://agentmods.dev/badge/skills/azure/azure-dev/azd-grpc-contracts/github.svg)](https://agentmods.dev/skills/azure/azure-dev/azd-grpc-contracts)
Your own site
<a href="https://agentmods.dev/skills/azure/azure-dev/azd-grpc-contracts"><img src="https://agentmods.dev/badge/skills/azure/azure-dev/azd-grpc-contracts/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 azd-grpc-contracts

Your own site · 80×15
<a href="https://agentmods.dev/skills/azure/azure-dev/azd-grpc-contracts"><img src="https://agentmods.dev/badge/skills/azure/azure-dev/azd-grpc-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
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.00185 $0.00827
Opus 5.5 $0.00074 $0.00331
Sonnet 5.5 $0.00037 $0.00165
Haiku 4.5 $0.00018 $0.00083

Measured 29d ago against content hash 8e9bf701251f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

azd-grpc-contracts 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 29d ago.

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/skills/azd-grpc-contracts/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

azd gRPC contract lifecycle

Use this workflow as the safest and easiest path for changing the extension protobuf API. It owns the relationship between:

  • Stable source: cli/azd/grpc/proto/azd/extensions/v1
  • Preview source: cli/azd/grpc/proto/azd/extensions/v1beta
  • Generated contracts: cli/azd/pkg/azdext/contracts/{v1,v1beta}
  • Stable SDK facade: cli/azd/pkg/azdext
  • Generated beta adapters: cli/azd/internal/grpcserver/versioned_services_generated.go

Before changing these files, read:

  1. cli/azd/AGENTS.md
  2. cli/azd/docs/extensions/contract-versioning.md
  3. cli/azd/grpc/README.md

Never edit generated protobuf, facade, or adapter files directly.

Choose the workflow

Request Workflow
Explain the current channels or their differences Inspect state and delta
Add a preview field, enum value, method, message, or service Add to v1beta
Move a validated preview capability into stable Graduate to v1
Review a protobuf change Validate the change

{{ references/inspect-and-validate.md }}

{{ references/add-to-v1beta.md }}

{{ references/graduate-to-v1.md }}

Required invariants

  • v1 is compatibility protected and changes only additively.
  • Every stable symbol and method shape must have a compatible counterpart in v1beta; equivalently, v1 must remain a subset of v1beta.
  • A v1beta addition must not accidentally alter or remove an existing stable field, enum value, oneof, message, service, method, or streaming shape.
  • Beta-only behavior on a shared service needs a focused generated override. Unary adaptation discards beta request fields unknown to v1. Bidirectional stream adaptation preserves unknown wire fields for compatibility, but does not expose them as typed stable fields.
  • A beta-only service uses its native v1beta implementation rather than a stable adapter.
  • Graduation adds a compatible shape to v1; it does not remove the beta route.
  • Changing an existing public Go accessor from a v1beta return type to v1 is source-breaking. Stop and get an explicit API migration decision before making that change.

Read the full file on GitHub · 86 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 29d ago First seen · 86 lines · 185 tokens per session scan A 8e9bf701251f

Subscribe to this mod's changes

azd-grpc-contracts is a skill published in the GitHub repository Azure/azure-dev (570 stars, last pushed today), licensed MIT. It adds 185 tokens to every session and 827 once invoked, about $0.0007 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-09-25.

Related

Other skills, from other repositories

azure-eventgrid-dotnet

Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven"…

microsoft/skills · 80 tokens

azure-maps-search-dotnet

Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data. Triggers: "Azure Maps", "MapsSearchClient", "MapsRoutingClient", "MapsRenderingClient", "geocoding .NET", "route…

microsoft/skills · 91 tokens

microsoft-azure-webjobs-extensions-authentication-events-dotnet

Microsoft Entra Authentication Events SDK for .NET. Azure Functions triggers for custom authentication extensions. Use for token enrichment, custom claims, attribute collection, and OTP customization in Entra ID. Triggers: "Authentication Events", "WebJobsAuthenticationEventsTrigger", "OnTokenIssuanceStart"…

microsoft/skills · 97 tokens

azure-appconfiguration-java

Azure App Configuration SDK for Java. Centralized application configuration management with key-value settings, feature flags, and snapshots. Triggers: "ConfigurationClient java", "app configuration java", "feature flag java", "configuration setting java", "azure config java".

microsoft/skills · 55 tokens

azure-storage-queue-ts

Azure Queue Storage JavaScript/TypeScript SDK (@azure/storage-queue) for message queue operations. Use for sending, receiving, peeking, and deleting messages in queues. Supports visibility timeout, message encoding, and batch operations. Triggers: "queue storage", "@azure/storage-queue", "QueueServiceClient"…

microsoft/skills · 90 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens