agentleFS
HorizunGroupHorizunGroup/horizun-pbi-mcp/skills/powerbi-project-workflows/SKILL.md

powerbi-project-workflows

Skill34 starsChanged 25 days 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.

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
  1. Very specific:

    If readiness or the active target is unclear, call pbi_health_check and pbi_capabilities before doing work.

    line 15
  2. Distinctive:

    Keep the live semantic-model layer separate from the PBIP file layer.

    line 23
  3. Very specific:

    Audit or explain: start with pbi_model_summary and pbi_audit_project using compact=true.

    line 29
  4. Very specific:

    Build a page or dashboard: prefer pbi_build_dashboard, pbi_build_executive_page, or pbi_generate_report_page.

    line 37
  5. Very specific:

    Prepare delivery: call pbi_prepare_delivery in dry-run mode, resolve blockers, validate the project, and generate the requested …

    line 45
  6. Very specific:

    Do not use mode="both"; live and PBIP writes cannot be made safely in the same call.

    line 54
  7. Distinctive:

    Never close Desktop, overwrite a deliverable, delete model objects, or run a destructive action without the explicit confirmation required …

    line 58
  8. Distinctive:

    Do not bypass project-state checks, backups, transactions, schema validation, or post-write verification.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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_check and pbi_capabilities before doing work.
  • For an open Desktop model, use pbi_list_desktop_models, then pbi_select_model. Never guess which model the user means when several are open.
  • For a file or folder, use pbi_prepare_project with the exact path. It resolves .pbip, converts a .pbix when 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_summary and pbi_audit_project using compact=true. Use pbi_audit_model, pbi_audit_report_only, or pbi_diagnose_data only 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 use pbi_validate_measures before 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, or pbi_generate_report_page. Run the preview or dry_run=true path 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 to pbi_apply_audit_fixes. Never invent an "apply everything" operation.
  • Prepare delivery: call pbi_prepare_delivery in dry-run mode, resolve blockers, validate the project, and generate the requested documentation or exports. Use pbi_finalize_delivery only 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.