Agent skill

Example Generator

by aztfmod in aztfmod/terraform-provider-azurecaf

Generate Terraform example configurations for a given resource type using the azurecaf provider.

MITAuto-check passedDevOps & Cloud

Install Example Generator

skills CLI
$ npx skills add aztfmod/terraform-provider-azurecaf --skill example-generator -a claude-code

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

GitHub CLI
$ gh skill install aztfmod/terraform-provider-azurecaf example-generator --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/example-generator .claude/skills/example-generator && 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
example-generator
GitHub stars
188
Token cost
~446 tokens
SKILL.md length
41 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Generate Terraform example configurations for a given resource type using the azurecaf provider.

  • Works in 5 steps: Look up resource definition → Generate basic example → Generate data source example → …
  • : documentation requests
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Example creation

What it does

Example Generator is an agent skill from aztfmod/terraform-provider-azurecaf. Generate Terraform example configurations for a given resource type using the azurecaf provider. Produces ready-to-use HCL code for documentation or onboarding. Triggers on: documentation requests, example creation, contributor guidance.

Its SKILL.md is about 450 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, covering Infrastructure as code. It works with Terraform. The repository describes itself as: Terraform provider for the Terraform platform engineering for Azure. The licence is MIT.

When your agent uses it

  • : documentation requests
  • Example creation
  • Contributor guidance

Example prompts

  • “/example-generator”

Workflow steps

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

  1. Look up resource definition
  2. Generate basic example
  3. Generate data source example
  4. Generate multi-resource example
  5. Generate passthrough example

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are hcl and bash).

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

  • Network

    No URLs in SKILL.md.

    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

Example Generator loads about 446 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 41 words of instructions outside code blocks.

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

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). 41 words, ~446 tokens.

Download SKILL.mdSave it as .claude/skills/example-generator/SKILL.md (or your agent's skills folder).
name
example-generator
description
Generate Terraform example configurations for a given resource type using the azurecaf provider. Produces ready-to-use HCL code for documentation or onboarding. Triggers on: documentation requests, example creation, contributor guidance.

Example Generator

Procedure

1. Look up resource definition
bash
grep -A 15 '"name": "<resource_name>"' resourceDefinition.json

Extract: name, slug, min_length, max_length, scope, dashes, lowercase.

2. Generate basic example
hcl
resource "azurecaf_name" "example" {
  name          = "demo"
  resource_type = "<resource_name>"
  prefixes      = ["dev"]
  suffixes      = ["001"]
  random_length = 3
  clean_input   = true
}

output "name" {
  value = azurecaf_name.example.result
}
# Expected output format: <slug>-dev-demo-<random>-001
# Length: <min_length>-<max_length> characters
3. Generate data source example
hcl
data "azurecaf_name" "example" {
  name          = "demo"
  resource_type = "<resource_name>"
  prefixes      = ["prod"]
  suffixes      = ["eu"]
}

output "name" {
  value = data.azurecaf_name.example.result
}
4. Generate multi-resource example

If the user wants examples showing multiple resources:

hcl
resource "azurecaf_name" "multi" {
  name          = "myapp"
  resource_types = [
    "<resource_name_1>",
    "<resource_name_2>",
  ]
  prefixes      = ["dev"]
  random_length = 3
}

output "results" {
  value = azurecaf_name.multi.results
}
5. Generate passthrough example
hcl
resource "azurecaf_name" "passthrough" {
  name          = "my-existing-name"
  resource_type = "<resource_name>"
  passthrough   = true
}
# Output: my-existing-name (validated against naming rules only)

© 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/example-generator of aztfmod/terraform-provider-azurecaf.

Open the folder on GitHubat commit ac74615

Compare with similar skills

Example Generator 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.

Example Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Example Generator this skillaztfmod/terraform-provider-azurecaf188—~446Automated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw35k6 repos~4.2kAutomated safety check: PassApache-2.0
Terraform Skillantonbabenko/terraform-skill2.4k1 repos~5.1kAutomated safety check: PassApache-2.0
Review Docshashicorp/terraform-provider-aws11k—~1.3kAutomated safety check: PassMPL-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    35k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Terraform Skill

    antonbabenko/terraform-skill

    A skill your agent uses when writing, reviewing, or debugging Terraform/OpenTofu modules, tests, CI, scans, or state ops - diagnoses failure mode (identity churn, secrets, blast radius, CI drift…

    2.4k GitHub starsUsed in 1 repo~5.1k tokens
    DevOps & CloudAuto-check passed
  • Review Docs

    hashicorp/terraform-provider-aws

    Official

    Review a Terraform AWS Provider PR's end-user documentation (website/docs//.markdown): whether docs are needed, description openings, argument/attribute style, section structure, tags wording, code…

    11k GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k 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 yesterday
    DevOps & CloudAuto-check: notes

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 16 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 16 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 16 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 16 days ago
    Auto-check passed
  • Naming Rules Drift Check

    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.

    188 GitHub stars~507 tokensUpdated 16 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 16 days ago
    Auto-check passed

Works with

Categories

Questions about Example Generator

What does Example Generator do?

Generate Terraform example configurations for a given resource type using the azurecaf provider. Example Generator is an agent skill from aztfmod/terraform-provider-azurecaf. Generate Terraform example configurations for a given resource type using the azurecaf provider.

When should I use Example Generator?

Example Generator fits situations like: : documentation requests; example creation; contributor guidance.

How do I install Example Generator in Claude Code?

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

How do I install Example Generator in Codex?

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

Can I use Example Generator 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 example-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/example-generator, .gemini/skills/example-generator, .github/skills/example-generator and .opencode/skills/example-generator in your project.

What does Example Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Example Generator is instructions for the agent only.

Does Example Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Example Generator 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 Example Generator use?

Example Generator 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 Example Generator use?

About 446 tokens (SKILL.md is roughly 1.8k 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 Example Generator?

Skills that share tags, products or a category with Example Generator: Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 35k stars), Terraform Skill (antonbabenko/terraform-skill, 2.4k stars), Review Docs (hashicorp/terraform-provider-aws, 11k stars) and Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Example Generator?

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.