Official agent skill

Itemgen Command Builder

by microsoft in microsoft/terraform-provider-fabric

Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command.

OfficialMPL-2.0Auto-check passedDevOps & Cloud

Install Itemgen Command Builder

skills CLI
$ npx skills add microsoft/terraform-provider-fabric --skill itemgen-command-builder -a claude-code

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

GitHub CLI
$ gh skill install microsoft/terraform-provider-fabric itemgen-command-builder --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/microsoft/terraform-provider-fabric.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/itemgen-command-builder .claude/skills/itemgen-command-builder && 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
itemgen-command-builder
GitHub stars
128
Token cost
~1.5k tokens
SKILL.md length
535 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MPL-2.0

At a glance

Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command.

  • Works in 3 steps: Determine the Archetype → Gather Flag Values → Build the Command
  • : scaffolding new Fabric Item resources using the itemgen code generator
  • SKILL.md covers Prerequisites, Step 1 — Determine the Archetype, Step 2 — Gather Flag Values and Step 3 — Build the Command, plus 1 more section
  • Calls go; reaches learn.microsoft.com

What it does

Itemgen Command Builder is an agent skill from microsoft/terraform-provider-fabric, published by the product's own GitHub organization. Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command. USE FOR: scaffolding new Fabric Item resources using the itemgen code generator. Only applies to Fabric Item resources (not bespoke resources like Connection, Gateway, Workspace).

Its SKILL.md is about 1.5k 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 Project scaffolding. It works with Terraform. The repository describes itself as: Terraform Provider for Microsoft Fabric. The licence is MPL-2.0.

When your agent uses it

  • : scaffolding new Fabric Item resources using the itemgen code generator
  • Tasks that involve Project scaffolding

Example prompts

  • “/itemgen-command-builder”

Workflow steps

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

  1. Determine the Archetype
  2. Gather Flag Values
  3. Build the Command

What it can do on your machine

Read from SKILL.md and the folder at commit 86c83be. 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:

    • go

    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

Itemgen Command Builder loads about 1.5k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 535 words of instructions outside code blocks.

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

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 microsoft/terraform-provider-fabric at commit 86c83be, republished under its MPL-2.0 licence (© microsoft). 535 words, ~1,535 tokens.

Download SKILL.mdSave it as .claude/skills/itemgen-command-builder/SKILL.md (or your agent's skills folder).
name
itemgen-command-builder
description
Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command. USE FOR: scaffolding new Fabric Item resources using the itemgen code generator. Only applies to Fabric Item resources (not bespoke resources like Connection, Gateway, Workspace).

Skill: Itemgen Command Builder

Given SDK analysis results (from #skill:sdk-contract-navigator), automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command.

Important: This skill applies ONLY to Fabric Item resources (Category A from #skill:sdk-contract-navigator). Non-item resources (Connection, Shortcut, Gateway, Workspace, etc.) do NOT use itemgen — they require manual bespoke implementation.

Prerequisites

  • SDK analysis has been completed (from #skill:sdk-contract-navigator)
  • The resource is confirmed as a Fabric Item (not a non-item resource)

Step 1 — Determine the Archetype

Use the SDK analysis to select the correct archetype. Refer to the "Item Archetypes" table in .github/instructions/fabric-item-patterns.instructions.md for the archetype capabilities matrix.

Also read tools/itemgen/main.go for the canonical list of valid item types from the validItemTypes() function.

How to Check Each Capability
  • Has Properties → The SDK Get response main struct has a Properties field pointing to a named struct type (e.g. fablakehouse.Properties)
  • Has CreationPayload → A CreationPayload struct exists in the SDK package
  • Has Definition → The items client has Get<Item>Definition() and/or Update<Item>Definition() methods

Step 2 — Gather Flag Values

The itemgen tool accepts 9 command-line flags. Determine each value from the SDK analysis and Fabric API docs:

FlagTypeHow to DetermineDefault
-item-namestringDisplay name with spaces (e.g. "Data Pipeline", "Eventhouse")required
-items-namestringPlural form (e.g. "Data Pipelines", "Eventhouses")required
-item-typestringArchetype from Step 1required
-definition-pathstringThe definition file path from the issue's "Definition Paths" field (e.g. "definition.json", "eventstream.json")content.json
-rename-allowedboolCheck SDK for Update/Rename method on the items clienttrue
-is-previewboolCheck Fabric API docs for "preview" badge or headerfalse
-is-spn-supportedboolCheck API docs for service principal authentication supportfalse
-generate-fakesboolset to true unless item is of archetype basic or definition — generates fake test handlerstrue
-generate-examplesboolAlways set to true — generates TF example filestrue
Show full SKILL.md (239 more words)Show less
Flag Value Details

-item-name: The human-readable display name. Use the form from Microsoft docs (e.g. "Data Pipeline" not "DataPipeline"). The tool derives:

  • Package = lowercased, no spaces (e.g. datapipeline)
  • Type = lowercased, spaces→underscores (e.g. data_pipeline)
  • TypeInfo = no spaces (e.g. DataPipeline)

-items-name: The plural form. Usually just append "s" but check API docs for irregular plurals (e.g. "KQL Databases", "Warehouses", "Variable Libraries").

-definition-path: The definition file path as listed in the issue's "Definition Paths" section (populated by #skill:resource-designer from the Fabric definition article). Use the first/primary definition path (e.g. "eventstream.json", "definition.json", "notebook-content.ipynb"). This determines the definition key used in Terraform HCL blocks and template source references.

Note: This flag is only relevant for item types that have a definition (definition, definition-properties, config-definition-properties). For archetypes without a definition (basic, properties, config-properties), omit this flag — it will be ignored. If the item archetype includes a definition but the "Definition Paths" field is missing from the issue, prompt the user to provide the definition file path before proceeding.

-rename-allowed: Most items support rename. Set to false if the SDK items client lacks an Update<ItemName> method.

-is-preview: Fetch the Create API docs page (https://learn.microsoft.com/rest/api/fabric/<item>/items/create-<item-kebab-case>) and check for "currently in Preview" text. Set true if found.

-is-spn-supported: Check if the API documentation mentions service principal support. Also check if the existing base.go similar items use IsSPNSupported: true.

Step 3 — Build the Command

Construct the full command:

bash
go run tools/itemgen/main.go \
  -item-name "<Display Name>" \
  -items-name "<Plural Display Name>" \
  -item-type "<archetype>" \
  -definition-path "<definition-file-path>" \
  -rename-allowed=<true|false> \
  -is-preview=<true|false> \
  -is-spn-supported=<true|false> \
  -generate-fakes=true \
  -generate-examples=true

Reference

  • Itemgen source: tools/itemgen/main.go
  • Template directory: tools/itemgen/templates/
  • Canonical example output: internal/services/lakehouse/

© microsoft, MPL-2.0. 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/itemgen-command-builder of microsoft/terraform-provider-fabric.

Open the folder on GitHubat commit 86c83be

Compare with similar skills

Itemgen Command Builder 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.

Itemgen Command Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Itemgen Command Builder this skillmicrosoft/terraform-provider-fabric128—~1.5kAutomated safety check: PassMPL-2.0
Nx Plugin For AWSawslabs/nx-plugin-for-aws151—~3.6kAutomated safety check: PassApache-2.0
Google Agents CLI Deploypifferologo/cloud-agents-cli1291 repos~6kAutomated safety check: PassApache-2.0
Terraform Provider Developmentshepherdjerred/monorepo112—~1.2kAutomated safety check: PassMPL-2.0
Terravision Cloud Diagramspatrickchugh/terravision1.6k—~5.6kAutomated safety check: NotesAGPL-3.0-only
Google Agents CLI Scaffoldpifferologo/cloud-agents-cli1291 repos~2.9kAutomated safety check: NotesApache-2.0

Similar skills

  • Nx Plugin For AWS

    awslabs/nx-plugin-for-aws

    Official

    Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators.

    151 GitHub stars~3.6k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Google Agents CLI Deploy

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or needs guidance on Agent Runtime, Cloud…

    129 GitHub starsUsed in 1 repo~6k tokens
    DevOps & CloudAuto-check passed
  • Terraform Provider Development

    shepherdjerred/monorepo

    Build, extend, test, document, and migrate Terraform providers with the Plugin Framework.

    112 GitHub stars~1.2k tokensUpdated today
    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 today
    DevOps & CloudAuto-check: notes
  • Google Agents CLI Scaffold

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "create an agent project", "start a new ADK project", "build me a new agent", "add CI/CD to my project", "add deployment", "enhance my project", or…

    129 GitHub starsUsed in 1 repo~2.9k tokens
    DevOps & CloudAuto-check: notes
  • Kopiur Design

    home-operations/kopiur

    Design norms and locked decisions for the Kopiur Kopia-native Kubernetes backup operator (Rust/kube-rs).

    113 GitHub stars~2.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from microsoft/terraform-provider-fabric

  • Schema Model Generator

    microsoft/terraform-provider-fabric

    Official

    Given a Go SDK contract (DTOs), generate the corresponding Terraform schema attributes and model structs with high fidelity.

    128 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • SDK Contract Navigator

    microsoft/terraform-provider-fabric

    Official

    Navigate the fabric-sdk-go SDK source to find the correct client factory, DTOs, item type constants, and pager methods for a given Fabric Item or non-item resource.

    128 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Wellknown Analyzer

    microsoft/terraform-provider-fabric

    Official

    Analyze dependencies and determine what infrastructure must be added to tools/scripts/Set-WellKnown.ps1 and internal/testhelp/wellknown.go so that acceptance tests for a new resource have all…

    128 GitHub stars~3.2k tokensUpdated yesterday
    Auto-check passed
  • Resource Designer

    microsoft/terraform-provider-fabric

    Official

    Research SDK contracts, design Terraform schema approach, and compose a GitHub issue for a new resource, data source, ephemeral resource, or enhancement to an existing resource.

    128 GitHub stars~6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Itemgen Command Builder

What does Itemgen Command Builder do?

Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command. Itemgen Command Builder is an agent skill from microsoft/terraform-provider-fabric, published by the product's own GitHub organization.go command.

When should I use Itemgen Command Builder?

Itemgen Command Builder fits situations like: : scaffolding new Fabric Item resources using the itemgen code generator; tasks that involve Project scaffolding.

How do I install Itemgen Command Builder in Claude Code?

Run `npx skills add microsoft/terraform-provider-fabric --skill itemgen-command-builder -a claude-code`. Or copy the skill folder (.github/skills/itemgen-command-builder in microsoft/terraform-provider-fabric) into .claude/skills/itemgen-command-builder in your project. Claude Code loads it when a task matches its description.

How do I install Itemgen Command Builder in Codex?

Run `npx skills add microsoft/terraform-provider-fabric --skill itemgen-command-builder -a codex`. Or copy the skill folder (.github/skills/itemgen-command-builder in microsoft/terraform-provider-fabric) into .agents/skills/itemgen-command-builder in your project. Codex loads it when a task matches its description.

Can I use Itemgen Command Builder 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 microsoft/terraform-provider-fabric --skill itemgen-command-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/itemgen-command-builder, .gemini/skills/itemgen-command-builder, .github/skills/itemgen-command-builder and .opencode/skills/itemgen-command-builder in your project.

What does Itemgen Command Builder need to run?

Going by SKILL.md and its folder, Itemgen Command Builder needs the command-line tools its instructions call (go).

Does Itemgen Command Builder 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 Itemgen Command Builder 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 Itemgen Command Builder use?

Itemgen Command Builder is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Itemgen Command Builder use?

About 1.5k tokens (SKILL.md is roughly 6.1k 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 Itemgen Command Builder?

Skills that share tags, products or a category with Itemgen Command Builder: Nx Plugin For AWS (awslabs/nx-plugin-for-aws, 151 stars), Google Agents CLI Deploy (pifferologo/cloud-agents-cli, 129 stars), Terraform Provider Development (shepherdjerred/monorepo, 112 stars) and Terravision Cloud Diagrams (patrickchugh/terravision, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Itemgen Command Builder?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/terraform-provider-fabric, which has 128 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

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