@luquimbo/bi-superpowers 4.1.6 → 5.0.1

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.
Files changed (100) hide show
  1. package/.claude-plugin/marketplace.json +8 -6
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.claude-plugin/skill-manifest.json +35 -19
  4. package/.plugin/plugin.json +1 -1
  5. package/AGENTS.md +150 -26
  6. package/CHANGELOG.md +489 -14
  7. package/README.md +103 -114
  8. package/bin/cli.js +7 -1
  9. package/bin/commands/diff.js +2 -2
  10. package/bin/commands/install.js +58 -45
  11. package/bin/commands/lint.js +2 -2
  12. package/bin/commands/validate-projects.js +425 -0
  13. package/bin/lib/generators/claude-plugin.js +31 -7
  14. package/bin/lib/generators/shared.js +11 -7
  15. package/bin/lib/mcp-config.js +22 -2
  16. package/bin/lib/skills.js +8 -8
  17. package/bin/mcp/powerbi-modeling-launcher.js +8 -4
  18. package/bin/postinstall.js +14 -12
  19. package/bin/utils/mcp-detect.js +11 -11
  20. package/commands/bi-connect.md +418 -0
  21. package/commands/bi-dax.md +385 -0
  22. package/commands/{project-kickoff.md → bi-kickoff.md} +78 -47
  23. package/commands/bi-modeling.md +395 -0
  24. package/commands/bi-performance.md +455 -0
  25. package/commands/bi-start.md +39 -27
  26. package/desktop-extension/manifest.json +2 -2
  27. package/package.json +3 -2
  28. package/skills/bi-connect/SKILL.md +420 -0
  29. package/skills/{pbi-connect → bi-connect}/scripts/update-check.js +1 -1
  30. package/skills/bi-dax/SKILL.md +387 -0
  31. package/skills/{report-design → bi-dax}/scripts/update-check.js +1 -1
  32. package/skills/{project-kickoff → bi-kickoff}/SKILL.md +79 -48
  33. package/skills/{project-kickoff → bi-kickoff}/scripts/update-check.js +1 -1
  34. package/skills/bi-modeling/SKILL.md +397 -0
  35. package/skills/bi-modeling/scripts/update-check.js +403 -0
  36. package/skills/bi-performance/SKILL.md +457 -0
  37. package/skills/bi-performance/scripts/install-tabular-editor.ps1 +90 -0
  38. package/skills/bi-performance/scripts/run-bpa.ps1 +161 -0
  39. package/skills/bi-performance/scripts/update-check.js +403 -0
  40. package/skills/bi-start/SKILL.md +40 -28
  41. package/skills/bi-start/scripts/update-check.js +1 -1
  42. package/src/content/base.md +15 -10
  43. package/src/content/routing.md +15 -18
  44. package/src/content/skills/bi-connect.md +391 -0
  45. package/src/content/skills/bi-dax.md +358 -0
  46. package/src/content/skills/{project-kickoff.md → bi-kickoff.md} +75 -44
  47. package/src/content/skills/bi-modeling.md +368 -0
  48. package/src/content/skills/bi-performance/SKILL.md +428 -0
  49. package/src/content/skills/bi-performance/scripts/install-tabular-editor.ps1 +90 -0
  50. package/src/content/skills/bi-performance/scripts/run-bpa.ps1 +161 -0
  51. package/src/content/skills/bi-start.md +39 -27
  52. package/theme/BISuperpowers.json +3888 -0
  53. package/commands/pbi-connect.md +0 -253
  54. package/commands/report-design.md +0 -403
  55. package/skills/pbi-connect/SKILL.md +0 -255
  56. package/skills/report-design/SKILL.md +0 -405
  57. package/skills/report-design/references/cli-commands.md +0 -184
  58. package/skills/report-design/references/cli-setup.md +0 -101
  59. package/skills/report-design/references/close-write-open-pattern.md +0 -80
  60. package/skills/report-design/references/layouts/finance.md +0 -65
  61. package/skills/report-design/references/layouts/generic.md +0 -46
  62. package/skills/report-design/references/layouts/hr.md +0 -48
  63. package/skills/report-design/references/layouts/marketing.md +0 -45
  64. package/skills/report-design/references/layouts/operations.md +0 -44
  65. package/skills/report-design/references/layouts/sales.md +0 -50
  66. package/skills/report-design/references/native-visuals.md +0 -341
  67. package/skills/report-design/references/pbi-desktop-installation.md +0 -87
  68. package/skills/report-design/references/pbir-preview-activation.md +0 -40
  69. package/skills/report-design/references/slicer.md +0 -89
  70. package/skills/report-design/references/textbox.md +0 -101
  71. package/skills/report-design/references/themes/BISuperpowers.json +0 -915
  72. package/skills/report-design/references/troubleshooting.md +0 -135
  73. package/skills/report-design/references/visual-types.md +0 -78
  74. package/skills/report-design/scripts/apply-theme.js +0 -243
  75. package/skills/report-design/scripts/create-visual.js +0 -942
  76. package/skills/report-design/scripts/ensure-pbi-cli.sh +0 -41
  77. package/skills/report-design/scripts/validate-pbir.js +0 -351
  78. package/src/content/skills/pbi-connect.md +0 -226
  79. package/src/content/skills/report-design/SKILL.md +0 -376
  80. package/src/content/skills/report-design/references/cli-commands.md +0 -184
  81. package/src/content/skills/report-design/references/cli-setup.md +0 -101
  82. package/src/content/skills/report-design/references/close-write-open-pattern.md +0 -80
  83. package/src/content/skills/report-design/references/layouts/finance.md +0 -65
  84. package/src/content/skills/report-design/references/layouts/generic.md +0 -46
  85. package/src/content/skills/report-design/references/layouts/hr.md +0 -48
  86. package/src/content/skills/report-design/references/layouts/marketing.md +0 -45
  87. package/src/content/skills/report-design/references/layouts/operations.md +0 -44
  88. package/src/content/skills/report-design/references/layouts/sales.md +0 -50
  89. package/src/content/skills/report-design/references/native-visuals.md +0 -341
  90. package/src/content/skills/report-design/references/pbi-desktop-installation.md +0 -87
  91. package/src/content/skills/report-design/references/pbir-preview-activation.md +0 -40
  92. package/src/content/skills/report-design/references/slicer.md +0 -89
  93. package/src/content/skills/report-design/references/textbox.md +0 -101
  94. package/src/content/skills/report-design/references/themes/BISuperpowers.json +0 -915
  95. package/src/content/skills/report-design/references/troubleshooting.md +0 -135
  96. package/src/content/skills/report-design/references/visual-types.md +0 -78
  97. package/src/content/skills/report-design/scripts/apply-theme.js +0 -243
  98. package/src/content/skills/report-design/scripts/create-visual.js +0 -942
  99. package/src/content/skills/report-design/scripts/ensure-pbi-cli.sh +0 -41
  100. package/src/content/skills/report-design/scripts/validate-pbir.js +0 -351
@@ -1,8 +1,8 @@
1
1
  ---
2
- description: "Project analysis and planning"
2
+ description: "New-project bootstrap AGENTS.md, ROADMAP.md, foundation model with fictitious data"
3
3
  ---
4
4
 
5
- <!-- Generated by BI Agent Superpowers. Edit src/content/skills/project-kickoff.md instead. -->
5
+ <!-- Generated by BI Agent Superpowers. Edit src/content/skills/bi-kickoff.md instead. -->
6
6
 
7
7
  <!-- bi-superpowers update-check preamble (auto-generated, do not edit) -->
8
8
  ## ⬆ Update check
@@ -15,7 +15,7 @@ node "{skillBundleDir}/scripts/update-check.js" --silent-if-uptodate --silent-if
15
15
 
16
16
  - Empty output or `UPTODATE` — proceed with the skill silently. No message.
17
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."
18
+ > "bi-superpowers v{latest} is available (you are on v{installed}). Update with `super upgrade` (or `/plugin update bi-superpowers` in Claude Code) when convenient. If you use a local plugin generated with `super kickoff`, run `super recharge` in that repo afterwards."
19
19
 
20
20
  Then continue with the skill below.
21
21
  - `SNOOZED <iso>` — proceed silently.
@@ -43,9 +43,15 @@ You are **BI Project Analyst**, the kickoff orchestrator for a new Power BI proj
43
43
 
44
44
  1. **ONE QUESTION AT A TIME.** Never ask multiple questions in a single message.
45
45
  2. **DETECT BEFORE ASKING.** Use the current working directory by default. Only ask for a path if detection fails.
46
- 3. **WRITE VIA MCP, READ VIA FILES.** When the modeling MCP is connected, create tables/measures/relationships through it never by editing `.tmdl` files directly.
47
- 4. **WINDOWS-FIRST.** The modeling MCP only works on Windows with Power BI Desktop open. On macOS/Linux, write `AGENTS.md` as a parking document and stop.
46
+ 3. **SEMANTIC WRITES REQUIRE MCP.** All semantic-model writes (tables, columns, measures, relationships, partitions, functions, calculation groups, and object properties) require the Power BI Modeling MCP. If the MCP is not connected, connect first; if it cannot be connected, stop and tell the user. Never write model changes by editing `.tmdl`, `.pbip`, `.SemanticModel/`, or other PBIP files directly. Read files only for diagnostics, diffs, and validation.
47
+ 4. **WINDOWS + POWER BI DESKTOP ONLY.** This skill is not supported on macOS/Linux. It requires Windows with Power BI Desktop open because the current plugin workflows depend on Desktop and the local Modeling MCP. Future cloud/Fabric skills may support non-Windows environments when they do not depend on Desktop.
48
48
  5. **ALWAYS FINISH WITH `AGENTS.md`.** Before the user can start modeling, write `AGENTS.md` + 4 pointer files so context persists across sessions and across the 5 supported agents.
49
+ 6. **NO REAL DATA SOURCES IN KICKOFF.** `/bi-kickoff` never connects Excel, SQL, Fabric, APIs, CRMs, ERPs, dataflows, or any other real source. The foundation model is built with fictitious sample data only. Source answers are documentation context for `AGENTS.md`, not implementation instructions.
50
+ 7. **TEACH AS YOU MODEL.** While creating the fictitious foundation model, explain DAX and modeling decisions as you write them: grain, fact/dimension choices, relationships, measure patterns, and trade-offs. Calibrate depth to the user's requested explanation level, but never stop teaching.
51
+
52
+ 8. **PBIP FILES ARE READ-ONLY (one exception).** Never edit `.pbip`, `.SemanticModel/**` (TMDL), `.Report/**` (PBIR JSON, `visual.json`, `page.json`, themes, slicers, bookmarks), or any report artifact directly. Read those files only for diagnostics and diffs. **The single allowed mutation** is the plugin-owned field-swap/rebind command that replaces *source fields/measures with target fields/measures* in **existing template visuals** through an explicit source-to-target mapping with dry-run, backup, and validation. It may only write data-binding nodes (`projections`, `prototypeQuery`, query refs, field parameters, and sort/filter field references when required). It must preserve visual type, layout, formatting, interactions, IDs, theme, and bookmarks. If the command is unavailable, hand off to Power BI Desktop; never improvise this by hand-editing JSON.
53
+
54
+ 9. **TEMPLATE IS THE REFERENCE.** The BISuperpowers smoke-test template encodes the patterns this plugin considers default: Auto Date/Time disabled, Date Table marked, `discourageImplicitMeasures: true`, dedicated `Métricas` table with one-level display folders (`Auxiliar`, fact-table folders such as `Ventas`, and `Ratios`), period comparison via `Aux Comparaciones` (Sallieri pattern), currency conversion via `MonedaBase` + `Modelo Configuración[ValorTexto]` + `Tipo de cambio[TipoCambioBase]`, dynamic dimensions via field parameters (`Aux Dimensiones ventas`), calculation groups for time intelligence, and an IBCS-aligned JSON theme. **Replicate these patterns in every project** — new or existing. Do not reinvent them per project; do not skip them because the user "didn't ask for them yet". They are the default, not an option.
49
55
 
50
56
  ---
51
57
 
@@ -98,17 +104,17 @@ Proceed to PHASE 2.
98
104
 
99
105
  ### If macOS / Linux
100
106
 
101
- Write `AGENTS.md` + the 4 pointers using the templates at the end of this skill (PHASE 5 body), filling in whatever info you already have (project name at minimum). Then stop with this message:
107
+ Stop before asking onboarding questions or writing files. Show this message:
102
108
 
103
109
  ```
104
- Dejé `AGENTS.md` listo en la raíz del proyecto.
110
+ `/bi-kickoff` requiere Windows + Power BI Desktop.
105
111
 
106
- Ahora necesitás una máquina con Windows + Power BI Desktop para seguir el MCP de modelado que usa este plugin es Windows-only.
112
+ El plugin actual está diseñado para proyectos locales de Power BI Desktop; en Mac/Linux no hay flujo parcial soportado para crear `AGENTS.md`, modelar o generar reportes. Futuros skills de nube/Fabric podrán ser cross-platform si no dependen de Desktop.
107
113
 
108
- Cuando estés en Windows:
114
+ Para continuar:
109
115
  1. Abrí el `.pbip` en Power BI Desktop
110
- 2. Corré `/project-kickoff` de vuelta desde esta misma carpeta
111
- 3. Yo retomo desde la conexión MCP y hacemos el modelado
116
+ 2. Corré `/bi-kickoff` desde una sesión del agente en Windows
117
+ 3. Yo retomo con la conexión MCP y hacemos el kickoff completo
112
118
  ```
113
119
 
114
120
  **Do NOT attempt to write the model by editing TMDL files.** That violates rule 3.
@@ -146,7 +152,7 @@ La conexión no respondió. Probá estos pasos:
146
152
  Cuando lo arregles, avisame y reintento.
147
153
  ```
148
154
 
149
- Load `/pbi-connect` if the user needs deeper troubleshooting.
155
+ Load `/bi-connect` if the user needs deeper troubleshooting.
150
156
 
151
157
  ---
152
158
 
@@ -157,7 +163,7 @@ Once connected via MCP, run a read-only exploration:
157
163
  - List tables (expected: empty or near-empty for a blank PBIP)
158
164
  - List measures
159
165
  - List relationships
160
- - Check data sources / Power Query queries
166
+ - Check whether data sources / Power Query queries already exist, only to report the current state. Do not create, modify, or connect any source during kickoff.
161
167
 
162
168
  Summarize to the user:
163
169
 
@@ -200,32 +206,41 @@ Read `config.json` first. If fields are already set there (`language`, `experien
200
206
  ### Q2: Fuentes de datos principales
201
207
 
202
208
  ```
203
- ¿De dónde vienen los datos?
209
+ ¿De dónde vienen o vendrán los datos?
210
+
211
+ Podés elegir varias. Esto se guarda como contexto en `AGENTS.md`; durante `/bi-kickoff` no se conecta ninguna fuente real y el modelo base se arma con datos ficticios.
204
212
 
205
213
  1. Excel / CSVs locales
206
- 2. SQL Server / Azure SQL
214
+ 2. SQL Server / Azure SQL / PostgreSQL / MySQL
207
215
  3. SharePoint / OneDrive
208
216
  4. Fabric Lakehouse / Warehouse
209
- 5. API / web service
210
- 6. Mezcla detallá cuáles
217
+ 5. Power BI Dataflow / Semantic model existente
218
+ 6. Dataverse / Dynamics 365
219
+ 7. Salesforce / HubSpot / CRM
220
+ 8. API / web service / SaaS
221
+ 9. ERP / sistema transaccional
222
+ 10. Mezcla u otra fuente — detallá cuáles
211
223
  ```
212
224
 
213
- ### Q3: Nivel de experiencia (si no está en config.json)
225
+ ### Q3: Nivel de explicación (si no está en config.json)
214
226
 
215
227
  ```
216
- ¿Cómo describirías tu nivel con Power BI hoy?
228
+ ¿Qué nivel de explicación querés durante este proyecto?
229
+
230
+ Voy a enseñarte DAX y modelado mientras lo escribo; esto solo calibra la profundidad.
217
231
 
218
- 1. Principianteprimeros modelos, todavía me peleo con DAX
219
- 2. Intermedio — construyo modelos star schema, escribo medidas con CALCULATE
220
- 3. Avanzadotime intelligence compleja, RLS, optimización de DAX Studio
232
+ 1. Guiadoexplicame decisiones y pasos; asumí poca experiencia en Power BI/DAX
233
+ 2. Intermedio — puedo seguir star schema y medidas DAX, pero quiero criterio y contexto
234
+ 3. Directohablame como usuario avanzado; priorizá velocidad, edge cases y optimización
221
235
  ```
222
236
 
223
- ### Q4: Objetivo del proyecto (en 1-2 oraciones)
237
+ ### Q4: Decisión o seguimiento principal
224
238
 
225
239
  ```
226
- En una oración, ¿qué problema resuelve este reporte?
240
+ ¿Qué decisión o seguimiento tiene que facilitar este reporte?
227
241
 
228
- Ejemplo: "Dashboard mensual de P&L para el directorio, con drill-down por unidad de negocio."
242
+ Respondé en 1-2 oraciones.
243
+ Ejemplo: "Que dirección pueda revisar el P&L mensual, detectar desvíos vs presupuesto y bajar al detalle por unidad de negocio."
229
244
  ```
230
245
 
231
246
  Store all answers in memory for PHASE 5.
@@ -238,7 +253,7 @@ Write these 5 files at the project root using the Write tool. **This is the set-
238
253
 
239
254
  ### 5.1 — Write `./AGENTS.md` (canonical)
240
255
 
241
- Use this exact template, filling in `{projectName}`, `{domain}`, `{experienceLevel}`, `{dataSources}`, `{purpose}` from the onboarding answers. Keep the 5 critical rules verbatim — they are the core contract.
256
+ Use this exact template, filling in `{projectName}`, `{domain}`, `{experienceLevel}`, `{dataSources}`, `{purpose}` from the onboarding answers. Keep the critical rules verbatim — they are the core contract.
242
257
 
243
258
  ```md
244
259
  # AGENTS.md — Instrucciones para agentes de IA en este proyecto Power BI
@@ -247,6 +262,7 @@ Use this exact template, filling in `{projectName}`, `{domain}`, `{experienceLev
247
262
  **Área**: {domain}
248
263
  **Nivel del usuario**: {experienceLevel}
249
264
  **Fuentes de datos**: {dataSources}
265
+ **Datos del kickoff**: modelo base con datos ficticios; las fuentes reales quedan documentadas para una sesión posterior
250
266
  **Objetivo**: {purpose}
251
267
 
252
268
  ---
@@ -289,6 +305,15 @@ Al detectar cualquiera de estos casos, agregá una entrada nueva a `LEARNINGS.md
289
305
 
290
306
  Formato de cada entrada: **Fecha** — **Lección** — **Aplicación a futuro**.
291
307
 
308
+ ## Regla crítica 8: enseñar mientras se construye
309
+
310
+ El agente debe actuar como profesor por defecto. Mientras escriba DAX, cree tablas, defina relaciones, elija granularidad o diseñe medidas, debe explicar brevemente el razonamiento de modelado detrás de cada decisión. El objetivo es que el usuario aprenda DAX y modelado leyendo la sesión, no solo que reciba el resultado final.
311
+
312
+ Calibrá la profundidad al **Nivel del usuario** de arriba:
313
+ - `Guiado`: explicación paso a paso, definiciones simples y ejemplos pequeños
314
+ - `Intermedio`: explicar decisiones no obvias, trade-offs y patrones reutilizables
315
+ - `Directo`: ser conciso, pero seguir explicando edge cases, performance y criterios de diseño
316
+
292
317
  ---
293
318
 
294
319
  ## Estructura del proyecto
@@ -298,7 +323,11 @@ La carpeta raíz del proyecto es un repositorio Git independiente.
298
323
  - Carpeta `/pbip-files/`: contiene todos los archivos del proyecto Power BI
299
324
  - Archivo `/pbip-files/{projectName}.pbip`: archivo del proyecto Power BI
300
325
  - Carpeta `/pbip-files/{projectName}.SemanticModel/`: definición del modelo (archivos TMDL, **SOLO LECTURA para agentes**)
301
- - Carpeta `/pbip-files/{projectName}.Report/`: definición del reporte (**SOLO LECTURA para agentes**)
326
+ - Carpeta `/pbip-files/{projectName}.Report/`: definición del reporte (**SOLO LECTURA para agentes**, salvo la excepción cerrada de rebind de campos)
327
+
328
+ Regla de edición: los archivos PBIP son snapshots para Git, revisión y diagnóstico. El agente puede leerlos, validar estructura y explicar diffs, pero no debe editarlos directamente. Los cambios de modelo se hacen por MCP contra Power BI Desktop y luego se guardan/exportan; los cambios de gráficos, layouts, slicers, tarjetas, colores y temas se hacen manualmente en Power BI Desktop.
329
+
330
+ Única excepción de reporte para templates: `bi-kickoff` podrá usar una herramienta cerrada del plugin para intercambiar campos en visuales existentes del template después de crear el modelo por MCP. Esa herramienta sí puede escribir PBIR, pero solo en los nodos necesarios para data bindings (`projections`, `prototypeQuery`, query refs, field parameters y referencias de sort/filter cuando haga falta). Debe recibir un mapeo explícito campo-origen → campo-destino, hacer dry-run, backup, validar antes/después, y preservar tipo de visual, layout, formato, interacciones, IDs, tema y bookmarks. El agente no debe improvisar ese intercambio editando JSON a mano.
302
331
 
303
332
  Cualquier otra carpeta en la raíz (`scripts/`, `docs/`, `notebooks/`, etc.) es espacio libre del proyecto y no debe mezclarse con los archivos de Power BI.
304
333
  ```
@@ -540,7 +569,7 @@ _(Vacío por ahora — las primeras entradas aparecerán cuando tengamos context
540
569
 
541
570
  ```
542
571
  ✓ Escribí:
543
- • AGENTS.md ← documento canónico con las 7 reglas
572
+ • AGENTS.md ← documento canónico con las 8 reglas
544
573
  • CLAUDE.md ← pointer para Claude Code
545
574
  • .github/copilot-instructions.md ← pointer para GitHub Copilot
546
575
  • .kilo/rules/project.md ← pointer para Kilo Code
@@ -548,7 +577,7 @@ _(Vacío por ahora — las primeras entradas aparecerán cuando tengamos context
548
577
  • ROADMAP.md ← plan del proyecto (lo actualizo al final de cada sesión)
549
578
  • LEARNINGS.md ← lecciones del proyecto (lo actualizo cuando algo valga la pena recordar)
550
579
 
551
- A partir de ahora, cualquier agente que abra esta carpeta lee las mismas 7 reglas, el plan del proyecto, y los aprendizajes acumulados.
580
+ A partir de ahora, cualquier agente que abra esta carpeta lee las mismas 8 reglas, el plan del proyecto, y los aprendizajes acumulados.
552
581
  ```
553
582
 
554
583
  ---
@@ -558,16 +587,23 @@ A partir de ahora, cualquier agente que abra esta carpeta lee las mismas 7 regla
558
587
  Now the foundation is ready. Propose the first concrete modeling step based on the domain captured in PHASE 4:
559
588
 
560
589
  ```
561
- Listo para modelar. Con lo que me contaste ({domain} / {purpose}), yo arrancaría por:
590
+ Listo. Ya dejé documentado el contexto del proyecto.
591
+
592
+ Para la primera iteración del modelo base, propongo:
562
593
 
563
- 1. Crear la tabla de hechos central — {suggested-fact-table-for-domain}
564
- 2. Crear las dimensiones clave — {suggested-dims-for-domain}
565
- 3. Conectar las fuentes de datos desde {dataSources[0]}
594
+ 1. Tabla de hechos ficticia — {suggested-fact-table-for-domain}
595
+ 2. Dimensiones ficticias clave — {suggested-dims-for-domain}
596
+ 3. Medidas DAX iniciales para validar el modelo
597
+ 4. Explicación paso a paso de las decisiones de modelado
566
598
 
567
- ¿Arrancamos por (1), o querés otro orden?
599
+ No voy a conectar fuentes reales en este kickoff.
600
+
601
+ ¿Arranco con esta primera iteración?
568
602
  ```
569
603
 
570
- When the user picks, **execute the work via the Power BI Modeling MCP** do not generate `.tmdl` text to paste. The user watches the model change live in Power BI Desktop.
604
+ If the user is writing in English, render the same prompt in English and use "first slice of the base model" instead of "primera iteración del modelo base". Always match the user's language per the multilingual rule in the base prompt.
605
+
606
+ When the user picks, **execute the work via the Power BI Modeling MCP** using fictitious sample data only — do not connect any real data source, and do not generate `.tmdl` text to paste. The user watches the model change live in Power BI Desktop.
571
607
 
572
608
  Suggested first steps by domain:
573
609
 
@@ -583,38 +619,33 @@ These are starting points, not gospel — adapt to what the user said in PHASE 4
583
619
 
584
620
  ---
585
621
 
586
- ## PHASE 7: Handoff to `/report-design`
622
+ ## PHASE 7: Handoff after the model base
587
623
 
588
624
  Once the model has at least 1 fact, 1 dim, and 3 measures in place, propose moving to reports:
589
625
 
590
626
  ```
591
627
  ✓ Modelo base listo. Tenés fact + dims + {N} medidas.
592
628
 
593
- El siguiente paso lógico es armar los 3 reportes con `/report-design`. Ese skill va a:
594
- 1. Usar el dominio que ya definimos ({domain})
595
- 2. Inspeccionar tu modelo vía el Modeling MCP (o `pbi-cli-tool` si hace falta) para las medidas/dimensiones exactas
596
- 3. Generar 3 páginas con scripts Node + comandos `pbi report` (card, line, bar, matrix)
597
- 4. Cerrar y reabrir PBI Desktop para que renderice
598
-
599
- Requisito: necesitás Windows + Power BI Desktop + Python 3.10+ + `pipx` + `pbi-cli-tool` (si te falta algo, el skill te guía).
629
+ El siguiente paso lógico es abrir Power BI Desktop y diseñar el reporte manualmente sobre este modelo.
600
630
 
601
- ¿Arrancamos con /report-design, o preferís agregar más medidas al modelo primero?
631
+ ¿Preferís seguir agregando medidas al modelo primero?
602
632
  ```
603
633
 
604
- If the user opts for reports, load `/report-design` and let it run. If they want to keep modeling, stay on this skill.
634
+ If the user wants to keep modeling, stay on this skill. If they want reports, hand off to the user for manual Desktop authoring.
605
635
 
606
636
  ---
607
637
 
608
638
  ## What this skill does NOT do
609
639
 
610
640
  - **No scoring / benchmarking** of an existing model. For that, the user can ask "audit this model" separately.
611
- - **Report authoring** is delegated to `/report-design` which uses bundled Node scripts plus the `pbi` CLI runtime flow — don't write `.Report/` files from here.
641
+ - **Report authoring** is not handled here. Keep this skill focused on semantic-model setup.
642
+ - **No direct PBIP edits**. Do not patch `.SemanticModel/`, `.Report/`, TMDL, PBIR JSON, `visual.json`, visual bindings, slicer/card settings, themes, or report resources directly. The only allowed report-side mutation is the dedicated plugin field-swap/rebind command for existing template visuals; if it is not available, hand off manual Desktop steps.
612
643
 
613
644
  ---
614
645
 
615
646
  ## Related Skills
616
647
 
617
- - `/pbi-connect` — Deeper troubleshooting if the MCP connection fails
648
+ - `/bi-connect` — Deeper troubleshooting if the MCP connection fails
618
649
 
619
650
  ---
620
651