[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BRNV6ARREM1SJFF71DR6E":3,"skill-same:01M69BRNV6ARREM1SJFF71DR6E":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M69BRNV6ARREM1SJFF71DR6E","schema-model-generator","Terraform Schema 与模型生成","Given a Go SDK contract (DTOs), generate the corresponding Terraform schema attributes and model structs with high fidelity. USE FOR: creating schema_*.go and models.go files from SDK DTOs, mapping Go types to Terraform attribute types and custom types.","给定 Go SDK 契约（DTOs），高保真地生成对应的 Terraform schema 属性和模型结构体。用于：从 SDK DTOs 创建 schema_*.go 和 models.go 文件，将 Go 类型映射为 Terraform 属性类型和自定义类型。","microsoft\u002Fterraform-provider-fabric","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BRDVBHATNC3Y885F5ET9B",130,"MPL-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fschema-model-generator\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"schema model generator","model","schema","generator","models","custom","for","high","attributes","with","types","mapping","contract","go","files","use","terraform","generate","sdk","2026-11-10 10:12:30",false,"---\nname: schema-model-generator\ndescription: >-\n  Given a Go SDK contract (DTOs), generate the corresponding Terraform schema attributes and model structs with high fidelity. USE FOR: creating schema_*.go and models.go files from SDK DTOs, mapping Go types to Terraform attribute types and custom types.\n---\n\n# Skill: Schema & Model Generator\n\nGiven a Go SDK contract (DTOs), generate the corresponding Terraform schema attributes and model structs with high fidelity.\n\n## Prerequisites\n\n- SDK DTO struct fields have been identified (from `#skill:sdk-contract-navigator`)\n- You know the item archetype (basic, definition, properties, etc.)\n- If the issue contains a **? DTO Nesting Depth Map**, use it to determine:\n  - One model struct per tree node that introduces `[]Type` or `*Type`\n  - Each such struct needs its own `set()` method\n  - Which fields use `supertypes.ListNestedObjectValueOf` (nested objects) vs `supertypes.ListValueOf` (scalars) vs `supertypes.SingleNestedObjectValueOf` (optional nested)\n\n## Step 1 — Classify Each SDK Field\n\nFor each field in the SDK DTO struct, determine its category using the **\"Attribute Behaviors\"** table in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\nClassification criteria:\n\n| Category                  | Criterion                                          |\n| ------------------------- | -------------------------------------------------- |\n| **Read-only**             | Only appears in Get response `Properties` struct   |\n| **Create-time-only**      | Appears in `CreationPayload` and cannot be updated |\n| **Updatable required**    | User must provide, can be changed after create     |\n| **Updatable optional**    | User may provide, can be changed after create      |\n| **Optional with default** | Server sets a default if not provided              |\n\n## Step 2 — Generate Model Struct Fields\n\nMap each SDK field type to the corresponding Terraform model type using the **\"SDK Type → Model Type Mapping\"** table in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\nEvery field must have a `tfsdk:\"\u003Csnake_case_name>\"` tag.\n\n### Naming Conventions\n\n- Model struct: `\u003Citem>\u003Cpurpose>Model` — e.g. `lakehousePropertiesModel`, `lakehouseConfigurationModel`\n- Nested model: `\u003Citem>\u003Cnested>Model` — e.g. `lakehouseSQLEndpointPropertiesModel`\n- Field names: PascalCase in Go, with `tfsdk:\"snake_case\"` tag\n- SDK PascalCase → Terraform snake_case: `OneLakeFilesPath` → `onelake_files_path`\n\n### Example Properties Model\n\n```go\ntype lakehousePropertiesModel struct {\n    OneLakeFilesPath      types.String                                                              `tfsdk:\"onelake_files_path\"`\n    OneLakeTablesPath     types.String                                                              `tfsdk:\"onelake_tables_path\"`\n    SQLEndpointProperties supertypes.SingleNestedObjectValueOf[lakehouseSQLEndpointPropertiesModel] `tfsdk:\"sql_endpoint_properties\"`\n    DefaultSchema         types.String                                                              `tfsdk:\"default_schema\"`\n}\n```\n\n### Example Configuration Model (CreationPayload)\n\n```go\ntype lakehouseConfigurationModel struct {\n    EnableSchemas types.Bool `tfsdk:\"enable_schemas\"`\n}\n```\n\n### Example Nested Model\n\n```go\ntype lakehouseSQLEndpointPropertiesModel struct {\n    ID                 customtypes.UUID `tfsdk:\"id\"`\n    ConnectionString   types.String     `tfsdk:\"connection_string\"`\n    ProvisioningStatus types.String     `tfsdk:\"provisioning_status\"`\n}\n```\n\n## Step 3 — Generate Model Methods\n\nGenerate both directions of mapping: **response `set()`** (SDK → TF) and **request builders** (TF → SDK).\n\n### 3a. Response `set()` — SDK → TF (both Fabric Items and non-items)\n\nEvery model struct needs a `set()` method that maps SDK response DTO → TF model.\n\n**Top-level `set()` (with nested objects):**\n\nSignature includes `context.Context` and returns `diag.Diagnostics`:\n\n```go\nfunc (to *\u003Citem>PropertiesModel) set(ctx context.Context, from fab\u003Cpackage>.\u003CDTO>) diag.Diagnostics {\n    to.SimpleField = types.StringPointerValue(from.SimpleField)\n    \u002F\u002F ... other simple fields\n\n    \u002F\u002F Handle nested struct\n    nestedValue := supertypes.NewSingleNestedObjectValueOfNull[\u003CnestedModel>](ctx)\n    if from.NestedField != nil {\n        nestedModel := &\u003CnestedModel>{}\n        nestedModel.set(*from.NestedField)  \u002F\u002F or with ctx if nested has its own nested\n        if diags := nestedValue.Set(ctx, nestedModel); diags.HasError() {\n            return diags\n        }\n    }\n    to.NestedField = nestedValue\n\n    return nil\n}\n```\n\n**Leaf `set()` (no nested objects):**\n\nSimpler signature without `context.Context` or `diag.Diagnostics`:\n\n```go\nfunc (to *\u003CnestedModel>) set(from fab\u003Cpackage>.\u003CNestedDTO>) {\n    to.ID = customtypes.NewUUIDPointerValue(from.ID)\n    to.StringField = types.StringPointerValue(from.StringField)\n    to.EnumField = types.StringPointerValue((*string)(from.EnumField))\n}\n```\n\n**Setter patterns by type:** Use the \"Setter Pattern\" column in the \"SDK Type → Model Type Mapping\" table and collection iteration templates in `schema-model-patterns.instructions.md`.\n\n### 3b. Request Builders — TF → SDK (Create\u002FUpdate)\n\nBoth Fabric Items and non-items need TF→SDK mapping for writable fields. The pattern differs by category:\n\n- **Fabric Items:** Inline in `creationPayloadSetter` closure (simple — typically 1-3 fields from configuration model). See `fabric-item-patterns.instructions.md` § \"Closure Examples\".\n- **Non-items:** Dedicated request builder structs with `set()` method that builds the SDK request directly (complex — full request DTOs)\n\n**Non-item request builder struct** — embeds the SDK request type, `set()` populates it:\n\n```go\ntype requestCreate\u003CType> struct {\n    fabcore.Create\u003CType>Request \u002F\u002F embedded SDK request type\n}\n\nfunc (to *requestCreate\u003CType>) set(ctx context.Context, from \u003Ctype>ResourceModel) diag.Diagnostics {\n    to.DisplayName = from.DisplayName.ValueStringPointer()\n    to.Description = from.Description.ValueStringPointer()\n    \u002F\u002F ... map each writable field into the embedded struct\n    return nil\n}\n```\n\nUsage: `r.client.Create\u003CType>(ctx, reqCreate.Create\u003CType>Request, nil)`\n\n**Inverse mapping rules:** Use the inverse of the \"SDK Type → Model Type Mapping\" table in `schema-model-patterns.instructions.md`. For each TF type, call its `Value*Pointer()` method (e.g., `types.String` → `.ValueStringPointer()`, `types.Bool` → `.ValueBoolPointer()`).\n\n**Non-obvious cases:**\n\n| TF Model Type                             | SDK Type      | Pattern                                                            |\n| ----------------------------------------- | ------------- | ------------------------------------------------------------------ |\n| `types.Int64`                             | `*int32`      | `ptr.To(int32(from.Field.ValueInt64()))` — type narrowing required |\n| `supertypes.SingleNestedObjectValueOf[M]` | `*NestedDTO`  | `.Get(ctx)` → construct nested DTO from sub-model                  |\n| `supertypes.ListNestedObjectValueOf[M]`   | `[]NestedDTO` | `.Get(ctx)` → iterate slice, build each DTO                        |\n\nReference: `internal\u002Fservices\u002Fconnection\u002Fmodels_resource_connection.go`\n\n## Step 4 — Generate Schema Attributes\n\nFor Fabric Item resources, schema attributes go in separate functions:\n\n### Resource Properties Schema\n\n```go\n\u002F\u002F schema_resource_\u003Citem>.go\nfunc getResource\u003CItem>PropertiesAttributes(ctx context.Context) map[string]schema.Attribute {\n    return map[string]schema.Attribute{\n        \"\u003Cfield_name>\": schema.StringAttribute{\n            MarkdownDescription: \"\u003Cdescription>.\",\n            Computed:            true,\n        },\n        \u002F\u002F ... more attributes\n    }\n}\n```\n\n### Resource Configuration Schema (for CreationPayload)\n\n```go\nfunc getResource\u003CItem>ConfigurationAttributes() map[string]schema.Attribute {\n    return map[string]schema.Attribute{\n        \"\u003Cfield_name>\": schema.BoolAttribute{\n            MarkdownDescription: \"\u003Cdescription>.\",\n            Required:            true,\n            PlanModifiers: []planmodifier.Bool{\n                boolplanmodifier.RequiresReplace(),\n            },\n        },\n    }\n}\n```\n\n### Schema Attribute Type Mapping\n\nUse the **\"SDK Type → Schema Mapping\"** table in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\n### Rules for All Schema Attributes\n\nFor attribute behavior flags, plan modifiers, and validators, refer to the **\"Attribute Behaviors\"**, **\"Plan Modifiers\"**, and **\"Validators\"** sections in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\nAdditional rules:\n\n1. **Always** use `MarkdownDescription` (never `Description`)\n2. **Nested objects**: Must include `CustomType: supertypes.NewSingleNestedObjectTypeOf[\u003Cmodel>](ctx)`\n3. **UUID fields**: Must include `CustomType: customtypes.UUIDType{}`\n\n### Example Nested Attribute\n\n```go\n\"sql_endpoint_properties\": schema.SingleNestedAttribute{\n    MarkdownDescription: \"An object containing the properties of the SQL endpoint.\",\n    Computed:            true,\n    CustomType:          supertypes.NewSingleNestedObjectTypeOf[lakehouseSQLEndpointPropertiesModel](ctx),\n    Attributes: map[string]schema.Attribute{\n        \"provisioning_status\": schema.StringAttribute{\n            MarkdownDescription: \"The SQL endpoint provisioning status.\",\n            Computed:            true,\n        },\n        \"connection_string\": schema.StringAttribute{\n            MarkdownDescription: \"SQL endpoint connection string.\",\n            Computed:            true,\n        },\n        \"id\": schema.StringAttribute{\n            MarkdownDescription: \"SQL endpoint ID.\",\n            Computed:            true,\n            CustomType:          customtypes.UUIDType{},\n        },\n    },\n},\n```\n\n## Canonical References\n\n- Model struct patterns: `internal\u002Fservices\u002Flakehouse\u002Fmodels.go`\n- Resource schema patterns: `internal\u002Fservices\u002Flakehouse\u002Fschema_resource_lakehouse.go`\n- Data source schema patterns: `internal\u002Fservices\u002Flakehouse\u002Fschema_data_lakehouse.go`\n- Non-item schema (superschema): `internal\u002Fservices\u002Fconnection\u002Fschema.go`\n- Request builder patterns: `internal\u002Fservices\u002Fconnection\u002Fmodels_resource_connection.go`\n","# Skill: Schema & Model Generator\n\nGiven a Go SDK contract (DTOs), generate the corresponding Terraform schema attributes and model structs with high fidelity.\n\n## Prerequisites\n\n- SDK DTO struct fields have been identified (from `#skill:sdk-contract-navigator`)\n- You know the item archetype (basic, definition, properties, etc.)\n- If the issue contains a **? DTO Nesting Depth Map**, use it to determine:\n  - One model struct per tree node that introduces `[]Type` or `*Type`\n  - Each such struct needs its own `set()` method\n  - Which fields use `supertypes.ListNestedObjectValueOf` (nested objects) vs `supertypes.ListValueOf` (scalars) vs `supertypes.SingleNestedObjectValueOf` (optional nested)\n\n## Step 1 — Classify Each SDK Field\n\nFor each field in the SDK DTO struct, determine its category using the **\"Attribute Behaviors\"** table in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\nClassification criteria:\n\n| Category                  | Criterion                                          |\n| ------------------------- | -------------------------------------------------- |\n| **Read-only**             | Only appears in Get response `Properties` struct   |\n| **Create-time-only**      | Appears in `CreationPayload` and cannot be updated |\n| **Updatable required**    | User must provide, can be changed after create     |\n| **Updatable optional**    | User may provide, can be changed after create      |\n| **Optional with default** | Server sets a default if not provided              |\n\n## Step 2 — Generate Model Struct Fields\n\nMap each SDK field type to the corresponding Terraform model type using the **\"SDK Type → Model Type Mapping\"** table in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\nEvery field must have a `tfsdk:\"\u003Csnake_case_name>\"` tag.\n\n### Naming Conventions\n\n- Model struct: `\u003Citem>\u003Cpurpose>Model` — e.g. `lakehousePropertiesModel`, `lakehouseConfigurationModel`\n- Nested model: `\u003Citem>\u003Cnested>Model` — e.g. `lakehouseSQLEndpointPropertiesModel`\n- Field names: PascalCase in Go, with `tfsdk:\"snake_case\"` tag\n- SDK PascalCase → Terraform snake_case: `OneLakeFilesPath` → `onelake_files_path`\n\n### Example Properties Model\n\n```go\ntype lakehousePropertiesModel struct {\n    OneLakeFilesPath      types.String                                                              `tfsdk:\"onelake_files_path\"`\n    OneLakeTablesPath     types.String                                                              `tfsdk:\"onelake_tables_path\"`\n    SQLEndpointProperties supertypes.SingleNestedObjectValueOf[lakehouseSQLEndpointPropertiesModel] `tfsdk:\"sql_endpoint_properties\"`\n    DefaultSchema         types.String                                                              `tfsdk:\"default_schema\"`\n}\n```\n\n### Example Configuration Model (CreationPayload)\n\n```go\ntype lakehouseConfigurationModel struct {\n    EnableSchemas types.Bool `tfsdk:\"enable_schemas\"`\n}\n```\n\n### Example Nested Model\n\n```go\ntype lakehouseSQLEndpointPropertiesModel struct {\n    ID                 customtypes.UUID `tfsdk:\"id\"`\n    ConnectionString   types.String     `tfsdk:\"connection_string\"`\n    ProvisioningStatus types.String     `tfsdk:\"provisioning_status\"`\n}\n```\n\n## Step 3 — Generate Model Methods\n\nGenerate both directions of mapping: **response `set()`** (SDK → TF) and **request builders** (TF → SDK).\n\n### 3a. Response `set()` — SDK → TF (both Fabric Items and non-items)\n\nEvery model struct needs a `set()` method that maps SDK response DTO → TF model.\n\n**Top-level `set()` (with nested objects):**\n\nSignature includes `context.Context` and returns `diag.Diagnostics`:\n\n```go\nfunc (to *\u003Citem>PropertiesModel) set(ctx context.Context, from fab\u003Cpackage>.\u003CDTO>) diag.Diagnostics {\n    to.SimpleField = types.StringPointerValue(from.SimpleField)\n    \u002F\u002F ... other simple fields\n\n    \u002F\u002F Handle nested struct\n    nestedValue := supertypes.NewSingleNestedObjectValueOfNull[\u003CnestedModel>](ctx)\n    if from.NestedField != nil {\n        nestedModel := &\u003CnestedModel>{}\n        nestedModel.set(*from.NestedField)  \u002F\u002F or with ctx if nested has its own nested\n        if diags := nestedValue.Set(ctx, nestedModel); diags.HasError() {\n            return diags\n        }\n    }\n    to.NestedField = nestedValue\n\n    return nil\n}\n```\n\n**Leaf `set()` (no nested objects):**\n\nSimpler signature without `context.Context` or `diag.Diagnostics`:\n\n```go\nfunc (to *\u003CnestedModel>) set(from fab\u003Cpackage>.\u003CNestedDTO>) {\n    to.ID = customtypes.NewUUIDPointerValue(from.ID)\n    to.StringField = types.StringPointerValue(from.StringField)\n    to.EnumField = types.StringPointerValue((*string)(from.EnumField))\n}\n```\n\n**Setter patterns by type:** Use the \"Setter Pattern\" column in the \"SDK Type → Model Type Mapping\" table and collection iteration templates in `schema-model-patterns.instructions.md`.\n\n### 3b. Request Builders — TF → SDK (Create\u002FUpdate)\n\nBoth Fabric Items and non-items need TF→SDK mapping for writable fields. The pattern differs by category:\n\n- **Fabric Items:** Inline in `creationPayloadSetter` closure (simple — typically 1-3 fields from configuration model). See `fabric-item-patterns.instructions.md` § \"Closure Examples\".\n- **Non-items:** Dedicated request builder structs with `set()` method that builds the SDK request directly (complex — full request DTOs)\n\n**Non-item request builder struct** — embeds the SDK request type, `set()` populates it:\n\n```go\ntype requestCreate\u003CType> struct {\n    fabcore.Create\u003CType>Request \u002F\u002F embedded SDK request type\n}\n\nfunc (to *requestCreate\u003CType>) set(ctx context.Context, from \u003Ctype>ResourceModel) diag.Diagnostics {\n    to.DisplayName = from.DisplayName.ValueStringPointer()\n    to.Description = from.Description.ValueStringPointer()\n    \u002F\u002F ... map each writable field into the embedded struct\n    return nil\n}\n```\n\nUsage: `r.client.Create\u003CType>(ctx, reqCreate.Create\u003CType>Request, nil)`\n\n**Inverse mapping rules:** Use the inverse of the \"SDK Type → Model Type Mapping\" table in `schema-model-patterns.instructions.md`. For each TF type, call its `Value*Pointer()` method (e.g., `types.String` → `.ValueStringPointer()`, `types.Bool` → `.ValueBoolPointer()`).\n\n**Non-obvious cases:**\n\n| TF Model Type                             | SDK Type      | Pattern                                                            |\n| ----------------------------------------- | ------------- | ------------------------------------------------------------------ |\n| `types.Int64`                             | `*int32`      | `ptr.To(int32(from.Field.ValueInt64()))` — type narrowing required |\n| `supertypes.SingleNestedObjectValueOf[M]` | `*NestedDTO`  | `.Get(ctx)` → construct nested DTO from sub-model                  |\n| `supertypes.ListNestedObjectValueOf[M]`   | `[]NestedDTO` | `.Get(ctx)` → iterate slice, build each DTO                        |\n\nReference: `internal\u002Fservices\u002Fconnection\u002Fmodels_resource_connection.go`\n\n## Step 4 — Generate Schema Attributes\n\nFor Fabric Item resources, schema attributes go in separate functions:\n\n### Resource Properties Schema\n\n```go\n\u002F\u002F schema_resource_\u003Citem>.go\nfunc getResource\u003CItem>PropertiesAttributes(ctx context.Context) map[string]schema.Attribute {\n    return map[string]schema.Attribute{\n        \"\u003Cfield_name>\": schema.StringAttribute{\n            MarkdownDescription: \"\u003Cdescription>.\",\n            Computed:            true,\n        },\n        \u002F\u002F ... more attributes\n    }\n}\n```\n\n### Resource Configuration Schema (for CreationPayload)\n\n```go\nfunc getResource\u003CItem>ConfigurationAttributes() map[string]schema.Attribute {\n    return map[string]schema.Attribute{\n        \"\u003Cfield_name>\": schema.BoolAttribute{\n            MarkdownDescription: \"\u003Cdescription>.\",\n            Required:            true,\n            PlanModifiers: []planmodifier.Bool{\n                boolplanmodifier.RequiresReplace(),\n            },\n        },\n    }\n}\n```\n\n### Schema Attribute Type Mapping\n\nUse the **\"SDK Type → Schema Mapping\"** table in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\n### Rules for All Schema Attributes\n\nFor attribute behavior flags, plan modifiers, and validators, refer to the **\"Attribute Behaviors\"**, **\"Plan Modifiers\"**, and **\"Validators\"** sections in `.github\u002Finstructions\u002Fschema-model-patterns.instructions.md`.\n\nAdditional rules:\n\n1. **Always** use `MarkdownDescription` (never `Description`)\n2. **Nested objects**: Must include `CustomType: supertypes.NewSingleNestedObjectTypeOf[\u003Cmodel>](ctx)`\n3. **UUID fields**: Must include `CustomType: customtypes.UUIDType{}`\n\n### Example Nested Attribute\n\n```go\n\"sql_endpoint_properties\": schema.SingleNestedAttribute{\n    MarkdownDescription: \"An object containing the properties of the SQL endpoint.\",\n    Computed:            true,\n    CustomType:          supertypes.NewSingleNestedObjectTypeOf[lakehouseSQLEndpointPropertiesModel](ctx),\n    Attributes: map[string]schema.Attribute{\n        \"provisioning_status\": schema.StringAttribute{\n            MarkdownDescription: \"The SQL endpoint provisioning status.\",\n            Computed:            true,\n        },\n        \"connection_string\": schema.StringAttribute{\n            MarkdownDescription: \"SQL endpoint connection string.\",\n            Computed:            true,\n        },\n        \"id\": schema.StringAttribute{\n            MarkdownDescription: \"SQL endpoint ID.\",\n            Computed:            true,\n            CustomType:          customtypes.UUIDType{},\n        },\n    },\n},\n```\n\n## Canonical References\n\n- Model struct patterns: `internal\u002Fservices\u002Flakehouse\u002Fmodels.go`\n- Resource schema patterns: `internal\u002Fservices\u002Flakehouse\u002Fschema_resource_lakehouse.go`\n- Data source schema patterns: `internal\u002Fservices\u002Flakehouse\u002Fschema_data_lakehouse.go`\n- Non-item schema (superschema): `internal\u002Fservices\u002Fconnection\u002Fschema.go`\n- Request builder patterns: `internal\u002Fservices\u002Fconnection\u002Fmodels_resource_connection.go`\n",{"name":5,"description":7},"main","4c6f9562b27de9117c921e193706463d60551cbe",".github\u002Fskills\u002Fschema-model-generator",35,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric","https:\u002F\u002Fregistry.terraform.io\u002Fproviders\u002Fmicrosoft\u002Ffabric","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-12 19:02:40",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add microsoft\u002Fterraform-provider-fabric --skill schema-model-generator",{"tool":71,"command":72},"bunx","bunx skills add microsoft\u002Fterraform-provider-fabric --skill schema-model-generator",{"tool":74,"command":75},"pnpm","pnpm dlx skills add microsoft\u002Fterraform-provider-fabric --skill schema-model-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fschema-model-generator\u002FSKILL.md",true,[],[80,113,140,169],{"skillNo":81,"name":82,"nameZh":83,"description":84,"descriptionZh":85,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":86,"categories":87,"keywords":94,"publishedAt":50},"01M69BRSJGC84SF0F9567H5A03","wellknown-analyzer","验收测试预置资源依赖分析","Analyze dependencies and determine what infrastructure must be added to tools\u002Fscripts\u002FSet-WellKnown.ps1 and internal\u002Ftesthelp\u002Fwellknown.go so that acceptance tests for a new resource have all required pre-requisite resources available. USE FOR: analyzing well-known test fixture requirements for new resources, determining creation strategies, and generating code snippets for Set-WellKnown.ps1 and wellknown.go additions.","分析依赖关系，确定需要向 tools\u002Fscripts\u002FSet-WellKnown.ps1 和 internal\u002Ftesthelp\u002Fwellknown.go 中添加哪些基础设施，使新资源的验收测试具备所有必需的先决资源。用于：分析新资源的已知（well-known）测试夹具需求、确定创建策略，以及生成用于补充 Set-WellKnown.ps1 和 wellknown.go 的代码片段。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fwellknown-analyzer\u002FSKILL.md",[88,91],{"categoryNo":89,"categoryName":90,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[95,96,97,46,98,37,99,100,101,102,103,104,105,106,107,108,109,110,111,112,44],"wellknown analyzer","analyzer","test","new","resources","scripts","tests","creation","strategies","fixture","snippets","analyze","Tools","SET","analyzing","acceptance","code","infrastructure",{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":125,"publishedAt":50},"01M69BRQPDJYENDVDG88XC8V7N","sdk-contract-navigator","fabric-sdk-go 契约导航","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. USE FOR: identifying SDK packages, client factories, DTO structs, item type constants, and pager methods for any Fabric resource.","浏览 fabric-sdk-go SDK 源代码，为给定的 Fabric Item 或非 Item 资源找到正确的客户端工厂、DTOs、Item 类型常量和分页器（pager）方法。用于：识别任意 Fabric 资源对应的 SDK 包、客户端工厂、DTO 结构体、Item 类型常量和分页器方法。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsdk-contract-navigator\u002FSKILL.md",[121,124],{"categoryNo":122,"categoryName":123,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[43,126,127,49,128,129,37,130,131,132,133,46,134,135,136,137,138,44,139],"navigator","sdk contract navigator","source","dto","navigate","client","type","methods","factory","find","correct","fabric","packages","constants",{"skillNo":141,"name":142,"nameZh":143,"description":144,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":152,"publishedAt":50},"01M69BRK8X2MS2KA89Q0TY2BRZ","resource-designer","Terraform 资源设计","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.","研究 SDK 契约、设计 Terraform schema 方案，并为新资源、数据源、临时资源或现有资源的增强编写 GitHub issue。用于分析 SDK DTO、确定设计模式（多态扁平化、不可变性、枚举过滤）以及创建结构良好的 GitHub issue。调用：用于创建 issue 的 GitHub MCP 工具、用于 SDK 分析的 sdk-contract-navigator 技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fresource-designer\u002FSKILL.md",[148,149],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QTSZKB08EAW9P9ZCDNQ","设计评审与架构优化",[153,154,155,156,157,107,158,128,102,159,160,161,162,163,98,164,109,126,165,47,166,167,49,168],"resource designer","designer","issue creation","design","MCP","enhancement","patterns","contracts","issue","design patterns","analysis","data","issues","github issues","research","github",{"skillNo":170,"name":171,"nameZh":172,"description":173,"descriptionZh":174,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":175,"categories":176,"keywords":179,"publishedAt":50},"01M69BRGHQT06DYTRQDP9H1N39","itemgen-command-builder","Fabric Item 代码生成命令构建","Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools\u002Fitemgen\u002Fmain.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).","根据 SDK 分析结果，自动确定正确的 itemgen 原型并构建完整的 go run tools\u002Fitemgen\u002Fmain.go 命令。用于使用 itemgen 代码生成器搭建新的 Fabric Item 资源。仅适用于 Fabric Item 资源（不适用于 Connection、Gateway、Workspace 等定制资源）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fterraform-provider-fabric\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fitemgen-command-builder\u002FSKILL.md",[177,178],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[180,181,182,46,98,37,34,99,183,55,184,185,186,187,136,163,188,111,137,189,49,44],"builder","command","itemgen command builder","scaffolding","build","only","results","workspace","gateway","run"]