Token导航 LogoToken导航

Agent Skill · 研究检索

programmatic-development(程序化开发)

programmatic-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

programmatic-development 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 57,503。

总安装 432周安装 18GitHub Stars 33下载 144核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:programmatic-development(程序化开发)
来源仓库:https://github.com/josiahsiegel/claude-plugin-marketplace
仓库路径:skills/programmatic-development
安装命令:
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill programmatic-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill programmatic-development

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。支持基于关键词、任务场景或来源线索进行信息筛选与整理。通过 npx 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。

安装前建议核实权限范围、维护状态及是否涉及联网、命令执行或文件读写操作。programmatic-development 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/programmatic-development

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

programmatic-development 怎么安装?

在终端执行 npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill programma…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

programmatic-development 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

programmatic-development 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

programmatic-development 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

programmatic-development 用的人多吗?

公开数据是累计安装 432 次,近一周安装 18 次,下载 144 次,GitHub 33 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

programmatic-development 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
programmatic-development

程序化开发 · 本页

43233需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Programmatic Power BI Development

Overview

Power BI supports multiple approaches for creating and managing reports and semantic models through code. As of 2026, the canonical stack is:

  • PBIP (Power BI Project) as the folder-based source format
  • TMDL as the semantic-model format inside PBIP (see tmdl-mastery skill)
  • PBIR (Power BI Enhanced Report Format) as the report format inside PBIP
  • fabric-cicd (Python) or Fabric CLI fab deploy for deployment
  • TOM /.NET SDK for advanced programmatic model editing
  • semantic-link-labs for Python-based scripting from Fabric notebooks

PBIR - Power BI Enhanced Report Format

PBIR is Microsoft's modern, publicly documented, folder-based, JSON report format. It replaces the opaque report.json blob (now called PBIR-Legacy) with one file per visual, page, and bookmark, enabling proper Git diff/merge, code review, and schema-validated editing in VS Code.

2026 Rollout Timeline (as of April 2026)

MilestoneDateStatus
PBIR public preview in Desktop2024Preview
PBIR default in Power BI Service (new reports)January 25, 2026Rolling out
PBIR automatic upgrade of existing Service reportsJanuary -- end of April 2026Rolling out (gradual, by report size -- reports with <100 visuals first)
PBIR default in Power BI DesktopMay 2026 releasePlanned (delayed from March 2026)
PBIP (PBIR + TMDL) GA2026Planned
PBIR-Legacy deprecationAt PBIR GAPlanned ("PBIR-Legacy will no longer be supported")

Current state (April 2026): PBIR is the default for all newly created reports in the Power BI Service. Existing Service reports are being auto-upgraded as they are edited. Power BI Desktop still requires the preview feature toggle, but that changes in the May 2026 release. PBIR-Legacy remains supported during the transition.

Admin opt-out: Tenants can temporarily opt out via the tenant setting "Automatically convert and store reports in the Power BI enhanced metadata format (PBIR)", but this opt-out will be removed at GA.

Service restore: When an existing report is auto-upgraded in the Service, a PBIR-Legacy backup is retained for 28 days. Restore via Report Settings > "Restore as PBIR-Legacy". Desktop upgrades keep a 30-day backup in %USERPROFILE%\AppData\Local\Microsoft\Power BI Desktop\TempSaves\Backups (or the Store app equivalent).

Sovereign Clouds: PBIR will NOT be automatically upgraded in Sovereign Clouds prior to GA. Sovereign Cloud customers can still test PBIR via the Desktop preview feature.

PBIR on Report Server: Not supported. Report Server continues to use the legacy PBIX binary format only.

PBIP Project Structure (2026)

A PBIP project is a folder containing a .pbip entry file, one *.Report/ folder, and one *.SemanticModel/ folder (historically called *.Dataset/). The modern naming is SemanticModel; Desktop writes the new name by default.

MyProject.pbip                          # Entry file (JSON, double-click to open)
├── MyProject.Report/
│   ├── definition.pbir                # Required -- report definition entry
│   ├── definition/                    # PBIR folder (replaces legacy report.json)
│   │   ├── report.json                # Report-level settings, theme, filters
│   │   ├── version.json               # PBIR schema version
│   │   ├── reportExtensions.json      # Optional -- report-level measures
│   │   ├── pages/
│   │   │   ├── pages.json             # Page order and active page
│   │   │   ├── <pageName>/
│   │   │   │   ├── page.json          # Page metadata, filters
│   │   │   │   └── visuals/
│   │   │   │       └── <visualName>/
│   │   │   │           ├── visual.json     # Visual definition (query, formatting)
│   │   │   │           └── mobile.json     # Optional -- mobile layout override
│   │   └── bookmarks/
│   │       ├── bookmarks.json         # Bookmark order and groups
│   │       └── <bookmarkName>.bookmark.json
│   ├── CustomVisuals/                 # Private .pbiviz packages
│   ├── StaticResources/
│   │   └── RegisteredResources/       # Custom themes, images
│   ├── semanticModelDiagramLayout.json
│   ├── mobileState.json               # Report-level mobile state (not editable externally)
│   ├── .pbi/
│   │   └── localSettings.json         # User-specific, gitignored
│   └── .platform                      # Fabric Git integration system file
├── MyProject.SemanticModel/
│   ├── definition.pbism               # Required -- semantic model entry
│   ├── definition/                    # TMDL folder (replaces model.bim)
│   │   ├── database.tmdl
│   │   ├── model.tmdl
│   │   ├── relationships.tmdl
│   │   ├── expressions.tmdl
│   │   ├── tables/
│   │   │   └── *.tmdl
│   │   ├── roles/
│   │   ├── cultures/
│   │   └── perspectives/
│   ├── diagramLayout.json
│   └── .pbi/
│       ├── localSettings.json         # Gitignored
│       └── cache.abf                  # Gitignored (local data cache)
└── .gitignore

Key points:

  • definition.pbir (singular, at report root) is required. report.json at the root is the legacy PBIR-Legacy file; definition/report.json is the new PBIR report-level settings file.
  • version.json inside definition/ declares the PBIR schema version.
  • By default, PBIR folder names for pages/visuals/bookmarks are 20-character GUIDs like 90c2e07d8e84e7d5c026. They can be renamed, but the object name property inside the JSON must remain unique; restart Desktop after renaming.
  • For Fabric REST API deployment, definition.pbir must use a byConnection reference (not byPath) with a connectionString containing semanticmodelid=<guid>.
  • PBIR supports up to 1,000 pages per report, 1,000 visuals per page, 300 MB per report (service-enforced).

Definition.pbir -- byPath vs byConnection

{
  "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definitionProperties/2.0.0/schema.json",
  "version": "4.0",
  "datasetReference": {
    "byPath": { "path": "../MyProject.SemanticModel" }
  }
}

For remote (live-connect) semantic models, use byConnection. When deploying via the Fabric REST API, only the semanticmodelid is required:

{
  "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definitionProperties/2.0.0/schema.json",
  "version": "4.0",
  "datasetReference": {
    "byConnection": {
      "connectionString": "semanticmodelid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
  }
}

You can have **multiple *.pbir files** in the same Report folder (e.g., definition.pbir + definition-liveConnect.pbir). Fabric Git integration only processes definition.pbir; the others are preserved but ignored.

PBIR Report JSON Schema

Each visual is a separate JSON file with a schema declaration:

{
  "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.0.0/schema.json",
  "name": "uniqueVisualId",
  "position": {
    "x": 50, "y": 50,
    "width": 400, "height": 300,
    "tabOrder": 0
  },
  "visual": {
    "visualType": "barChart",
    "query": {
      "queryState": {
        "Category": {
          "projections": [{ "queryRef": "Product.Category", "active": true }]
        },
        "Y": {
          "projections": [{ "queryRef": "Sum(Sales.Amount)" }]
        }
      }
    },
    "objects": {
      "legend": [{ "properties": { "show": { "expr": { "Literal": { "Value": "true" } } } } }]
    }
  }
}

Programmatic PBIR Manipulation

Since PBIR files are schema-validated JSON, you can create or modify reports with any language. Every file includes a $schema URL pointing to the public JSON schema, so VS Code, PyCharm, and other editors provide full IntelliSense and validation while editing.

Common scenarios enabled by the file-per-object layout:

  • Copy pages, visuals, or bookmarks between reports (file copy, no Desktop required)
  • Batch-update a property across every visual (e.g., hide filter pane on all visuals)
  • Script-generate entire pages from a data-driven template
  • Find-and-replace field references across an entire report for a rename refactor

For complete Python examples (add page, batch update all visuals, copy visual between reports), see references/pbir-schema-reference.md.

PBIR Annotations (Custom Deployment Metadata)

You can embed name-value annotations inside report.json, page.json, or visual.json. Power BI Desktop ignores them, but deployment scripts can read them as configuration:

{
  "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/report/1.0.0/schema.json",
  "themeCollection": {
    "baseTheme": {"name": "CY24SU06", "type": "SharedResources"}
  },
  "annotations": [
    {"name": "defaultPage", "value": "c2d9b4b1487b2eb30e98"},
    {"name": "deploymentTier", "value": "production"},
    {"name": "owner", "value": "analytics-team@contoso.com"}
  ]
}

Self-Validation of Generated PBIR

Before committing or deploying any PBIR you've generated, validate it locally. Every PBIR file embeds a $schema URL pointing to the official Microsoft schema in microsoft/json-schemas, which means standard JSON Schema validators (Python jsonschema, VS Code) catch syntax errors offline.

Three layers to run on every PBIR change:

  1. JSON schema -- python -m jsonschema against each *.json file using the embedded $schema URL
  2. Rules -- PBI-InspectorV2 (Fab Inspector) v2.3+ runs the rules-based PBIR/PBIP validator with the -fabricitem switch and supports the new enhanced PBIR format (the original PBI-Inspector repo only handles PBIR-Legacy)
  3. Lineage -- a custom Python walker that verifies bookmarks reference real pages, drillthrough targets exist, and theme files are present

For full recipes including a GitHub Actions CI gate template, see the powerbi-master:validation-testing skill.

PBIR Limitations to Know

  • Large reports (>500 files) can experience authoring performance issues in Desktop (viewing is not affected).
  • Filter pane must be expanded at least once for automatic visual filters to persist to visual.json.
  • Bookmarks capture visual state from the original page; copying a bookmark to a report without the source visuals drops invalid visual state.
  • pageBinding.name must be unique across the report (used for drillthrough/tooltip pages). After June 2024, new pageBinding names are GUIDs by default to avoid collisions.
  • Renaming folders requires a Desktop restart and preserves the original name on save unless you also update the name property inside the JSON.
  • Not supported in Template App workspaces.

TMDL - Tabular Model Definition Language

TMDL is the human-readable, source-control-friendly format for semantic model definitions. GA since 2025. For comprehensive TMDL coverage including complete syntax reference, all object types, CI/CD patterns, and deployment workflows, load the dedicated powerbi-master:tmdl-mastery skill.

Quick example:

table Sales
    measure 'Total Sales' = SUM(Sales[Amount])
        formatString: $ #,##0.00
        displayFolder: Revenue

    partition 'Sales-Partition' = m
        mode: import
        source =
            let
                Source = Sql.Database("server", "db"),
                Sales = Source{[Schema="dbo",Item="Sales"]}[Data]
            in
                Sales

    column Amount
        dataType: decimal
        sourceColumn: Amount
        formatString: $ #,##0.00

TOM - Tabular Object Model (.NET SDK)

The.NET SDK for creating and managing semantic models programmatically via XMLA endpoint. Use TOM when you need low-level control over the model graph, custom CI/CD tooling, or integration with non-Python.NET applications.

Setup

dotnet add package Microsoft.AnalysisServices.NetCore.retail.amd64
# .NET Framework alternative:
# Install-Package Microsoft.AnalysisServices.retail.amd64

Quick Example: Modify an Existing Model

using Microsoft.AnalysisServices.Tabular;

string conn = "DataSource=powerbi://api.powerbi.com/v1.0/myorg/Sales-Dev;" +
              "User ID=app:{clientId}@{tenantId};Password={secret};";

using var server = new Server();
server.Connect(conn);

var db = server.Databases.FindByName("SalesModel");
var model = db.Model;

model.Tables["Sales"].Measures.Add(new Measure() {
    Name = "YoY Growth",
    Expression = @"
        VAR Current = [Total Sales]
        VAR PY = CALCULATE([Total Sales], SAMEPERIODLASTYEAR('Date'[Date]))
        RETURN DIVIDE(Current - PY, PY)",
    FormatString = "0.00%"
});

model.SaveChanges();

For complete TOM patterns (creating models from scratch, relationships, RLS, OLS, partitions, incremental refresh, perspectives, translations, calculation groups, service principal auth, Azure AD token auth), see references/tom-advanced-patterns.md.

Licensing Requirement

TOM requires XMLA read/write endpoint access: Premium, PPU, or Fabric F-SKU capacity.

When to Pick TOM vs Alternatives

ScenarioUse
.NET application or custom toolingTOM
Python notebook inside Fabricsemantic-link-labs (wraps TOM)
TMDL folder deployment via CLITabular Editor 2 -D switch
PBIP project deploymentfabric-cicd
Schema diff and selective deployALM Toolkit

Tabular Editor

External tool for advanced semantic model development. Two editions:

FeatureTE2 (Free)TE3 (Paid)
TOM object editing, C# scripting, BPAYesYes (enhanced IDE)
TMDL read/writeYes (2.17+)Full
DAX debugger, diagram view, advanced IntelliSenseNoYes
Calculation group selection expressionsNoYes

2025-2026 external-tool context: As of June 2025, there are no longer any unsupported write operations for external tools in Desktop -- Tabular Editor, DAX Studio, and ALM Toolkit can freely modify any aspect of the model. The TMDL view (GA in Desktop) further expanded write support for objects that have no UI (calc groups, perspectives, translations, detail row expressions).

C# script example -- auto-generate YTD measures:

foreach (var m in Model.AllMeasures.Where(m => m.DisplayFolder == "Revenue"))
{
    var ytd = m.Table.AddMeasure(
        m.Name + " YTD",
        $"CALCULATE({m.DaxObjectFullName}, DATESYTD('Date'[Date]))"
    );
    ytd.DisplayFolder = "Revenue\\YTD";
    ytd.FormatString = m.FormatString;
}

Tabular Editor 2 can deploy TMDL folders to XMLA endpoints via the -D command-line switch, making it a zero-code alternative to fabric-cicd for XMLA-based deployment. See tmdl-mastery skill references for full CLI examples.

fabric-cicd (Python, 2026 Primary Deployment Tool)

fabric-cicd is Microsoft's officially supported, open-source Python library for deploying Fabric items (including PBIP projects) from source control to workspaces. It is the 2026-recommended path for PBIP deployment and is the engine behind the Fabric CLI fab deploy command.

Key facts:

  • Package: pip install fabric-cicd (Python 3.9 - 3.13)
  • Supports 24 item types, including SemanticModel, Report, Notebook, DataPipeline, Dataflow, Lakehouse, Warehouse, Environment, VariableLibrary
  • Automatic dependency ordering (semantic models before reports; lakehouses before dependent notebooks)
  • Parameterization via parameter.yml for environment-specific find-and-replace
  • Orphan cleanup via unpublish_all_orphan_items()
  • Authentication via Azure Identity SDK (InteractiveBrowserCredential, AzureCliCredential, ClientSecretCredential, DefaultAzureCredential, ManagedIdentityCredential)

Minimal deploy.py

import argparse
from azure.identity import InteractiveBrowserCredential, AzureCliCredential
from fabric_cicd import FabricWorkspace, publish_all_items, unpublish_all_orphan_items

parser = argparse.ArgumentParser()
parser.add_argument("--workspace_name", required=True)
parser.add_argument("--environment", default="dev")
parser.add_argument("--spn-auth", action="store_true")
parser.add_argument("--cleanup-orphans", action="store_true")
args = parser.parse_args()

credential = AzureCliCredential() if args.spn_auth else InteractiveBrowserCredential()

target = FabricWorkspace(
    workspace_name=args.workspace_name,
    environment=args.environment,
    repository_directory=".",
    item_type_in_scope=["SemanticModel", "Report"],
    token_credential=credential,
)

publish_all_items(target)
if args.cleanup_orphans:
    unpublish_all_orphan_items(target)

Deployment typically takes 20-30 seconds per item. The first deployment requires manually setting data-source credentials in the Fabric portal (Workspace > Semantic Model > Settings > Data source credentials); subsequent deployments reuse them.

Environment Parameterization (parameter.yml)

Place parameter.yml at the project root. fabric-cicd find-and-replaces find_value with the environment-specific replace_value across all PBIP definition files before publishing:

find_replace:
  - find_value: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"  # dev lakehouse GUID
    replace_value:
      dev:  "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
      prod: "cccccccc-cccc-cccc-cccc-cccccccccccc"
  - find_value: "sql-dev.database.windows.net"
    replace_value:
      dev:  "sql-dev.database.windows.net"
      prod: "sql-prod.database.windows.net"

fabric-cicd also supports key_value_replace with JSONPath for structured substitution and per-item filters (item_type, item_name, file_path).

Service Principal Requirements

  1. Tenant setting "Service principals can call Fabric public APIs" must be enabled in the Fabric admin portal
  2. Service principal needs Contributor or Admin role on each target workspace
  3. For Direct Lake models, the SP also needs at least Viewer on the source Lakehouse/Warehouse

For complete CI/CD workflow examples (GitHub Actions with OIDC federated credentials, Azure DevOps pipelines, multi-workspace deploy, pre/post hooks, troubleshooting), see references/fabric-cicd-recipes.md.

Fabric CLI (fab) with fab deploy

Fabric CLI v1.5 (GA March 2026) introduced the fab deploy command, which wraps fabric-cicd as a single CLI operation. It accepts the same parameter.yml files you use with the Python library.

# Install
pip install ms-fabric-cli

# Authenticate (once)
fab auth login

# Deploy an entire workspace from a local repo
fab deploy \
  --source "./MyProject" \
  --workspace "Sales-Dev" \
  --environment dev \
  --item-types "SemanticModel,Report" \
  --cleanup-orphans

# Run from CI/CD with service principal
fab auth login \
  --tenant $TENANT_ID \
  --service-principal \
  --client-id $CLIENT_ID \
  --client-secret $CLIENT_SECRET
fab deploy --source . --workspace "Sales-Prod" --environment prod

The CLI also exposes lower-level item management:

fab ls /Sales-Dev/                                    # list workspace items
fab get /Sales-Dev/SalesModel.SemanticModel           # get item definition
fab import /Sales-Dev/SalesModel.Report ./report.pbir # import a single item
fab rm /Sales-Dev/OldReport.Report                    # delete an item

Semantic Link / semantic-link-labs (Python)

For scripting semantic models from Fabric notebooks (no.NET toolchain required), use:

  • semantic-link (SemPy) -- preinstalled in Fabric runtimes; read/query models, run DAX, use INFO functions
  • semantic-link-labs (sempy_labs) -- Microsoft-maintained higher-level library with a TOM context-manager wrapper, BPA, Direct Lake helpers, and deployment APIs

Minimal TOM wrapper example:

%pip install semantic-link-labs -q
from sempy_labs.tom import connect_semantic_model

with connect_semantic_model(dataset="SalesModel", workspace="Sales-Dev") as tom:
    tom.add_measure(
        table_name="Sales",
        measure_name="Sales Amount",
        expression="SUM(Sales[Amount])",
        format_string="$ #,##0.00",
        display_folder="Revenue",
    )
# Changes auto-saved on context exit

Also provides: run_model_bpa, deploy_semantic_model, export_model_to_tmdl, update_direct_lake_model_connection, add_incremental_refresh_policy, set_rls, set_ols, plus direct access to raw TOM via tom.model.

For complete semantic-link-labs recipes (calc groups, incremental refresh, RLS, OLS, Direct Lake, BPA CI gates, TMDL export/import, pythonnet fallback), see the powerbi-master:tmdl-mastery skill's references/tmdl-programmatic-python.md.

pbi-tools

Open-source CLI for extracting, serializing, and compiling PBIX files for source control. Useful for legacy PBIX workflows when PBIP is not yet an option.

2026 status: pbi-tools gained TMDL support starting in 1.0.0-rc.3 and is considered stable for TMDL. Full PBIR support is still evolving -- for new projects, prefer native PBIP + fabric-cicd.

# Extract PBIX to source-control-friendly folder (supports TMDL output)
pbi-tools extract "Report.pbix" -modelFormat TMDL

# Compile back to PBIX
pbi-tools compile "Report/" -format PBIX -outPath "Report.pbix"

# Deploy to Power BI Service
pbi-tools deploy "Report/" -environment Production

Extracted structure (with TMDL):

Report/
├── .pbixproj.json          # Project settings
├── Model/                  # TMDL or JSON BIM (configurable)
│   ├── database.tmdl
│   └── tables/
├── Report/                 # Report layout (PBIR-Legacy JSON)
│   └── report.json
├── Mashup/                 # Power Query M code
│   └── Package/Formulas/
└── StaticResources/        # Images, custom visuals

When to use pbi-tools vs fabric-cicd:

  • pbi-tools: Legacy PBIX files, Report Server, older workflows not yet on PBIP
  • fabric-cicd: New PBIP projects, Fabric workspaces, production CI/CD (recommended)

ALM Toolkit

Free tool for schema comparison between semantic models:

  • Compare local model vs. published model
  • Identify differences in tables, columns, measures, relationships
  • Deploy changes selectively
  • Works with XMLA endpoint (Premium/PPU/Fabric)

Power BI Desktop Developer Features (2026)

Developer Mode and Git Integration

As of 2026, PBIP save is GA in the Desktop UI. TMDL is the default semantic-model format inside new PBIP projects. PBIR is behind a preview feature toggle until the May 2026 Desktop release:

  1. File > Options > Preview features > "Store reports using enhanced metadata format (PBIR)" (still required in April 2026; becomes default in May)
  2. File > Save As > Power BI Project (.pbip)

Git integration workflow:

  • Save as PBIP locally, commit to Git (TMDL and PBIR files are git-friendly)
  • Fabric workspace > Settings > Git integration > connect to Azure DevOps or GitHub repo
  • Feature branches for development, PR-based review, auto-sync on merge to main
  • Fabric workspace sync is bidirectional: edits in the workspace Service can be committed back to the branch

Important: When connecting a Fabric workspace to Git, semantic models are now exported as TMDL (not TMSL/BIM). Reports are exported in whichever PBIR variant they currently use -- PBIR-Legacy for reports not yet upgraded, PBIR for upgraded reports.

Enhanced Dataset Metadata (GA)

Enhanced metadata format stores semantic model information as text (TMDL) instead of the binary model.bim, enabling:

  • Source-control friendly text-based format
  • Programmatic editing and diffing
  • Better merge conflict resolution
  • Compatibility with TMDL and PBIP workflows

Sensitivity Labels in Desktop

Apply Microsoft Purview sensitivity labels directly in Power BI Desktop:

  • Labels propagate from datasets to reports and exports
  • Mandatory labeling can be enforced via tenant settings
  • Labels are preserved when publishing to the service
  • Export protection (PDF, PowerPoint, Excel) applies based on label

Note: Sensitivity labels are NOT supported in Power BI Report Server.

Desktop Performance Settings

SettingLocationImpact
Background dataData Load optionsFaster development experience
Parallel loading of tablesData Load optionsFaster initial load of multi-table models
DirectQuery query timeoutDirectQuery optionsPrevent long-running queries
Auto date/timeData Load optionsDisable for production (saves memory)
Auto recoveryData Load optionsProtect against crashes
PBIR formatPreview featuresStill required in April 2026; default in May
UDFsPreview featuresEnable DAX user-defined functions
Enhanced time intelligencePreview featuresEnable calendar-based week functions

Deployment Decision Matrix (2026)

ScenarioRecommended Tool
PBIP project with CI/CD (GitHub Actions / Azure DevOps)fabric-cicd (Python)
Local ad-hoc deploy of a PBIPfab deploy (Fabric CLI v1.5+)
Fabric notebook-based model editingsemantic-link-labs (sempy_labs)
Pure semantic model via XMLATOM (.NET) via Microsoft.AnalysisServices.NetCore.retail.amd64
TMDL folder -> XMLATabular Editor 2 CLI (-D switch)
Legacy PBIX only (no PBIP)pbi-tools
Cross-environment promotion (dev/test/prod)Fabric Deployment Pipelines (GUI) OR fabric-cicd with parameter.yml
Schema diff between two modelsALM Toolkit

Additional Resources

Reference Files

  • references/pbir-schema-reference.md -- Complete PBIR JSON schema reference for visuals, pages, and report settings
  • references/tom-advanced-patterns.md -- Advanced TOM patterns: relationships, RLS, partitions, perspectives, translations
  • references/fabric-cicd-recipes.md -- Advanced fabric-cicd patterns: multi-workspace deployment, custom item ordering, hooks, environment parameter patterns, and troubleshooting

Related Skills

  • powerbi-master:tmdl-mastery -- Deep TMDL language reference and syntax
  • powerbi-master:validation-testing -- Validate generated PBIR / TMDL / DAX before deploy: jsonschema, PBI-InspectorV2, TmdlSerializer, BPA, fabric-cicd parameter validation
  • powerbi-master:rest-api-automation -- Raw Fabric REST API endpoints when fabric-cicd doesn't cover a scenario
  • powerbi-master:deployment-admin -- Fabric Deployment Pipelines, workspace management, RLS at deploy time
  • powerbi-master:fabric-integration -- Direct Lake, OneLake, Lakehouse/Warehouse integration

Official Microsoft References (2026)

平台分布

Codex

36.11%
按下载量换算52

Claude

32.12%
按下载量换算46

Cursor

18.18%
按下载量换算26

Gemini CLI

10.15%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills