agentleFS
tsubakimototsubakimoto/skills/azure-resource-abbreviations/SKILL.md

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.

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

    Use the bundled C# file-based app scripts for deterministic local lookup:

    line 38
  2. Very specific:

    Treat references\abbreviations.json as the fast local catalog.

    line 43
  3. Distinctive:

    When composing a full resource name, distinguish between:

    line 47
  4. Distinctive:

    Call out special cases instead of forcing a normal prefix pattern:

    line 51
  5. Very specific:

    Run them from this skill directory or pass the full path to the .cs file

    line 63
  6. Distinctive:

    When responding, prefer this structure when it fits:

    line 69
  7. Distinctive:

    If there are multiple matches, do not guess.

    line 79
  8. Distinctive:

    Use the generated naming token in Bicep, Terraform, or documentation:

    line 126
  9. Distinctive:

    Prefer the smallest exact answer when the user only needs one abbreviation.

    line 140
  10. Distinctive:

    Prefer the category scripts when the user is designing standards for many related resources.

    line 141
  11. Distinctive:

    Prefer the template script when the user asks for a full naming convention rather than only a prefix.

    line 142
  12. Distinctive:

    Use the Microsoft Learn page to verify final wording when the request is compliance-sensitive, governance-oriented, or the local catalog …

    line 144

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

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

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

TaskCommand
Look up one resourcedotnet run --file scripts\lookup_abbreviation.cs -- "<resource type>"
List supported categoriesdotnet run --file scripts\list_categories.cs
Show resources in a categorydotnet run --file scripts\get_category.cs -- "<category>"
Generate naming templatesdotnet run --file scripts\generate_template.cs -- "<resource type>"

Workflow

  1. First determine whether the user needs a single abbreviation, a shortlist of likely Azure resource matches, a category view, or a naming convention/template.
  2. Use the bundled C# file-based app scripts for deterministic local lookup:
    • lookup_abbreviation.cs for one resource type or fuzzy matching
    • list_categories.cs to browse available groups
    • get_category.cs to inspect all resources in a category
    • generate_template.cs when the user wants a reusable naming pattern
  3. Treat references\abbreviations.json as 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
  4. 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
  5. 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 .cs file

Output Expectations

When responding, prefer this structure when it fits:

FieldMeaning
ResourceHuman-readable Azure resource type
ProviderAzure resource provider / local resource key when relevant
Official prefixRaw catalog value
Naming tokenPrefix normalized for use inside a full name
NotesAny 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:

  1. AI + Machine Learning
  2. Analytics and IoT
  3. Compute and Web
  4. Containers
  5. Databases
  6. Developer Tools
  7. Integration
  8. Management and Governance
  9. Migration
  10. Networking
  11. Security
  12. 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

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.