powerbi-project-workflows
Skill29 starsChanged 2 months agoApache-2.0View on GitHub
Build, audit, diagnose, repair, validate, document, and deliver local Power BI Desktop models and PBIP projects with Horizun PBI MCP. Use for DAX, semantic models, TMDL, PBIR, report pages, visual layout, PBIX/PBIP conversion, and pre-delivery checks; not for Power BI Service or Fabric cloud administration.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- horizun-pbi-setupSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
If readiness or the active target is unclear, call pbi_health_check and pbi_capabilities before doing work.
- Distinctive: line 23
Keep the live semantic-model layer separate from the PBIP file layer.
- Very specific: line 29
Audit or explain: start with pbi_model_summary and pbi_audit_project using compact=true.
- Very specific: line 37
Build a page or dashboard: prefer pbi_build_dashboard, pbi_build_executive_page, or pbi_generate_report_page.
- Very specific: line 45
Prepare delivery: call pbi_prepare_delivery in dry-run mode, resolve blockers, validate the project, and generate the requested …
- Very specific: line 54
Do not use mode="both"; live and PBIP writes cannot be made safely in the same call.
- Distinctive: line 58
Never close Desktop, overwrite a deliverable, delete model objects, or run a destructive action without the explicit confirmation required …
- Distinctive: line 60
Do not bypass project-state checks, backups, transactions, schema validation, or post-write verification.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Power BI project workflows
Turn a plain-language Power BI request into a verified result with the
pbi_* tools. Prefer the high-level workflow tool that matches the requested
outcome; use lower-level tools only when the workflow needs diagnosis or a
precise edit.
Establish the target
- If readiness or the active target is unclear, call
pbi_health_checkandpbi_capabilitiesbefore doing work. - For an open Desktop model, use
pbi_list_desktop_models, thenpbi_select_model. Never guess which model the user means when several are open. - For a file or folder, use
pbi_prepare_projectwith the exact path. It resolves.pbip, converts a.pbixwhen requested, and rejects ambiguous folders instead of choosing a project silently. - Keep the live semantic-model layer separate from the PBIP file layer. Desktop exposes DAX/TOM data and model operations; pages and visuals are authored in PBIR files while the project is safe to write.
Route by outcome
- Audit or explain: start with
pbi_model_summaryandpbi_audit_projectusingcompact=true. Usepbi_audit_model,pbi_audit_report_only, orpbi_diagnose_dataonly when the user needs that narrower evidence. Data diagnosis requires a live, loaded Desktop model. - Diagnose DAX: inspect the measure and its dependencies, reproduce the
symptom with read-only
pbi_run_dax, and usepbi_validate_measuresbefore creating or updating a measure. Do not treat a syntactically valid measure as semantically correct without a representative query. - Build a page or dashboard: prefer
pbi_build_dashboard,pbi_build_executive_page, orpbi_generate_report_page. Run the preview ordry_run=truepath first, verify referenced measures and fields, then apply only when the user's request authorizes the write. - Repair quality findings: audit first, select concrete rules, call
pbi_plan_audit_fixes, show the proposed actions, and pass only those actions topbi_apply_audit_fixes. Never invent an "apply everything" operation. - Prepare delivery: call
pbi_prepare_deliveryin dry-run mode, resolve blockers, validate the project, and generate the requested documentation or exports. Usepbi_finalize_deliveryonly when the user asked for the final deliverable and the target path and overwrite behavior are unambiguous.
Safety boundaries
- The server is local-first. Do not claim that it administers Power BI Service or Fabric, publishes to the service, or can control a remote Desktop session.
- Do not use
mode="both"; live and PBIP writes cannot be made safely in the same call. - Preserve dry-run defaults. A request to inspect, diagnose, audit, review, or explain does not authorize applying changes.
- Never close Desktop, overwrite a deliverable, delete model objects, or run a destructive action without the explicit confirmation required by that tool.
- Do not bypass project-state checks, backups, transactions, schema validation, or post-write verification. If validation cannot prove the result, report that limitation instead of declaring success.
Report the result
Lead with what was accomplished. Include the target model or project, the evidence used, changes made, validation outcome, generated artifact paths, and any remaining warnings. Distinguish "not checked" from "passed" and a preview from an applied change.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

