microsoft/terraform-provider-fabric/resource-designer
Claude Code and agent skill by microsoft/terraform-provider-fabric
- vendor
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-designerSKILL.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-navigatorhas 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:
- Query the GitHub REST API:
`` GET /repos/microsoft/terraform-provider-fabric/milestones?state=all&per_page=100 ``
- Parse the response and find the milestone object where
titlematches the user's input (case-insensitive)
- Extract the
numberfield from that milestone object
- 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.
| Scenario | Title Prefix | Label | Template File | |
|---|---|---|---|---|
| New resource (Fabric Item or non-item) | [RS] | tf/resource | tfprovider_resource_request.yml | |
| New data source | [DS] | tf/data-source | tfprovider_data_source_request.yml | |
| New ephemeral resource | [EPH] | tf/ephemeral | tfprovider_ephemeral_resource_request.yml | |
| Enhancement to existing resource | [FEAT] | feature | feature_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:
| Detail | How to Determine | |
|---|---|---|
| Resource name | fabric_<snake_case> — e.g. fabric_lakehouse, fabric_connection, fabric_shortcut | |
| Display name | PascalCase with spaces — e.g. "Lakehouse", "Connection", "Shortcut" | |
| API doc links | Browse learn.microsoft.com/rest/api/fabric/ for API pages | |
| SDK availability | Check if the SDK package/client exists (from #skill:sdk-contract-navigator) | |
| Resource category | Fabric Item (~60%) or non-item (~40%) — see below | |
| Item archetype | For Fabric Items only: basic, definition, properties, definition-properties, config-properties, config-definition-properties | |
| Complexity | easy (basic/definition), moderate (properties/non-item), hard (config-\*/complex non-item) | |
| Definition paths | For Fabric Items with definitions: fetch the definition article to list supported definition parts — see below | |
| Related resources | Existing resources that interact with this one | |
| Preview status | Check if the Fabric API is marked as preview | |
| SPN support | Check 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:
| Pattern | Characteristic | SDK Client | Canonical Reference | |
|---|---|---|---|---|
| A | Workspace policy singleton (no ID, delete=reset) | fabcore.WorkspacesClient | internal/services/workspacencp/ | |
| B | Workspace settings (dedicated client, validators) | fabspark.* | internal/services/sparkwssettings/ | |
| C | Role assignment (parent+principal+role, ImportState) | Various *Client | internal/services/workspacera/ | |
| D | Batch assignment (immutable set, no update) | fabadmin.DomainsClient | internal/services/domainra/ | |
| E | Standalone entity, standard CRUD | Various dedicated clients | internal/services/workspace/ | |
| E | Standalone entity, polymorphic types | fabcore.GatewaysClient | internal/services/gateway/ | |
| E | Standalone entity, tenant-scoped | fabadmin.DomainsClient | internal/services/domain/ | |
| E | Standalone entity, connect/disconnect lifecycle | fabcore.GitClient | internal/services/workspacegit/ | |
| F | Item-scoped (workspace_id+item_id, 3+ path params) | fabcore.OneLakeShortcutsClient | internal/services/shortcut/ | |
| F | Item-scoped (ModifyPlan, conditional validation) | fabcore.JobSchedulerClient | internal/services/itemjobscheduler/ | |
| F | Item-scoped (simple CRUD, no Update) | fabcore.ExternalDataSharesClient | internal/services/externaldatashare/ | |
| G | Tenant-level, custom identity/delete semantics | fabadmin.TenantsClient | internal/services/tenantsetting/ | |
| H | Complex: dual clients, write-only secrets, KV refs | fabcore.ConnectionsClient | internal/services/connection/ |
Pattern classification decision tree:
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:
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):
For non-item resources, the API path varies:
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
- SKILL.md in the repositoryChecking.github/skills/resource-designer/SKILL.md
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
[](https://verified-skill.com/skills/microsoft/terraform-provider-fabric/resource-designer)