Power-bi-agentic-development te-docs
Tabular Editor documentation search and configuration file guidance (.tmuo, Preferences.json, UiPreferences.json, Layouts.json). Automatically invoke when the user asks about "TE docs", "Tabular Editor features", "TE3 preferences", ".tmuo files", "workspace database settings", "DAX editor settings", "per-model TE3 configuration", or needs to search Tabular Editor documentation for how-to guidance.
git clone https://github.com/data-goblin/power-bi-agentic-development
T=$(mktemp -d) && git clone --depth=1 https://github.com/data-goblin/power-bi-agentic-development "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/tabular-editor/skills/te-docs" ~/.claude/skills/data-goblin-power-bi-agentic-development-te-docs && rm -rf "$T"
plugins/tabular-editor/skills/te-docs/SKILL.mdTabular Editor Documentation & Configuration
Guidance for searching Tabular Editor documentation and understanding TE3 configuration files (.tmuo, Preferences.json, etc.).
Pre-flight
Before using documentation search, verify
pbi-search is installed:
pbi-search --version
If the command is not found, inform the user and offer two options:
- Install
(recommended): seepbi-search
for install instructions viabin/README.md
or GitHub Releases at data-goblin/pbi-searchcargo install - Search without the CLI: use the
MCP tools (microsoft-learn
,microsoft_docs_search
) for Microsoft Learn content, ormicrosoft_docs_fetch
to retrieve docs directly from these sources:WebFetch- Tabular Editor docs:
https://docs.tabulareditor.com/ - DAX reference:
https://dax.guide/<function>/ - SQLBI articles:
https://www.sqlbi.com/articles/ - Data Goblins:
https://data-goblins.com/
- Tabular Editor docs:
The CLI is strongly preferred; it searches all sources simultaneously and returns clean markdown. The fallback requires manual URL construction and multiple fetches.
Documentation Search
Use the
pbi-search CLI — the preferred way to search Tabular Editor docs and related Power BI/DAX resources. It searches Tabular Editor docs, DAX.guide, SQLBI, Microsoft Learn (Power BI + Fabric), the TE blog, and Data Goblins simultaneously, returning clean markdown.
After install, populate the local manifest cache (once):
pbi-search sync # ~13s
Searching
# Search all sources pbi-search search "creating measures" # Search only Tabular Editor docs pbi-search search "BPA rules" --source te-docs # Search TE blog + TE docs pbi-search search "incremental refresh" --source te-docs --source te-blog # JSON output for structured use in agents pbi-search search "workspace mode" --source te-docs --json # Include content excerpts pbi-search search "calculated columns" --source te-docs --excerpts
Fetching full docs
# Tabular Editor doc by bare path (from search results) pbi-search fetch features/Best-Practice-Analyzer # Any supported URL pbi-search fetch https://docs.tabulareditor.com/features/workspace-mode pbi-search fetch https://dax.guide/calculate/ # Extract a specific section pbi-search fetch features/Best-Practice-Analyzer --section "Creating rules" # Truncate for context budget pbi-search fetch features/creating-measures --max-chars 3000 --json
Agent search workflow
— find relevant docspbi-search search "<topic>" --source te-docs --json- Use the
orpath
from results:urlpbi-search fetch <path> - No results? Broaden:
(all sources)pbi-search search "<topic>" - DAX questions: always add
--source dax-guide
Available sources
| ID | Content |
|---|---|
| Tabular Editor docs (features, how-tos, KB, references) |
| ~480 DAX function reference pages |
| Tabular Editor blog |
| Microsoft Learn — Power BI + Fabric (live, no sync needed) |
| ~370 SQLBI technical articles |
| Data Goblins Power BI posts |
Richer search quality (optional)
Default sync builds a fast title-only index. For conceptual queries ("remove filters from column") run once with descriptions:
pbi-search sync --descriptions # fetches meta descriptions; ~30s extra
Configuration Files (.tmuo)
TMUO files store developer- and model-specific preferences in Tabular Editor 3.
Critical
- TMUO files contain user-specific settings -- never commit to version control
- Credentials are encrypted with Windows User Key -- cannot be shared between users
- Add
to*.tmuo
in all projects.gitignore - File naming:
<ModelFileName>.<WindowsUserName>.tmuo
Structure
{ "UseWorkspace": true, "WorkspaceConnection": "localhost", "WorkspaceDatabase": "MyModel_Workspace_JohnDoe", "Deployment": { "TargetConnectionString": "powerbi://api.powerbi.com/v1.0/myorg/Workspace", "TargetDatabase": "MyModel", "DeployPartitions": false, "DeployModelRoles": true }, "DataSourceOverrides": { "SQL Server": { "ConnectionString": "Data Source=localhost;Initial Catalog=DevDB" } } }
Sections
| Section | Purpose |
|---|---|
| Enable workspace database mode |
| Server for workspace database |
| Workspace database name (unique per dev/model) |
| Target server, database, and deploy options |
| Override connections for workspace |
| Settings for Import Tables feature |
Deployment Options
| Field | Type | Description |
|---|---|---|
| string | Target server connection |
| string | Target database name |
| bool | Deploy partition definitions |
| bool | Deploy security roles |
| bool | Deploy role members |
| bool | Deploy shared M expressions |
Application Preferences
TE3 stores application-level preferences in
%LocalAppData%\TabularEditor3\:
| File | Purpose |
|---|---|
| Application settings (proxy, updates, telemetry) |
| UI state (window positions, panel sizes) |
| Saved layout configurations |
References
-- Detailed documentation structurereferences/doc-structure.md
-- Old-to-new URL mapping for broken linksreferences/url-redirects.md
-- JSON schemas for tmuo, preferences, layouts, UI preferencesschema/
-- Validate TE3 config filesscripts/validate_config.py
-- Validate TMUO filesscripts/validate_tmuo.py