@luquimbo/bi-superpowers 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +5 -3
- package/.claude-plugin/plugin.json +1 -1
- package/.claude-plugin/skill-manifest.json +23 -7
- package/.plugin/plugin.json +1 -1
- package/AGENTS.md +124 -26
- package/CHANGELOG.md +494 -16
- package/README.md +33 -117
- package/bin/cli.js +1 -1
- package/bin/commands/diff.js +2 -2
- package/bin/commands/install.js +58 -45
- package/bin/commands/lint.js +2 -2
- package/bin/commands/validate-projects.js +1 -1
- package/bin/lib/generators/claude-plugin.js +14 -5
- package/bin/lib/generators/shared.js +9 -5
- package/bin/lib/mcp-config.js +22 -2
- package/bin/lib/skills.js +8 -8
- package/bin/mcp/powerbi-modeling-launcher.js +8 -4
- package/bin/postinstall.js +14 -12
- package/bin/utils/mcp-detect.js +11 -11
- package/commands/bi-connect.md +34 -17
- package/commands/bi-dax.md +385 -0
- package/commands/bi-kickoff.md +75 -44
- package/commands/bi-modeling.md +395 -0
- package/commands/bi-performance.md +455 -0
- package/commands/bi-start.md +30 -18
- package/desktop-extension/manifest.json +2 -2
- package/package.json +6 -3
- package/skills/bi-connect/SKILL.md +34 -17
- package/skills/bi-connect/scripts/update-check.js +1 -1
- package/skills/bi-dax/SKILL.md +387 -0
- package/skills/{bi-report → bi-dax}/scripts/update-check.js +1 -1
- package/skills/bi-kickoff/SKILL.md +75 -44
- package/skills/bi-kickoff/scripts/update-check.js +1 -1
- package/skills/bi-modeling/SKILL.md +397 -0
- package/skills/bi-modeling/scripts/update-check.js +403 -0
- package/skills/bi-performance/SKILL.md +457 -0
- package/skills/bi-performance/scripts/install-tabular-editor.ps1 +90 -0
- package/skills/bi-performance/scripts/run-bpa.ps1 +161 -0
- package/skills/bi-performance/scripts/update-check.js +403 -0
- package/skills/bi-start/SKILL.md +31 -19
- package/skills/bi-start/scripts/update-check.js +1 -1
- package/src/content/base.md +13 -8
- package/src/content/routing.md +1 -5
- package/src/content/skills/bi-connect.md +32 -15
- package/src/content/skills/bi-dax.md +358 -0
- package/src/content/skills/bi-kickoff.md +73 -42
- package/src/content/skills/bi-modeling.md +368 -0
- package/src/content/skills/bi-performance/SKILL.md +428 -0
- package/src/content/skills/bi-performance/scripts/install-tabular-editor.ps1 +90 -0
- package/src/content/skills/bi-performance/scripts/run-bpa.ps1 +161 -0
- package/src/content/skills/bi-start.md +30 -18
- package/templates/sales/AGENTS.md +33 -0
- package/templates/sales/sales-template.Report/.platform +11 -0
- package/templates/sales/sales-template.Report/StaticResources/RegisteredResources/BISuperpowers.json +3888 -0
- package/templates/sales/sales-template.Report/StaticResources/SharedResources/BaseThemes/Fluent2-CY26SU03.json +4104 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/page.json +123 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/10420560e5b8c5235857/visual.json +16 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/2181c54a94f0c67abb2d/visual.json +283 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/24eba6a7af0b59974ef5/visual.json +703 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/26db24c91e5b615a5c29/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/26db24c91e5b615a5c29/visual.json +528 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/2ec652d0956901dd2afd/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/2ec652d0956901dd2afd/visual.json +324 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/45dda4e0b159becf2dcd/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/45dda4e0b159becf2dcd/visual.json +359 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/4ca8800cf1539ad423f2/visual.json +468 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/4f5704218eb88f7cdff6/mobile.json +29 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/4f5704218eb88f7cdff6/visual.json +241 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/54d3fdbedbbb863a9d7a/visual.json +575 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/68043403e96ca8ed23e8/visual.json +575 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/80b54a678ef36a250994/visual.json +351 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/814f624b6056dc4c8de5/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/814f624b6056dc4c8de5/visual.json +421 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/85e1cc13559f4e107ede/visual.json +681 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/8686961b837e855963fe/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/8686961b837e855963fe/visual.json +720 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/8d302c5b7e87e8cb57bb/visual.json +590 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/a02c5b30f2e757637d78/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/a02c5b30f2e757637d78/visual.json +102 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/a405d29e7744c770d445/visual.json +575 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/b0dc2036d3cf2baafb35/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/b0dc2036d3cf2baafb35/visual.json +333 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/cdd696baaf3b80b326f8/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/cdd696baaf3b80b326f8/visual.json +468 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/ff77ca1bafff5bfe5044/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/017e2c84c7dc89f26e57/visuals/ff77ca1bafff5bfe5044/visual.json +523 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/page.json +130 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/0352fd80d074693a65db/visual.json +681 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/1c5a14bf493697344b68/visual.json +351 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/3486cf7624c5b109b4e5/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/3486cf7624c5b109b4e5/visual.json +333 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/4d8b989008edc0db28d1/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/4d8b989008edc0db28d1/visual.json +102 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/5f4d76bbc870118e9840/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/5f4d76bbc870118e9840/visual.json +468 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/73629e1abebb7a444b59/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/73629e1abebb7a444b59/visual.json +359 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/749cb1388c7e0a88161c/visual.json +685 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/85090dcdf75ac2487d1e/visual.json +283 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/92cf92e3da10493adb78/visual.json +468 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/a30bd0950630ed94e8a3/visual.json +590 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/a56e91d9400a835e4814/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/a56e91d9400a835e4814/visual.json +528 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/a90aaa3e3117494f18f8/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/a90aaa3e3117494f18f8/visual.json +523 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/aded24cd205c0b528642/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/aded24cd205c0b528642/visual.json +720 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/af34b26f14a8a724c9a9/mobile.json +37 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/af34b26f14a8a724c9a9/visual.json +1230 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/b06ef80aa78cabcef8a6/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/b06ef80aa78cabcef8a6/visual.json +324 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/d97979633a91e041107e/mobile.json +11 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/d97979633a91e041107e/visual.json +421 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/fa81f184e2cb0e8b087c/mobile.json +29 -0
- package/templates/sales/sales-template.Report/definition/pages/6a4808bb8bb9166f49ff/visuals/fa81f184e2cb0e8b087c/visual.json +241 -0
- package/templates/sales/sales-template.Report/definition/pages/pages.json +8 -0
- package/templates/sales/sales-template.Report/definition/report.json +89 -0
- package/templates/sales/sales-template.Report/definition/version.json +4 -0
- package/templates/sales/sales-template.Report/definition.pbir +9 -0
- package/templates/sales/sales-template.SemanticModel/.pbi/editorSettings.json +8 -0
- package/templates/sales/sales-template.SemanticModel/.platform +11 -0
- package/templates/sales/sales-template.SemanticModel/DAXQueries/.pbi/daxQueries.json +9 -0
- package/templates/sales/sales-template.SemanticModel/DAXQueries/Calendar445MonthNr.dax +0 -0
- package/templates/sales/sales-template.SemanticModel/DAXQueries/Consulta 1.dax +6 -0
- package/templates/sales/sales-template.SemanticModel/DAXQueries/Consulta 2.dax +32 -0
- package/templates/sales/sales-template.SemanticModel/definition/cultures/es-AR.tmdl +7324 -0
- package/templates/sales/sales-template.SemanticModel/definition/database.tmdl +3 -0
- package/templates/sales/sales-template.SemanticModel/definition/expressions.tmdl +233 -0
- package/templates/sales/sales-template.SemanticModel/definition/functions.tmdl +247 -0
- package/templates/sales/sales-template.SemanticModel/definition/model.tmdl +46 -0
- package/templates/sales/sales-template.SemanticModel/definition/relationships.tmdl +16 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Comparaciones.tmdl +194 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Dimensiones ventas.tmdl +71 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Ejes temporales.tmdl +67 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Per/303/255odos.tmdl" +318 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Vista de calendario.tmdl +36 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Vista del valor.tmdl +87 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Aux Vista temporal.tmdl +62 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Calendario.tmdl +198 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Canales.tmdl +59 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Clientes.tmdl +120 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Modelo Configuraci/303/263n.tmdl" +48 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Monedas.tmdl +43 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/M/303/251tricas.tmdl +553 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Productos.tmdl +73 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Tipo de cambio.tmdl +66 -0
- package/templates/sales/sales-template.SemanticModel/definition/tables/Ventas.tmdl +133 -0
- package/templates/sales/sales-template.SemanticModel/definition.pbism +5 -0
- package/templates/sales/sales-template.SemanticModel/diagramLayout.json +239 -0
- package/templates/sales/sales-template.pbip +14 -0
- package/theme/BISuperpowers.json +3888 -0
- package/commands/bi-report.md +0 -403
- package/skills/bi-report/SKILL.md +0 -405
- package/skills/bi-report/references/cli-commands.md +0 -184
- package/skills/bi-report/references/cli-setup.md +0 -101
- package/skills/bi-report/references/close-write-open-pattern.md +0 -80
- package/skills/bi-report/references/layouts/finance.md +0 -65
- package/skills/bi-report/references/layouts/generic.md +0 -46
- package/skills/bi-report/references/layouts/hr.md +0 -48
- package/skills/bi-report/references/layouts/marketing.md +0 -45
- package/skills/bi-report/references/layouts/operations.md +0 -44
- package/skills/bi-report/references/layouts/sales.md +0 -50
- package/skills/bi-report/references/native-visuals.md +0 -341
- package/skills/bi-report/references/pbi-desktop-installation.md +0 -87
- package/skills/bi-report/references/pbir-preview-activation.md +0 -40
- package/skills/bi-report/references/slicer.md +0 -89
- package/skills/bi-report/references/textbox.md +0 -101
- package/skills/bi-report/references/themes/BISuperpowers.json +0 -915
- package/skills/bi-report/references/troubleshooting.md +0 -135
- package/skills/bi-report/references/visual-types.md +0 -78
- package/skills/bi-report/scripts/apply-theme.js +0 -243
- package/skills/bi-report/scripts/create-visual.js +0 -942
- package/skills/bi-report/scripts/ensure-pbi-cli.sh +0 -41
- package/skills/bi-report/scripts/validate-pbir.js +0 -351
- package/src/content/skills/bi-report/SKILL.md +0 -376
- package/src/content/skills/bi-report/references/cli-commands.md +0 -184
- package/src/content/skills/bi-report/references/cli-setup.md +0 -101
- package/src/content/skills/bi-report/references/close-write-open-pattern.md +0 -80
- package/src/content/skills/bi-report/references/layouts/finance.md +0 -65
- package/src/content/skills/bi-report/references/layouts/generic.md +0 -46
- package/src/content/skills/bi-report/references/layouts/hr.md +0 -48
- package/src/content/skills/bi-report/references/layouts/marketing.md +0 -45
- package/src/content/skills/bi-report/references/layouts/operations.md +0 -44
- package/src/content/skills/bi-report/references/layouts/sales.md +0 -50
- package/src/content/skills/bi-report/references/native-visuals.md +0 -341
- package/src/content/skills/bi-report/references/pbi-desktop-installation.md +0 -87
- package/src/content/skills/bi-report/references/pbir-preview-activation.md +0 -40
- package/src/content/skills/bi-report/references/slicer.md +0 -89
- package/src/content/skills/bi-report/references/textbox.md +0 -101
- package/src/content/skills/bi-report/references/themes/BISuperpowers.json +0 -915
- package/src/content/skills/bi-report/references/troubleshooting.md +0 -135
- package/src/content/skills/bi-report/references/visual-types.md +0 -78
- package/src/content/skills/bi-report/scripts/apply-theme.js +0 -243
- package/src/content/skills/bi-report/scripts/create-visual.js +0 -942
- package/src/content/skills/bi-report/scripts/ensure-pbi-cli.sh +0 -41
- package/src/content/skills/bi-report/scripts/validate-pbir.js +0 -351
package/commands/bi-report.md
DELETED
|
@@ -1,403 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "3-page PBIR report generation for Power BI Desktop (Windows)"
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Generated by BI Agent Superpowers. Edit src/content/skills/bi-report/SKILL.md instead. -->
|
|
6
|
-
|
|
7
|
-
<!-- bi-superpowers update-check preamble (auto-generated, do not edit) -->
|
|
8
|
-
## ⬆ Update check
|
|
9
|
-
|
|
10
|
-
Before handling the user's request below, run this command **once per conversation** and interpret the output:
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
node "{skillBundleDir}/scripts/update-check.js" --silent-if-uptodate --silent-if-snoozed
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
- Empty output or `UPTODATE` — proceed with the skill silently. No message.
|
|
17
|
-
- `UPDATE_AVAILABLE <installed> <latest>` — tell the user exactly once this conversation, before diving into the skill:
|
|
18
|
-
> "Hay **bi-superpowers v{latest}** disponible (estás en v{installed}). Actualizá con `super upgrade` (o `/plugin update bi-superpowers` en Claude Code) cuando te venga bien. Si estás usando un plugin local generado con `super kickoff`, después corré `super recharge` en ese repo."
|
|
19
|
-
|
|
20
|
-
Then continue with the skill below.
|
|
21
|
-
- `SNOOZED <iso>` — proceed silently.
|
|
22
|
-
|
|
23
|
-
If the command fails (missing binary, permissions, offline), ignore the error and proceed with the skill. The update check must never block the user's request.
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
<!-- /bi-superpowers update-check preamble -->
|
|
27
|
-
|
|
28
|
-
# Report Design Skill
|
|
29
|
-
|
|
30
|
-
## Trigger
|
|
31
|
-
Activate this skill when the user mentions:
|
|
32
|
-
- "crear reportes", "armar el reporte", "diseñar reporte"
|
|
33
|
-
- "report design", "create reports", "build dashboard"
|
|
34
|
-
- "páginas del reporte", "visualizaciones", "dashboard"
|
|
35
|
-
- Runs naturally after `/bi-kickoff` finishes building the semantic model
|
|
36
|
-
- Explicit invocation: `/bi-report`
|
|
37
|
-
|
|
38
|
-
## Identity
|
|
39
|
-
You are **BI Report Architect**, an orchestrator that turns a finished semantic model into a Power BI report. You author the PBIR visual/theme layer via **bundled Node scripts** — not via the old `pbi visual` / `pbi report set-theme` path:
|
|
40
|
-
|
|
41
|
-
- `scripts/create-visual.js` — creates any of the 28 native PBI visualTypes with a canonical `visual.json` shape (allowlist-driven, validated). **This replaces `pbi visual add` + `pbi visual bind`.**
|
|
42
|
-
- `scripts/apply-theme.js` — registers a custom theme with the canonical `report.json` shape. **This replaces `pbi report set-theme`** (which writes invalid metadata for PBI Desktop March 2026).
|
|
43
|
-
- `scripts/validate-pbir.js` — allowlist + bind-role validator. **Complements `pbi report validate`**, which passes `valid: True` even on non-native types like `stackedBarChart`.
|
|
44
|
-
|
|
45
|
-
The `pbi-cli-tool` (MIT, by MinaSaad1) is still required today for **three parts of the flow**: model introspection via XMLA (`pbi connect`, `pbi measure list`, `pbi table list`, `pbi column list`), report page management (`pbi report add-page`, `pbi report list-pages`), and schema validation (`pbi report validate`). Prefer the Microsoft Modeling MCP when available for the introspection part — same capability, better integrated.
|
|
46
|
-
|
|
47
|
-
Full rationale: `references/native-visuals.md` → section "Lo que este skill YA no hace via CLI".
|
|
48
|
-
|
|
49
|
-
Your job is to plan the report, call the right scripts in the right order, and manage the Power BI Desktop restart cycle required for external changes to render.
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## MANDATORY RULES
|
|
54
|
-
|
|
55
|
-
1. **ONE QUESTION AT A TIME.** No multi-question walls.
|
|
56
|
-
2. **NEVER WRITE visual.json, page.json, OR report.json BY HAND.** Always use `scripts/create-visual.js` (for visuals) or `scripts/apply-theme.js` (for theme). Hand-writing visual.json is a proven failure mode — the bundled scripts know the canonical PBIR 2.7.0 shape and enforce the allowlist. If you hit a visualType the allowlist doesn't cover, stop and add it to `NATIVE_VISUAL_TYPES` in `create-visual.js` (and add a test) before proceeding.
|
|
57
|
-
3. **CLOSE-WRITE-OPEN IS MANDATORY.** Power BI Desktop does not detect external file changes while it's running. When you add or modify visuals via the scripts, you MUST: (a) fully terminate the `PBIDesktop.exe` process before the writes, and (b) relaunch the `.pbip` after the writes. A `Ctrl+S` or `File → Close` inside Desktop is NOT enough — the process must fully die. See `references/close-write-open-pattern.md`.
|
|
58
|
-
4. **RESOLVE MODEL NAMES BEFORE BINDING.** Use Microsoft Modeling MCP (preferred) or `pbi measure list`/`pbi table list`/`pbi column list` (fallback) to get exact names. Never guess. Pass binding values to `create-visual.js` as `--bind role="Table[Column]"` or `--bind role="Table[Measure]"`.
|
|
59
|
-
5. **DO NOT TOUCH TMDL.** Report authoring does not edit the semantic model. If a measure is missing, stop and ask the user to run `/bi-kickoff` or add it manually via Power BI Desktop UI.
|
|
60
|
-
6. **VALIDATE BEFORE HANDOFF.** Run BOTH validators at the end: (a) `pbi report validate` (schema sanity), (b) `node scripts/validate-pbir.js <reportPath>` (allowlist + role checks). The second catches what the first misses. If either reports errors, fix them in place; do NOT tell the user to refresh until both pass.
|
|
61
|
-
7. **WINDOWS ONLY for full workflow.** The bundled scripts are Node-only and portable, but PBI Desktop (required in PHASE 5) and the CLI's XMLA connection are Windows-exclusive. If the user runs this skill on macOS or Linux, you can still generate PBIR via the scripts but the Desktop open+verify cycle won't work. Stop in PHASE 0 and explain: _"El workflow completo requiere Windows con Power BI Desktop. En Mac/Linux podés usar `/bi-kickoff` + los scripts de authoring, pero la verificación visual se queda pendiente hasta abrir el .pbip en Windows."_
|
|
62
|
-
|
|
63
|
-
8. **STANDALONE PBI DESKTOP, NOT MICROSOFT STORE.** The Microsoft Store version of Power BI Desktop sandboxes command-line arguments and rejects the `Start-Process` launch this skill uses in PHASE 5 (error: _"Error al analizar los argumentos de la línea de comandos"_). It also blocks External Tools integration (Tabular Editor, DAX Studio, ALM Toolkit, Bravo, etc.). If only the Store version is detected in PHASE 0, stop and walk the user through installing the standalone installer build (`PBIDesktopSetup_x64.exe`, via `https://aka.ms/pbiSingleInstaller`) and uninstalling the Store version. See `references/pbi-desktop-installation.md`.
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
## PHASE 0: Preflight — verify tools + project
|
|
68
|
-
|
|
69
|
-
0. **Check OS**: if `$OSTYPE` is `darwin*` or `linux*`, stop (see MANDATORY RULE 7). Continue only on Windows.
|
|
70
|
-
|
|
71
|
-
0.5. **Check Power BI Desktop install** (MANDATORY RULE 8):
|
|
72
|
-
|
|
73
|
-
~~~powershell
|
|
74
|
-
$standalone = "C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe"
|
|
75
|
-
$hasStandalone = Test-Path $standalone
|
|
76
|
-
$hasStore = $null -ne (Get-ChildItem "C:\Program Files\WindowsApps" -Directory -ErrorAction SilentlyContinue | Where-Object { $_.Name -like "Microsoft.MicrosoftPowerBIDesktop_*" })
|
|
77
|
-
~~~
|
|
78
|
-
|
|
79
|
-
- **Standalone present, Store absent** → ✓ continue. Remember `$standalone` for PHASE 5.
|
|
80
|
-
- **Standalone present, Store also present** → continue, but tell the user: _"Detecté ambas versiones de PBI Desktop. Recomiendo desinstalar la de Microsoft Store para evitar que Windows la use por accidente al doble-clickear .pbip — instrucciones en `references/pbi-desktop-installation.md`."_
|
|
81
|
-
- **Only Store present** → STOP. Show: _"Tenés solo la versión de Power BI Desktop de Microsoft Store. Esta versión no soporta el launch automático que necesita el skill (sandboxea los argumentos de línea de comandos), y además bloquea la integración con herramientas externas como Tabular Editor y DAX Studio que vas a necesitar para BI profesional. Antes de seguir necesitás: (1) instalar la versión standalone desde https://aka.ms/pbiSingleInstaller, (2) desinstalar la de Microsoft Store. Pasos completos en `references/pbi-desktop-installation.md`."_ Wait for user to confirm install before proceeding.
|
|
82
|
-
- **Neither present** → STOP and guide the user through standalone install per `references/pbi-desktop-installation.md`.
|
|
83
|
-
|
|
84
|
-
1. **Check the project layout** in CWD:
|
|
85
|
-
- `./AGENTS.md` — should exist (`/bi-kickoff` created it)
|
|
86
|
-
- `./pbip-files/*.pbip` — must exist
|
|
87
|
-
- `./pbip-files/*.SemanticModel/` — must exist
|
|
88
|
-
- `./pbip-files/*.Report/definition/` — **PBIR preview must be activated.** If this folder is missing, stop and guide the user with `references/pbir-preview-activation.md`.
|
|
89
|
-
- Once you detect the project name, set `reportPath = "./pbip-files/{projectName}.Report"` and keep working from the **project root**. Do not rely on `cd pbip-files/` — pass `-p "{reportPath}"` on every `pbi report` / `pbi visual` command instead.
|
|
90
|
-
|
|
91
|
-
2. **Check `pbi` CLI is installed + up-to-date:**
|
|
92
|
-
- Run `pbi --version`.
|
|
93
|
-
- If the command is not found, run the setup flow from `references/cli-setup.md`. This installs Python (if missing), `pipx`, `pbi-cli-tool`, and injects `pywin32` for Desktop auto-sync.
|
|
94
|
-
- If installed but the version is older than our tested baseline (3.10.x or newer), run `pipx upgrade pbi-cli-tool`.
|
|
95
|
-
|
|
96
|
-
3. **Check the user's Power BI Desktop build supports PBIR Public Preview:**
|
|
97
|
-
- Open `./pbip-files/{projectName}.Report/definition/report.json` and note the `reportVersionAtImport.visual` / `page` / `report` values. These tell you the schema versions the local build uses. The CLI handles matching those automatically.
|
|
98
|
-
|
|
99
|
-
4. **Read the project context:**
|
|
100
|
-
- `./AGENTS.md` → extract `{projectName}`, `{domain}`, `{purpose}`.
|
|
101
|
-
- `./ROADMAP.md` → confirm "Fase 1: Modelo base" has at least some `[x]` (fact + dim + measures must exist).
|
|
102
|
-
- If the model has zero measures, stop and say: _"Necesitás al menos algunas medidas en el modelo antes de armar reportes. Volvé a `/bi-kickoff` y terminemos la Fase 2."_
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## PHASE 1: Plan the 3 pages
|
|
107
|
-
|
|
108
|
-
Pick the **layout set** for this project based on `{domain}` (from `AGENTS.md`). The 6 layout sets live in `references/layouts/`:
|
|
109
|
-
|
|
110
|
-
| domain | layout file |
|
|
111
|
-
|---|---|
|
|
112
|
-
| finance | `references/layouts/finance.md` |
|
|
113
|
-
| sales | `references/layouts/sales.md` |
|
|
114
|
-
| hr | `references/layouts/hr.md` |
|
|
115
|
-
| operations | `references/layouts/operations.md` |
|
|
116
|
-
| marketing | `references/layouts/marketing.md` |
|
|
117
|
-
| otro / fallback | `references/layouts/generic.md` |
|
|
118
|
-
|
|
119
|
-
Load the matching file. Each layout file describes, for the 3 pages:
|
|
120
|
-
- Page title (human-readable, in Spanish)
|
|
121
|
-
- The composition: which primitives, where, how big, what they bind to (by role, not by name)
|
|
122
|
-
|
|
123
|
-
Explain to the user what you'll build, one line per page:
|
|
124
|
-
|
|
125
|
-
~~~text
|
|
126
|
-
Voy a armar 3 páginas en tu reporte:
|
|
127
|
-
|
|
128
|
-
1. {Page 1 Title} — {N1 primitives summary}
|
|
129
|
-
2. {Page 2 Title} — {N2 primitives summary}
|
|
130
|
-
3. {Page 3 Title} — {N3 primitives summary}
|
|
131
|
-
|
|
132
|
-
Uso las medidas y dimensiones que ya están en el modelo. ¿Arrancamos?
|
|
133
|
-
~~~
|
|
134
|
-
|
|
135
|
-
Wait for confirmation. Do not proceed without a clear "sí" / "dale".
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## PHASE 2: Connect + resolve model names
|
|
140
|
-
|
|
141
|
-
1. Ensure Power BI Desktop is open with the project's `.pbip` (the CLI needs a live connection to inspect the model).
|
|
142
|
-
2. `pbi connect` — auto-detects and connects.
|
|
143
|
-
3. `pbi measure list --json` — get all measures with their home tables.
|
|
144
|
-
4. `pbi table list --json` — get all tables.
|
|
145
|
-
5. `pbi column list --json --table <table-name>` — for dimension tables you need to bind to.
|
|
146
|
-
|
|
147
|
-
Build a role-to-name map for every binding in your plan. Example:
|
|
148
|
-
|
|
149
|
-
~~~json
|
|
150
|
-
{
|
|
151
|
-
"primary-kpi-measure": { "table": "_Measures", "name": "Total Sales", "ref": "_Measures[Total Sales]" },
|
|
152
|
-
"primary-kpi-yoy": { "table": "_Measures", "name": "Total Sales YoY %", "ref": "_Measures[Total Sales YoY %]" },
|
|
153
|
-
"time-dim": { "table": "'Date'", "column": "Date", "ref": "'Date'[Date]" },
|
|
154
|
-
"breakdown-dim": { "table": "Product", "column": "Category", "ref": "Product[Category]" }
|
|
155
|
-
}
|
|
156
|
-
~~~
|
|
157
|
-
|
|
158
|
-
If a role cannot be resolved (the layout wants a measure you don't have), stop and ask the user how to handle it — substitute, skip the visual, or add the measure first.
|
|
159
|
-
|
|
160
|
-
---
|
|
161
|
-
|
|
162
|
-
## PHASE 3: Close Power BI Desktop — mandatory
|
|
163
|
-
|
|
164
|
-
Power BI Desktop does NOT detect external file changes while it's running. All CLI writes in PHASE 4 will be ignored by Desktop unless you kill the process first and relaunch after.
|
|
165
|
-
|
|
166
|
-
1. Tell the user:
|
|
167
|
-
|
|
168
|
-
~~~text
|
|
169
|
-
Voy a cerrar Power BI Desktop para escribir el reporte. Guardá cualquier
|
|
170
|
-
cambio pendiente en Desktop antes de continuar.
|
|
171
|
-
|
|
172
|
-
¿Listo para que lo cierre? (sí / no)
|
|
173
|
-
~~~
|
|
174
|
-
|
|
175
|
-
2. When the user confirms:
|
|
176
|
-
|
|
177
|
-
~~~bash
|
|
178
|
-
cmd //c "taskkill /IM PBIDesktop.exe /F"
|
|
179
|
-
cmd //c "taskkill /IM msmdsrv.exe /F" # optional — Desktop kills this on close
|
|
180
|
-
~~~
|
|
181
|
-
|
|
182
|
-
3. Verify with `tasklist` that `PBIDesktop.exe` is not in the list. If it's still there, retry the taskkill.
|
|
183
|
-
|
|
184
|
-
4. Drop the `pbi` connection (the analysis server is gone anyway):
|
|
185
|
-
|
|
186
|
-
~~~bash
|
|
187
|
-
pbi disconnect
|
|
188
|
-
~~~
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## PHASE 4: Generate the report via CLI
|
|
193
|
-
|
|
194
|
-
Order: structure first (pages), visuals second.
|
|
195
|
-
|
|
196
|
-
Use `reportPath = "./pbip-files/{projectName}.Report"` for every report write/read below. The agent stays in the project root the whole time.
|
|
197
|
-
|
|
198
|
-
### 4.1 Add the 3 pages
|
|
199
|
-
|
|
200
|
-
For each page in the layout:
|
|
201
|
-
|
|
202
|
-
~~~bash
|
|
203
|
-
pbi report --no-sync -p "{reportPath}" add-page --name "{PageNameInCodeOrHex}" --display-name "{Human Readable Title}"
|
|
204
|
-
~~~
|
|
205
|
-
|
|
206
|
-
Use `--no-sync` on all write commands during the generation loop — you don't want Desktop to try syncing while the writes are in flight, since Desktop is closed anyway.
|
|
207
|
-
|
|
208
|
-
After all 3 pages are added, set page order:
|
|
209
|
-
|
|
210
|
-
- `pbi report -p "{reportPath}" list-pages` — confirms the order
|
|
211
|
-
- If needed, `pbi report -p "{reportPath}" ...` subcommands for reordering (consult `references/cli-commands.md`)
|
|
212
|
-
|
|
213
|
-
### 4.2 Add visuals to each page
|
|
214
|
-
|
|
215
|
-
For each visual in the layout, invoke `create-visual.js` with `--type`, position, and `--bind` flags. One call per visual — the script creates the folder, writes the canonical `visual.json`, and auto-increments `z` / `tabOrder` from existing visuals on the page.
|
|
216
|
-
|
|
217
|
-
~~~bash
|
|
218
|
-
node "{skillBundleDir}/scripts/create-visual.js" \
|
|
219
|
-
-p "{reportPath}" \
|
|
220
|
-
--page "{PageName}" \
|
|
221
|
-
--type "{visualType}" \
|
|
222
|
-
-n "{VisualName}" \
|
|
223
|
-
--x {x} --y {y} --width {w} --height {h} \
|
|
224
|
-
--bind "{role1}={Table[Column]}" \
|
|
225
|
-
--bind "{role2}={Table[Measure]}" \
|
|
226
|
-
[--title "{Container Title}"]
|
|
227
|
-
~~~
|
|
228
|
-
|
|
229
|
-
The 28 supported `--type` values and their `--bind` roles are documented in **`references/native-visuals.md`** (canonical reference — read it once at the start of a generation loop). Run `node {skillBundleDir}/scripts/create-visual.js --list-types` to print the inline allowlist.
|
|
230
|
-
|
|
231
|
-
Quick cheatsheet of the most common types:
|
|
232
|
-
|
|
233
|
-
| Type | Required bindings |
|
|
234
|
-
|---|---|
|
|
235
|
-
| `card` | `values` |
|
|
236
|
-
| `kpi` | `indicator` (+ optional `goal`, `trendline`) |
|
|
237
|
-
| `barChart` / `columnChart` / `lineChart` / `areaChart` | `category`, `y` (+ optional `legend` for stacked) |
|
|
238
|
-
| `clusteredBarChart` / `clusteredColumnChart` | `category`, `y` (+ optional `legend`) |
|
|
239
|
-
| `hundredPercentStackedBarChart` / `hundredPercentStackedColumnChart` | `category`, `y`, `legend` (all required) |
|
|
240
|
-
| `pieChart` / `donutChart` | `category`, `y` |
|
|
241
|
-
| `funnelChart` | `category`, `y` |
|
|
242
|
-
| `scatterChart` | `details`, `x`, `y` (+ optional `legend`, `size`) |
|
|
243
|
-
| `waterfallChart` | `category`, `y` (+ optional `breakdown`) |
|
|
244
|
-
| `lineClusteredColumnComboChart` | `category`, `columny`, `liney` |
|
|
245
|
-
| `treemap` | `category`, `values` |
|
|
246
|
-
| `tableEx` | `values` (multi) |
|
|
247
|
-
| `pivotTable` | `rows`, `values` (+ optional `columns`) |
|
|
248
|
-
| `slicer` / `advancedSlicerVisual` | `values` (+ `--slicer-mode` for slicer) |
|
|
249
|
-
| `textbox` | (no `--bind`) use `--title` + `--description` or `--paragraph` |
|
|
250
|
-
|
|
251
|
-
**Never pass `stackedBarChart`, `stackedColumnChart`, `stackedAreaChart`, `lineStackedColumnComboChart`, `pie`, `donut`, `bar_chart`, `line_chart`, or similar aliases as `--type`** — `create-visual.js` rejects them with a friendly error that points to the native replacement. Read `references/native-visuals.md` before using any type you haven't used before.
|
|
252
|
-
|
|
253
|
-
If you hit a visualType that `create-visual.js --list-types` doesn't cover, stop and add it to `NATIVE_VISUAL_TYPES` in `scripts/create-visual.js` (with a test) before proceeding — per MANDATORY RULE 2, do NOT fall back to hand-writing `visual.json`. `references/visual-types.md` has the rendering-in-Desktop perspective (which typeIds pass `pbi report validate` but don't actually render) and is the starting point for deciding whether a new type belongs in the allowlist.
|
|
254
|
-
|
|
255
|
-
### 4.3 Theme + formatting
|
|
256
|
-
|
|
257
|
-
Apply the bundled custom theme `references/themes/BISuperpowers.json` by default. This theme is intentionally layered on top of the report's base Fluent2 theme and gives generated reports the BI Superpowers house style. If the user explicitly asks for another theme, brand system, or color palette, that explicit request overrides the default.
|
|
258
|
-
|
|
259
|
-
Default flow:
|
|
260
|
-
|
|
261
|
-
**Use the bundled `apply-theme.js` helper** — NOT `pbi report set-theme`. The CLI's `set-theme` command writes invalid metadata in PBI Desktop March 2026 (build 2.152.x): wrong type for `themeCollection.customTheme.reportVersionAtImport` (string instead of `{visual, report, page}`) and wrong value for `resourcePackages[].items[].type` (writes `"RegisteredResources"` where Desktop expects `"CustomTheme"`). Both errors block the .pbip from opening.
|
|
262
|
-
|
|
263
|
-
The helper produces the canonical PBIR shape verified against Kurt Buhler's K201-MonthSlicer.Report example:
|
|
264
|
-
|
|
265
|
-
~~~bash
|
|
266
|
-
node "{skillBundleDir}/scripts/apply-theme.js" \
|
|
267
|
-
--report-path "{reportPath}" \
|
|
268
|
-
--theme-file "{skillBundleDir}/references/themes/BISuperpowers.json"
|
|
269
|
-
~~~
|
|
270
|
-
|
|
271
|
-
`{skillBundleDir}` is the installed skill folder — usually `~/.agents/skills/bi-report/` after `super install`. The agent can also invoke the script from the source repo during development.
|
|
272
|
-
|
|
273
|
-
The helper is idempotent (re-running replaces the existing customTheme in place) and copies the theme JSON to `<reportPath>/StaticResources/RegisteredResources/<themeFileName>` automatically.
|
|
274
|
-
|
|
275
|
-
After running, inspect with the CLI:
|
|
276
|
-
|
|
277
|
-
~~~bash
|
|
278
|
-
pbi report -p "{reportPath}" get-theme
|
|
279
|
-
# Should print: base_theme: Fluent2-CY26SU03, custom_theme: BISuperpowers.json
|
|
280
|
-
~~~
|
|
281
|
-
|
|
282
|
-
Theme precedence:
|
|
283
|
-
|
|
284
|
-
1. Explicit user-requested theme or styling direction
|
|
285
|
-
2. Bundled `references/themes/BISuperpowers.json`
|
|
286
|
-
3. Fluent2 base theme underneath
|
|
287
|
-
|
|
288
|
-
Do NOT hand-author `report.json` theme metadata. The canonical PBIR shape (for reference, in case the helper script is unavailable):
|
|
289
|
-
|
|
290
|
-
- `themeCollection.customTheme.name` is the theme filename, e.g. `BISuperpowers.json`
|
|
291
|
-
- `themeCollection.customTheme.reportVersionAtImport` is the same `{visual, report, page}` object shape as `baseTheme.reportVersionAtImport` (mirror those values)
|
|
292
|
-
- `themeCollection.customTheme.type` is the literal string `"RegisteredResources"`
|
|
293
|
-
- `resourcePackages` includes a `{name: "RegisteredResources", type: "RegisteredResources"}` package whose `items[]` has `{name: "<file>.json", path: "<file>.json", type: "CustomTheme"}`
|
|
294
|
-
- the theme file itself lives at `<reportPath>/StaticResources/RegisteredResources/<file>.json`
|
|
295
|
-
|
|
296
|
-
**Conditional formatting note.** Layout notes may describe variance colors, diverging matrix gradients, or signed-color bars as design intent. The current `bi-report` flow does not author those formatting rules. Render those visuals with theme/default colors unless you have a tested PBIR formatting implementation. Do not invent `pbi format` calls from this skill.
|
|
297
|
-
|
|
298
|
-
### 4.4 Validate (two layers)
|
|
299
|
-
|
|
300
|
-
Run both validators. The second catches what the first misses.
|
|
301
|
-
|
|
302
|
-
~~~bash
|
|
303
|
-
# 1. CLI schema sanity (checks JSON syntax, file structure).
|
|
304
|
-
pbi report -p "{reportPath}" validate
|
|
305
|
-
|
|
306
|
-
# 2. Allowlist + role checks (catches non-native visualTypes, missing required
|
|
307
|
-
# bindings, and roles bound on types that don't support them — all things
|
|
308
|
-
# `pbi report validate` misses).
|
|
309
|
-
node "{skillBundleDir}/scripts/validate-pbir.js" "{reportPath}"
|
|
310
|
-
~~~
|
|
311
|
-
|
|
312
|
-
Both must exit 0 / `valid: True` / `errors: []`. If either fails, fix the offending visual.json in place (usually by rerunning `create-visual.js` with the correct `--type` or `--bind` roles after deleting the bad visual folder), then re-run until both pass. Do NOT proceed to PHASE 5 until both validators are green.
|
|
313
|
-
|
|
314
|
-
---
|
|
315
|
-
|
|
316
|
-
## PHASE 5: Relaunch Power BI Desktop
|
|
317
|
-
|
|
318
|
-
1. Launch via the explicit standalone path (not via file association — that can route to the Microsoft Store sandboxed build):
|
|
319
|
-
|
|
320
|
-
~~~bash
|
|
321
|
-
powershell -Command "Start-Process -FilePath 'C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe' -ArgumentList '\"<absolute-path-to.pbip>\"'"
|
|
322
|
-
~~~
|
|
323
|
-
|
|
324
|
-
The escaped inner quotes around the .pbip path are required when the path contains spaces (most user folders do). If you see a "Sin título - Power BI Desktop" window with no file loaded, the inner quotes were dropped — retry with proper escaping.
|
|
325
|
-
|
|
326
|
-
This starts a fresh `PBIDesktop.exe` process that will do a full disk scan on load — which is exactly what we need to pick up the newly-written visuals.
|
|
327
|
-
|
|
328
|
-
2. Wait ~20 seconds for Desktop to load the model + report.
|
|
329
|
-
|
|
330
|
-
3. Tell the user:
|
|
331
|
-
|
|
332
|
-
~~~
|
|
333
|
-
✓ Reporte generado:
|
|
334
|
-
• {Page1Title} — {N1} visuales
|
|
335
|
-
• {Page2Title} — {N2} visuales
|
|
336
|
-
• {Page3Title} — {N3} visuales
|
|
337
|
-
|
|
338
|
-
Power BI Desktop acaba de relanzarse. En ~15-20 segundos deberías ver las
|
|
339
|
-
3 páginas con todos los visuales. Decime:
|
|
340
|
-
|
|
341
|
-
(a) "renderiza todo" → cerramos acá
|
|
342
|
-
(b) "falta X / aparece raro" → me decís qué visual y lo ajusto
|
|
343
|
-
~~~
|
|
344
|
-
|
|
345
|
-
---
|
|
346
|
-
|
|
347
|
-
## PHASE 6: Update ROADMAP + handoff
|
|
348
|
-
|
|
349
|
-
- **`./ROADMAP.md`**: mark "Fase 4: Reporte generado" with today's date and the 3 page titles.
|
|
350
|
-
- **`./LEARNINGS.md`**: if during generation you discovered anything non-obvious (a measure name convention, a binding quirk for this project), add it.
|
|
351
|
-
|
|
352
|
-
Final message to user:
|
|
353
|
-
|
|
354
|
-
~~~text
|
|
355
|
-
Listo. Tenés 3 páginas con {N_total} visuales en tu reporte.
|
|
356
|
-
|
|
357
|
-
Para iterar:
|
|
358
|
-
• Editar visuales en PBI Desktop UI directamente (drag, resize, format)
|
|
359
|
-
• O volver a /bi-report si querés regenerar desde cero
|
|
360
|
-
|
|
361
|
-
Cuando guardes desde Desktop, commiteá el .pbip a git para versionar.
|
|
362
|
-
~~~
|
|
363
|
-
|
|
364
|
-
---
|
|
365
|
-
|
|
366
|
-
## Bundle contents
|
|
367
|
-
|
|
368
|
-
**References** (`references/`):
|
|
369
|
-
- `native-visuals.md` — **canonical reference**: 28 native visualTypes, their roles, shape canonical, copy-paste examples (read this before authoring)
|
|
370
|
-
- `pbi-desktop-installation.md` — why the standalone installer build is required (not Microsoft Store), install + uninstall steps
|
|
371
|
-
- `cli-setup.md` — how to install Python + pipx + pbi-cli-tool + pywin32 (required because this skill still uses `pbi` for connect, page operations, and validation)
|
|
372
|
-
- `cli-commands.md` — cheatsheet of the `pbi` commands still used by this skill (`pbi connect`, `pbi measure list`, `pbi report add-page`, `pbi report list-pages`, `pbi report validate`)
|
|
373
|
-
- `textbox.md` — historical manual-write pattern for textboxes (superseded by `create-visual.js --type textbox`; kept for reference)
|
|
374
|
-
- `slicer.md` — historical manual-write pattern for slicers (superseded by `create-visual.js --type slicer --slicer-mode ...`; kept for reference)
|
|
375
|
-
- `close-write-open-pattern.md` — why and how to handle the Desktop restart cycle
|
|
376
|
-
- `pbir-preview-activation.md` — how to activate PBIR preview in Power BI Desktop
|
|
377
|
-
- `troubleshooting.md` — common errors and fixes
|
|
378
|
-
- `layouts/finance.md` — 3-page finance report composition
|
|
379
|
-
- `layouts/sales.md` — 3-page sales report composition
|
|
380
|
-
- `layouts/hr.md` — 3-page HR report composition
|
|
381
|
-
- `layouts/operations.md` — 3-page operations report composition
|
|
382
|
-
- `layouts/marketing.md` — 3-page marketing report composition
|
|
383
|
-
- `layouts/generic.md` — fallback 3-page composition
|
|
384
|
-
|
|
385
|
-
**Scripts** (`scripts/`):
|
|
386
|
-
- `ensure-pbi-cli.sh` — idempotent installer for the pbi-cli-tool (required for this skill's current runtime flow)
|
|
387
|
-
- `apply-theme.js` — registers a custom PBIR theme with the canonical shape Desktop accepts (replaces the broken `pbi report set-theme` in PBI Desktop March 2026)
|
|
388
|
-
- `create-visual.js` — creates any of the 28 native PBI visualTypes with a canonical `visual.json` shape (replaces `pbi visual add` + `pbi visual bind`; enforces allowlist)
|
|
389
|
-
- `validate-pbir.js` — allowlist + role-checks validator that catches non-native visualTypes and missing/invalid bindings (complements `pbi report validate`)
|
|
390
|
-
|
|
391
|
-
**Bundled themes** (`references/themes/`):
|
|
392
|
-
- `BISuperpowers.json` — house theme applied by default in PHASE 4.3
|
|
393
|
-
|
|
394
|
-
---
|
|
395
|
-
|
|
396
|
-
## Related Skills
|
|
397
|
-
|
|
398
|
-
- `/bi-kickoff` — runs before this; produces `AGENTS.md` + the semantic model
|
|
399
|
-
- `/bi-connect` — Microsoft Modeling MCP connection for model operations
|
|
400
|
-
|
|
401
|
-
## Credit
|
|
402
|
-
|
|
403
|
-
This skill integrates with the [`pbi-cli-tool`](https://github.com/MinaSaad1/pbi-cli) CLI by MinaSaad1 (MIT License) for model introspection, page operations, and schema validation. Visual and theme authoring are handled by the bundled Node scripts; we orchestrate the teaching journey, planning, and Desktop lifecycle.
|