Agent skill

Naming Rules Drift Check

by aztfmod in aztfmod/terraform-provider-azurecaf

Re-fetch Azure naming rules for a set of resources and compare against current regex/length/scope values in resourceDefinition.json.

MITAuto-check passedDevOps & Cloud

Install Naming Rules Drift Check

skills CLI
$ npx skills add aztfmod/terraform-provider-azurecaf --skill naming-rules-drift-check -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aztfmod/terraform-provider-azurecaf naming-rules-drift-check --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/naming-rules-drift-check .claude/skills/naming-rules-drift-check && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
naming-rules-drift-check
GitHub stars
188
Token cost
~507 tokens
SKILL.md length
105 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Re-fetch Azure naming rules for a set of resources and compare against current regex/length/scope values in resourceDefinition.json.

  • Works in 4 steps: Select resources to check → Fetch current Azure naming rules → Compare → …
  • : periodic audit
  • Calls python3; reaches learn.microsoft.com
  • Resource validation

What it does

Naming Rules Drift Check is an agent skill from aztfmod/terraform-provider-azurecaf. Re-fetch Azure naming rules for a set of resources and compare against current regex/length/scope values in resourceDefinition.json. Detects when Azure has changed naming constraints. Triggers on: periodic audit, resource validation.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. It works with Microsoft Azure. The repository describes itself as: Terraform provider for the Terraform platform engineering for Azure. The licence is MIT.

When your agent uses it

  • : periodic audit
  • Resource validation

Example prompts

  • “/naming-rules-drift-check”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Select resources to check
  2. Fetch current Azure naming rules
  3. Compare
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit ac74615. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • learn.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Naming Rules Drift Check loads about 507 tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 105 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~507

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aztfmod/terraform-provider-azurecaf at commit ac74615, republished under its MIT licence (© aztfmod). 105 words, ~507 tokens.

Download SKILL.mdSave it as .claude/skills/naming-rules-drift-check/SKILL.md (or your agent's skills folder).
name
naming-rules-drift-check
description
Re-fetch Azure naming rules for a set of resources and compare against current regex/length/scope values in resourceDefinition.json. Detects when Azure has changed naming constraints. Triggers on: periodic audit, resource validation.

Naming Rules Drift Check

Procedure

1. Select resources to check

If a specific list is provided, use it. Otherwise, select a batch of resources:

bash
python3 -c "
import json
with open('resourceDefinition.json') as f:
    resources = json.load(f)
# Select resources with official namespace (can verify against docs)
official = [r for r in resources if r.get('official', {}).get('resource_provider_namespace')]
for r in official[:20]:  # Check 20 at a time
    ns = r['official']['resource_provider_namespace']
    print(f'{r[\"name\"]}|{ns}|{r[\"min_length\"]}|{r[\"max_length\"]}|{r[\"scope\"]}')
"
2. Fetch current Azure naming rules

For each resource's resource_provider_namespace, look up the naming rules:

URL: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules

Use Microsoft Docs MCP tools (microsoft_docs_fetch) to fetch and parse the rules page. Find the section matching the resource provider namespace.

3. Compare

For each resource, compare:

  • min_length vs documented minimum
  • max_length vs documented maximum
  • scope vs documented scope
  • dashes vs whether hyphens are documented as valid
  • lowercase vs whether only lowercase is documented
  • validation_regex vs pattern derived from documented valid characters
4. Report
## Naming Rules Drift Report

### Drifted Resources (<count>)
| Resource | Field | Current | Azure Docs | Action |
|----------|-------|---------|------------|--------|
| <name>   | max_length | 63 | 128 | Update |

### Verified Resources (<count>)
All other checked resources match Azure documentation.

### Summary
- Resources checked: <count>
- Matches: <count>
- Drift detected: <count>

© aztfmod, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/naming-rules-drift-check of aztfmod/terraform-provider-azurecaf.

Open the folder on GitHubat commit ac74615

Compare with similar skills

Naming Rules Drift Check next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Naming Rules Drift Check compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Naming Rules Drift Check this skillaztfmod/terraform-provider-azurecaf188—~507Automated safety check: PassMIT
Cloud Cost Optimizationwshobson/agents40k14 repos~1.7kAutomated safety check: PassMIT
Terravision Cloud Diagramspatrickchugh/terravision1.6k—~5.6kAutomated safety check: NotesAGPL-3.0-only
Thesvgglincker/thesvg2.8k—~1.5kAutomated safety check: PassMIT
Azure PricingAzure/Copilot-Studio-and-Azure1102 repos~2.4kAutomated safety check: PassMIT
Azure Architecture Autopilotgithub/awesome-copilot40k1 repos~1.9kAutomated safety check: PassMIT

Similar skills

  • Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.

    40k GitHub starsUsed in 14 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • Thesvg

    glincker/thesvg

    Fetch brand SVG logos and cloud architecture icons (AWS, Azure, GCP) from theSVG.

    2.8k GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Azure Pricing

    Azure/Copilot-Studio-and-Azure

    Official

    Fetches real-time Azure retail pricing using the Azure Retail Prices API (prices.azure.com) and estimates Copilot Studio agent credit consumption.

    110 GitHub starsUsed in 2 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    DevOps & CloudAuto-check passed
  • Aspire

    microsoft/aspire.dev

    Official

    Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.

    196 GitHub starsUsed in 4 repos~1.1k tokens
    DevOps & CloudAuto-check passed

More from aztfmod/terraform-provider-azurecaf

All 22 skills in this repo
  • Azure Caf Sync

    aztfmod/terraform-provider-azurecaf

    Fetch the latest CAF abbreviations page from Microsoft Learn and compare against resourceDefinition.json official.slug values.

    188 GitHub stars~464 tokensUpdated 18 days ago
    Auto-check passed
  • Changelog Update

    aztfmod/terraform-provider-azurecaf

    Update CHANGELOG.md with a new entry under the correct section.

    188 GitHub stars~642 tokensUpdated 18 days ago
    Auto-check passed
  • Docs Resource Sync

    aztfmod/terraform-provider-azurecaf

    Ensure documentation files under docs/resources/ and docs/data-sources/ reflect current resource types with accurate examples.

    188 GitHub stars~469 tokensUpdated 18 days ago
    Auto-check passed
  • Issue To Resource Spec

    aztfmod/terraform-provider-azurecaf

    Parse a 'new resource request' GitHub issue and extract the resource type, slug, and naming constraints to produce a draft resourceDefinition.json entry.

    188 GitHub stars~452 tokensUpdated 18 days ago
    Auto-check passed
  • Resource Bulk Import

    aztfmod/terraform-provider-azurecaf

    Accept a list of Azure resource types, batch-research each via azure-naming-research conventions, generate JSON entries, and insert all into resourceDefinition.json.

    188 GitHub stars~476 tokensUpdated 18 days ago
    Auto-check passed
  • Resource Definition JSON

    aztfmod/terraform-provider-azurecaf

    Manage resource entries in resourceDefinition.json for the terraform-provider-azurecaf naming provider.

    188 GitHub stars~336 tokensUpdated 18 days ago
    Auto-check passed

Works with

Categories

Questions about Naming Rules Drift Check

What does Naming Rules Drift Check do?

Re-fetch Azure naming rules for a set of resources and compare against current regex/length/scope values in resourceDefinition.json. Naming Rules Drift Check is an agent skill from aztfmod/terraform-provider-azurecaf.json.

When should I use Naming Rules Drift Check?

Naming Rules Drift Check fits situations like: : periodic audit; resource validation.

How do I install Naming Rules Drift Check in Claude Code?

Run `npx skills add aztfmod/terraform-provider-azurecaf --skill naming-rules-drift-check -a claude-code`. Or copy the skill folder (.github/skills/naming-rules-drift-check in aztfmod/terraform-provider-azurecaf) into .claude/skills/naming-rules-drift-check in your project. Claude Code loads it when a task matches its description.

How do I install Naming Rules Drift Check in Codex?

Run `npx skills add aztfmod/terraform-provider-azurecaf --skill naming-rules-drift-check -a codex`. Or copy the skill folder (.github/skills/naming-rules-drift-check in aztfmod/terraform-provider-azurecaf) into .agents/skills/naming-rules-drift-check in your project. Codex loads it when a task matches its description.

Can I use Naming Rules Drift Check in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aztfmod/terraform-provider-azurecaf --skill naming-rules-drift-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/naming-rules-drift-check, .gemini/skills/naming-rules-drift-check, .github/skills/naming-rules-drift-check and .opencode/skills/naming-rules-drift-check in your project.

What does Naming Rules Drift Check need to run?

Going by SKILL.md and its folder, Naming Rules Drift Check needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Naming Rules Drift Check access the network?

SKILL.md names 1 domain. In commands or code: learn.microsoft.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Naming Rules Drift Check safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Naming Rules Drift Check use?

Naming Rules Drift Check is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Naming Rules Drift Check use?

About 507 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Naming Rules Drift Check?

Skills that share tags, products or a category with Naming Rules Drift Check: Cloud Cost Optimization (wshobson/agents, 40k stars), Terravision Cloud Diagrams (patrickchugh/terravision, 1.6k stars), Thesvg (glincker/thesvg, 2.8k stars) and Azure Pricing (Azure/Copilot-Studio-and-Azure, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Naming Rules Drift Check?

aztfmod (a GitHub organization) maintains it in aztfmod/terraform-provider-azurecaf, which has 188 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 21, 2026.

Source: aztfmod/terraform-provider-azurecaf on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.