azure-resource-abbreviations
Skill2 starsChanged 8 months agoMITView on GitHub
Use this skill whenever working with Azure resources and you need to define, verify, or understand resource naming conventions and abbreviations. This includes creating resource naming standards, validating Azure resource names, generating abbreviated names for resource types, checking naming templates for IaC, or following Microsoft's Cloud Adoption Framework guidance. Trigger even when the user only mentions Azure naming conventions, CAF naming, resource abbreviations, prefixes, or wants help naming Azure infrastructure consistently.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- azure-paas-supportSkill
- backlog-apiSkill
- csharp-file-based-appsSkill
- dependabot-auto-mergeSkill
- devblog-updatesSkill
- github-changelogSkill
- github-entra-federated-credentialsSkill
- git-worktreeSkill
- hatena-blog-publisherSkill
- marp-cssSkill
- marp-deckSkill
- summarized-postSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
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
- Distinctive: line 38
Use the bundled C# file-based app scripts for deterministic local lookup:
- Very specific: line 43
Treat references\abbreviations.json as the fast local catalog.
- Distinctive: line 47
When composing a full resource name, distinguish between:
- Distinctive: line 51
Call out special cases instead of forcing a normal prefix pattern:
- Very specific: line 63
Run them from this skill directory or pass the full path to the .cs file
- Distinctive: line 69
When responding, prefer this structure when it fits:
- Distinctive: line 79
If there are multiple matches, do not guess.
- Distinctive: line 126
Use the generated naming token in Bicep, Terraform, or documentation:
- Distinctive: line 140
Prefer the smallest exact answer when the user only needs one abbreviation.
- Distinctive: line 141
Prefer the category scripts when the user is designing standards for many related resources.
- Distinctive: line 142
Prefer the template script when the user asks for a full naming convention rather than only a prefix.
- Distinctive: line 144
Use the Microsoft Learn page to verify final wording when the request is compliance-sensitive, governance-oriented, or the local catalog …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Azure Resource Abbreviations Skill
This skill helps with Azure resource abbreviations and naming conventions. It uses the bundled
references\abbreviations.json catalog for fast local lookup and the Microsoft Cloud Adoption
Framework page as the authoritative fallback for ambiguous or newly added resources.
Skill directory
~/.copilot/skills/azure-resource-abbreviations/
Quick Reference
| Task | Command |
| Look up one resource | dotnet run --file scripts\lookup_abbreviation.cs -- "<resource type>" |
| List supported categories | dotnet run --file scripts\list_categories.cs |
| Show resources in a category | dotnet run --file scripts\get_category.cs -- "<category>" |
| Generate naming templates | dotnet run --file scripts\generate_template.cs -- "<resource type>" |
Workflow
- First determine whether the user needs a single abbreviation, a shortlist of likely Azure resource matches, a category view, or a naming convention/template.
- Use the bundled C# file-based app scripts for deterministic local lookup:
lookup_abbreviation.csfor one resource type or fuzzy matchinglist_categories.csto browse available groupsget_category.csto inspect all resources in a categorygenerate_template.cswhen the user wants a reusable naming pattern
- Treat
references\abbreviations.jsonas the fast local catalog. If a query is ambiguous, missing, or the result will be used in governance/policy documentation, verify it against the Microsoft Learn page:https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations - When composing a full resource name, distinguish between:
- Official prefix: the raw value from the bundled catalog, which can include a trailing
- - Naming token: the prefix with a trailing
-removed so it can be embedded in a larger naming template
- Official prefix: the raw value from the bundled catalog, which can include a trailing
- Call out special cases instead of forcing a normal prefix pattern:
- Some resources use descriptive names rather than a standard abbreviation
- Some resources have stricter naming rules than others
- Storage accounts and DNS-related resources often need extra rule checks beyond the prefix
Script Requirements
The scripts in scripts\ are implemented as C# file-based apps and use #:include.
- Require .NET SDK 10.0.300 or later
- Run them from this skill directory or pass the full path to the
.csfile
Output Expectations
When responding, prefer this structure when it fits:
| Field | Meaning |
| Resource | Human-readable Azure resource type |
| Provider | Azure resource provider / local resource key when relevant |
| Official prefix | Raw catalog value |
| Naming token | Prefix normalized for use inside a full name |
| Notes | Any ambiguity, special naming rules, or CAF verification note |
If there are multiple matches, do not guess. Return the shortlist and explain which one seems closest.
Resource Categories
The bundled catalog exposes these top-level categories:
- AI + Machine Learning
- Analytics and IoT
- Compute and Web
- Containers
- Databases
- Developer Tools
- Integration
- Management and Governance
- Migration
- Networking
- Security
- Storage
Examples
Look up a resource abbreviation
dotnet run --file scripts\lookup_abbreviation.cs -- "Virtual Machine"
dotnet run --file scripts\lookup_abbreviation.cs -- "Storage Account"
dotnet run --file scripts\lookup_abbreviation.cs -- "Application Gateway"Explore a category
dotnet run --file scripts\list_categories.cs
dotnet run --file scripts\get_category.cs -- "Networking"Generate a naming template
dotnet run --file scripts\generate_template.cs -- "Web App"Use the generated naming token in Bicep, Terraform, or documentation:
param environment string
param region string
var namingToken = 'vm'
var resourceName = '${namingToken}-${environment}-web01-${region}'Guidance
- Prefer the smallest exact answer when the user only needs one abbreviation.
- Prefer the category scripts when the user is designing standards for many related resources.
- Prefer the template script when the user asks for a full naming convention rather than only a prefix.
- Use the Microsoft Learn page to verify final wording when the request is compliance-sensitive, governance-oriented, or the local catalog result looks outdated.
- Explain that Microsoft Learn is authoritative if it disagrees with the local catalog.
References
- Local catalog: references/abbreviations.json
- Reference guide: references/NAMING_GUIDE.md
- Microsoft Learn: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations
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.

