Agent skill · Databases

tmdl

Direct TMDL file authoring and BIM-to-TMDL conversion for semantic models in PBIP projects. Automatically invoke when the user asks to "edit TMDL", "add a measure in TMDL", "TMDL syntax", "fix formatString", "fix summarizeBy", "TMDL indentation", "convert BIM to TMDL", "add a column description", "create a calculated column in TMDL", or mentions .tmdl file editing or BIM-to-TMDL migration.

data-goblingithub.com/data-goblinGitHub ↗
claude-codecopilotGPL-3.0
Install
npx skills add data-goblin/power-bi-agentic-development --skill tmdl --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 56
SKILL.md size: 21 KB
Bundled scripts: none
Path: plugins/pbip/skills/tmdl/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 833
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# TMDL Authoring Expert guidance for authoring and editing TMDL (Tabular Model Definition Language) files directly in PBIP projects. > **This skill is a last resort.** Direct TMDL file editing lacks the validation, atomicity, and DAX query capabilities of the Tabular Editor CLI, Power BI MCP server, or the `connect-pbid` skill (TOM via PowerShell). Use those tools when available. TMDL editing is appropriate when: > > - Working with PBIP files in a Git repo without Power BI Desktop open > - No Tabular Editor CLI or MCP server is installed > - Making quick text-level fixes (descriptions, format strings, display folders) where a full tool chain is overkill > > Direct TMDL editing does not validate DAX syntax, check referential integrity, or verify that property values are valid. Errors will only surface when the model is next loaded in Power BI Desktop or deployed via XMLA. Use the **`pbip-validator`** agent to check TMDL files for syntax issues, indentation errors, and referential integrity before opening in PBI Desktop. ## When to Use This Skill Activate only when the Tabular Editor CLI, Power BI MCP server, or `connect-pbid` skill are not available, and tasks involve: - Editing `.t

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Critical
  3. TMDL File Types
  4. Object Nesting Rules
  5. Syntax Rules
  6. Indentation
  7. Descriptions (///)
  8. Comments (//)
  9. Property Ordering
  10. Name Quoting
  11. When to Quote
  12. When NOT to Quote
  13. Examples
  14. Column Definitions
Ships with 24 files
  • examples/SpaceParts.SemanticModel/definition/cultures/en-US.tmdl
  • examples/SpaceParts.SemanticModel/definition/database.tmdl
  • examples/SpaceParts.SemanticModel/definition/expressions.tmdl
  • examples/SpaceParts.SemanticModel/definition/functions.tmdl
  • examples/SpaceParts.SemanticModel/definition/model.tmdl
  • examples/SpaceParts.SemanticModel/definition/perspectives/Measure Selection.tmdl
  • examples/SpaceParts.SemanticModel/definition/perspectives/No Measure Selection.tmdl
  • examples/SpaceParts.SemanticModel/definition/relationships.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/Account Managers.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/Brand VPs.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/Business Line Leaders.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/Key Account Managers.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/Station Sales Managers.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/System Regional Managers.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/System Sales Directors.tmdl
  • examples/SpaceParts.SemanticModel/definition/roles/Territory Managers.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/1) Selected Metric.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/2) Selected Unit.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/3) Selected Target.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/4) Selected Period.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/Brands.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/Budget Rate.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/Budget.tmdl
  • examples/SpaceParts.SemanticModel/definition/tables/Customers.tmdl
first 24 of 56
More from power-bi-agentic-development
All skills →
About this skill
What does the tmdl skill do?

Direct TMDL file authoring and BIM-to-TMDL conversion for semantic models in PBIP projects. Automatically invoke when the user asks to "edit TMDL", "add a measure in TMDL", "TMDL syntax", "fix formatString", "fix summarizeBy", "TMDL indentation", "convert BIM to TMDL", "add a column description", "create a calculated column in TMDL", or mentions .tmdl file editing or BIM-to-TMDL migration.

How do I install it?

Run `npx skills add data-goblin/power-bi-agentic-development --skill tmdl --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From data-goblin/power-bi-agentic-development, a repository with 833 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going