microsoft/terraform-provider-fabric/resource-designer

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.

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. USE FOR: analyzing SDK DTOs, determining design patterns (polymorphic flattening, immutability, enum filtering), and creating well-structured GitHub issues. INVOKES: GitHub MCP tools for issue creation, sdk-contract-navigator skill for SDK analysis.

Install

npx vskill@latest install microsoft/terraform-provider-fabric/resource-designer

SKILL.md

The same SKILL.md was published earlier as microsoft/terraform-provider-fabric/resource-designer.

Skill: Resource Designer

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

Prerequisites

  • The user has described what they want to add or change
  • Ideally, #skill:sdk-contract-navigator has already been run to identify SDK availability
  • If the caller (resource-designer agent or user) has not provided a milestone name, this skill should prompt for one, then resolve it to a numeric milestone ID via the GitHub API

Step 1 — Resolve Milestone Name to Number

If a milestone name was provided (e.g. "2026-04"), resolve it to its numeric ID:

  1. Query the GitHub REST API:

`` GET /repos/microsoft/terraform-provider-fabric/milestones?state=all&per_page=100 ``

  1. Parse the response and find the milestone object where title matches the user's input (case-insensitive)
  1. Extract the number field from that milestone object
  1. If no match is found, report an error with the list of available milestones and ask the user to retry

If no milestone was specified, set milestone: null and proceed.

Step 2 — Determine Issue Type

Choose the correct issue template based on what is being requested.

ScenarioTitle PrefixLabelTemplate File
New resource (Fabric Item or non-item)[RS]tf/resourcetfprovider_resource_request.yml
New data source[DS]tf/data-sourcetfprovider_data_source_request.yml
New ephemeral resource[EPH]tf/ephemeraltfprovider_ephemeral_resource_request.yml
Enhancement to existing resource[FEAT]featurefeature_request.yml
When to Use Each
  • `[RS]` / `[DS]` — A completely new Terraform resource or data source that doesn't exist yet. Applies to both Fabric Items (Lakehouse, Eventhouse, etc.) and non-item resources (Connection, Shortcut, Gateway, Workspace Role Assignment, etc.)
  • `[EPH]` — A new ephemeral resource (short-lived, not stored in state)
  • `[FEAT]` — Adding new attributes to an existing resource, changing behavior, adding support for a new API feature on an existing resource, or any other enhancement that modifies existing code

If both a resource and data source are needed for the same Fabric resource, create two separate issues.

Step 3 — Extract Resource Details

From the user's description and SDK analysis, gather:

DetailHow to Determine
Resource namefabric_<snake_case> — e.g. fabric_lakehouse, fabric_connection, fabric_shortcut
Display namePascalCase with spaces — e.g. "Lakehouse", "Connection", "Shortcut"
API doc linksBrowse learn.microsoft.com/rest/api/fabric/ for API pages
SDK availabilityCheck if the SDK package/client exists (from #skill:sdk-contract-navigator)
Resource categoryFabric Item (~60%) or non-item (~40%) — see below
Item archetypeFor Fabric Items only: basic, definition, properties, definition-properties, config-properties, config-definition-properties
Complexityeasy (basic/definition), moderate (properties/non-item), hard (config-\*/complex non-item)
Definition pathsFor Fabric Items with definitions: fetch the definition article to list supported definition parts — see below
Related resourcesExisting resources that interact with this one
Preview statusCheck if the Fabric API is marked as preview
SPN supportCheck if the API supports service principal authentication
Resource Category Identification

Fabric Items — Standard items managed in workspaces (Lakehouse, Eventhouse, SQL Database, Data Pipeline, Notebook, etc.). These use the fabricitem generic abstraction and have ItemType constants in the core SDK.

Non-item resources — Specialized resources with bespoke CRUD logic. Each belongs to an implementation pattern (A–H) that determines canonical reference, lifecycle semantics, and test structure:

PatternCharacteristicSDK ClientCanonical Reference
AWorkspace policy singleton (no ID, delete=reset)fabcore.WorkspacesClientinternal/services/workspacencp/
BWorkspace settings (dedicated client, validators)fabspark.*internal/services/sparkwssettings/
CRole assignment (parent+principal+role, ImportState)Various *Clientinternal/services/workspacera/
DBatch assignment (immutable set, no update)fabadmin.DomainsClientinternal/services/domainra/
EStandalone entity, standard CRUDVarious dedicated clientsinternal/services/workspace/
EStandalone entity, polymorphic typesfabcore.GatewaysClientinternal/services/gateway/
EStandalone entity, tenant-scopedfabadmin.DomainsClientinternal/services/domain/
EStandalone entity, connect/disconnect lifecyclefabcore.GitClientinternal/services/workspacegit/
FItem-scoped (workspace_id+item_id, 3+ path params)fabcore.OneLakeShortcutsClientinternal/services/shortcut/
FItem-scoped (ModifyPlan, conditional validation)fabcore.JobSchedulerClientinternal/services/itemjobscheduler/
FItem-scoped (simple CRUD, no Update)fabcore.ExternalDataSharesClientinternal/services/externaldatashare/
GTenant-level, custom identity/delete semanticsfabadmin.TenantsClientinternal/services/tenantsetting/
HComplex: dual clients, write-only secrets, KV refsfabcore.ConnectionsClientinternal/services/connection/

Pattern classification decision tree:

Is it a workspace policy/settings with no real entity ID?
├── YES → Uses WorkspacesClient sub-endpoint, delete=reset? → Pattern A
│ Uses dedicated Spark/Environment client, ConfigValidators? → Pattern B
│
├── NO → Is it an assignment of principals/items to a parent?
│ ├── Single-item assignment with updatable role, ImportState? → Pattern C
│ └── Batch set assignment, fully immutable, no Import? → Pattern D
│
├── NO → Is it scoped to a specific item (workspace_id + item_id)?
│ └── YES → Pattern F
│
├── NO → Is it a tenant-level admin resource with non-UUID identity or custom delete?
│ └── YES → Pattern G
│
├── NO → Does it have write-only secrets, dual clients, KV references?
│ └── YES → Pattern H
│
└── NO → Standalone entity with dedicated client → Pattern E

When composing the issue, include the pattern letter in the "Details / References" section so downstream agents can immediately route to the correct implementation reference.

Item Definition Paths

For Fabric Items that support definitions (archetypes: definition, definition-properties, config-definition-properties), fetch the item definition article to discover the supported definition parts/paths:

https://learn.microsoft.com/rest/api/fabric/articles/item-management/definitions/<item-kebab-case>-definition

For example:

  • Notebook → https://learn.microsoft.com/rest/api/fabric/articles/item-management/definitions/notebook-definition
  • Report → https://learn.microsoft.com/rest/api/fabric/articles/item-management/definitions/report-definition
  • Spark Job Definition → https://learn.microsoft.com/rest/api/fabric/articles/item-management/definitions/spark-job-definition-definition

Use the fetch_webpage tool to read the article and extract the list of definition paths (e.g. notebook-content.py, definition.pbir/report.json). Each definition part has a path and format. Record all supported definition paths for inclusion in the issue.

If the article does not exist or returns a 404, the item likely does not support definitions — adjust the archetype accordingly.

API Documentation URL Pattern

Fabric REST API docs follow this pattern (never include en-us locale):

https://learn.microsoft.com/rest/api/fabric/<service>/items

For non-item resources, the API path varies:

https://learn.microsoft.com/rest/api/fabric/core/connections
https://learn.microsoft.com/rest/api/fabric/core/shortcuts
https://learn.microsoft.com/rest/api/fabric/core/gateways
https://learn.microsoft.com/rest/api/fabric/core/workspaces

Step 3.5 — Terraform Design Analysis

After gathering SDK details (Step 3), analyze the DTOs to determine which design patterns apply to this resource. This produces the "🎨 Terraform Design Notes" section in the issue body, giving the implementor explicit guidance.

Analysis Checks

Perform each check by comparing the SDK DTOs discovered in Step 3:

This is the start of the file. Read the full SKILL.md on GitHub.

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/resource-designer/badge)](https://verified-skill.com/skills/microsoft/terraform-provider-fabric/resource-designer)

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