microsoft/terraform-provider-fabric/itemgen-command-builder

Claude Code and agent skill by microsoft/terraform-provider-fabric

Trust tier 4
  • vendor
Source check pending

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

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).

Install

npx vskill@latest install microsoft/terraform-provider-fabric/itemgen-command-builder

SKILL.md

The same SKILL.md was published earlier as microsoft/terraform-provider-fabric/itemgen-command-builder.

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

Determine each of the following itemgen flag values from the SDK analysis and Fabric API docs. The optional-output flags (-generate-fakes, -generate-examples) are left at their defaults — itemgen decides deterministically which fakes and examples to generate for the archetype:

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
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>

Reference

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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 25 Aug 2026.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
127
Repository forks
29
7-day trend score
24

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 CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/microsoft/terraform-provider-fabric/itemgen-command-builder/badge)](https://verified-skill.com/skills/microsoft/terraform-provider-fabric/itemgen-command-builder)

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