aztfmod/terraform-provider-azurecaf/naming-rules-drift-check

Claude Code and agent skill by aztfmod/terraform-provider-azurecaf

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install aztfmod/terraform-provider-azurecaf/naming-rules-drift-check

SKILL.md

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>

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
185
Repository forks
99
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aztfmod/terraform-provider-azurecaf/naming-rules-drift-check/badge)](https://verified-skill.com/skills/aztfmod/terraform-provider-azurecaf/naming-rules-drift-check)

Something wrong with this skill or its page? Tell us.