@luquimbo/bi-superpowers 3.1.1 → 4.1.0

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 (186) hide show
  1. package/.claude-plugin/marketplace.json +5 -3
  2. package/.claude-plugin/plugin.json +28 -2
  3. package/.claude-plugin/skill-manifest.json +22 -6
  4. package/.plugin/plugin.json +1 -1
  5. package/AGENTS.md +52 -36
  6. package/CHANGELOG.md +295 -0
  7. package/README.md +75 -26
  8. package/bin/build-plugin.js +17 -10
  9. package/bin/cli.js +278 -322
  10. package/bin/commands/build-desktop.js +35 -16
  11. package/bin/commands/diff.js +31 -13
  12. package/bin/commands/install.js +93 -72
  13. package/bin/commands/lint.js +40 -26
  14. package/bin/commands/mcp-setup.js +3 -10
  15. package/bin/commands/update-check.js +389 -0
  16. package/bin/lib/agents.js +19 -0
  17. package/bin/lib/generators/claude-plugin.js +144 -6
  18. package/bin/lib/generators/shared.js +29 -33
  19. package/bin/lib/mcp-config.js +191 -16
  20. package/bin/lib/skills.js +115 -27
  21. package/bin/postinstall.js +4 -2
  22. package/bin/utils/mcp-detect.js +2 -2
  23. package/commands/bi-start.md +218 -0
  24. package/commands/pbi-connect.md +43 -65
  25. package/commands/project-kickoff.md +393 -673
  26. package/commands/report-design.md +403 -0
  27. package/desktop-extension/manifest.json +5 -12
  28. package/desktop-extension/server.js +34 -25
  29. package/package.json +6 -10
  30. package/skills/bi-start/SKILL.md +220 -0
  31. package/skills/bi-start/scripts/update-check.js +389 -0
  32. package/skills/pbi-connect/SKILL.md +45 -67
  33. package/skills/pbi-connect/scripts/update-check.js +389 -0
  34. package/skills/project-kickoff/SKILL.md +395 -675
  35. package/skills/project-kickoff/scripts/update-check.js +389 -0
  36. package/skills/report-design/SKILL.md +405 -0
  37. package/skills/report-design/references/cli-commands.md +184 -0
  38. package/skills/report-design/references/cli-setup.md +101 -0
  39. package/skills/report-design/references/close-write-open-pattern.md +80 -0
  40. package/skills/report-design/references/layouts/finance.md +65 -0
  41. package/skills/report-design/references/layouts/generic.md +46 -0
  42. package/skills/report-design/references/layouts/hr.md +48 -0
  43. package/skills/report-design/references/layouts/marketing.md +45 -0
  44. package/skills/report-design/references/layouts/operations.md +44 -0
  45. package/skills/report-design/references/layouts/sales.md +50 -0
  46. package/skills/report-design/references/native-visuals.md +341 -0
  47. package/skills/report-design/references/pbi-desktop-installation.md +87 -0
  48. package/skills/report-design/references/pbir-preview-activation.md +40 -0
  49. package/skills/report-design/references/slicer.md +89 -0
  50. package/skills/report-design/references/textbox.md +101 -0
  51. package/skills/report-design/references/themes/BISuperpowers.json +915 -0
  52. package/skills/report-design/references/troubleshooting.md +135 -0
  53. package/skills/report-design/references/visual-types.md +78 -0
  54. package/skills/report-design/scripts/apply-theme.js +243 -0
  55. package/skills/report-design/scripts/create-visual.js +878 -0
  56. package/skills/report-design/scripts/ensure-pbi-cli.sh +41 -0
  57. package/skills/report-design/scripts/update-check.js +389 -0
  58. package/skills/report-design/scripts/validate-pbir.js +322 -0
  59. package/src/content/base.md +12 -68
  60. package/src/content/mcp-requirements.json +0 -25
  61. package/src/content/routing.md +19 -74
  62. package/src/content/skills/bi-start.md +191 -0
  63. package/src/content/skills/pbi-connect.md +22 -65
  64. package/src/content/skills/project-kickoff.md +372 -673
  65. package/src/content/skills/report-design/SKILL.md +376 -0
  66. package/src/content/skills/report-design/references/cli-commands.md +184 -0
  67. package/src/content/skills/report-design/references/cli-setup.md +101 -0
  68. package/src/content/skills/report-design/references/close-write-open-pattern.md +80 -0
  69. package/src/content/skills/report-design/references/layouts/finance.md +65 -0
  70. package/src/content/skills/report-design/references/layouts/generic.md +46 -0
  71. package/src/content/skills/report-design/references/layouts/hr.md +48 -0
  72. package/src/content/skills/report-design/references/layouts/marketing.md +45 -0
  73. package/src/content/skills/report-design/references/layouts/operations.md +44 -0
  74. package/src/content/skills/report-design/references/layouts/sales.md +50 -0
  75. package/src/content/skills/report-design/references/native-visuals.md +341 -0
  76. package/src/content/skills/report-design/references/pbi-desktop-installation.md +87 -0
  77. package/src/content/skills/report-design/references/pbir-preview-activation.md +40 -0
  78. package/src/content/skills/report-design/references/slicer.md +89 -0
  79. package/src/content/skills/report-design/references/textbox.md +101 -0
  80. package/src/content/skills/report-design/references/themes/BISuperpowers.json +915 -0
  81. package/src/content/skills/report-design/references/troubleshooting.md +135 -0
  82. package/src/content/skills/report-design/references/visual-types.md +78 -0
  83. package/src/content/skills/report-design/scripts/apply-theme.js +243 -0
  84. package/src/content/skills/report-design/scripts/create-visual.js +878 -0
  85. package/src/content/skills/report-design/scripts/ensure-pbi-cli.sh +41 -0
  86. package/src/content/skills/report-design/scripts/validate-pbir.js +322 -0
  87. package/bin/commands/add.js +0 -533
  88. package/bin/commands/add.test.js +0 -77
  89. package/bin/commands/changelog.js +0 -443
  90. package/bin/commands/install.test.js +0 -289
  91. package/bin/commands/lint.test.js +0 -103
  92. package/bin/commands/pull.js +0 -287
  93. package/bin/commands/pull.test.js +0 -36
  94. package/bin/commands/push.js +0 -231
  95. package/bin/commands/push.test.js +0 -14
  96. package/bin/commands/search.js +0 -344
  97. package/bin/commands/search.test.js +0 -115
  98. package/bin/commands/setup.js +0 -545
  99. package/bin/commands/setup.test.js +0 -46
  100. package/bin/commands/sync-profile.js +0 -405
  101. package/bin/commands/sync-profile.test.js +0 -14
  102. package/bin/commands/sync-source.js +0 -418
  103. package/bin/commands/sync-source.test.js +0 -14
  104. package/bin/lib/generators/claude-plugin.test.js +0 -111
  105. package/bin/lib/mcp-config.test.js +0 -310
  106. package/bin/lib/microsoft-mcp.test.js +0 -115
  107. package/bin/utils/errors.js +0 -159
  108. package/bin/utils/git.js +0 -298
  109. package/bin/utils/logger.js +0 -142
  110. package/bin/utils/mcp-detect.test.js +0 -81
  111. package/bin/utils/pbix.js +0 -305
  112. package/bin/utils/pbix.test.js +0 -37
  113. package/bin/utils/profiles.js +0 -312
  114. package/bin/utils/projects.js +0 -169
  115. package/bin/utils/readline.js +0 -206
  116. package/bin/utils/readline.test.js +0 -47
  117. package/bin/utils/tui.test.js +0 -127
  118. package/docs/openrouter-free-models.md +0 -92
  119. package/library/examples/README.md +0 -151
  120. package/library/examples/finance-reporting/README.md +0 -351
  121. package/library/examples/finance-reporting/data-model.md +0 -267
  122. package/library/examples/finance-reporting/measures.dax +0 -557
  123. package/library/examples/hr-analytics/README.md +0 -371
  124. package/library/examples/hr-analytics/data-model.md +0 -315
  125. package/library/examples/hr-analytics/measures.dax +0 -460
  126. package/library/examples/marketing-analytics/README.md +0 -37
  127. package/library/examples/marketing-analytics/data-model.md +0 -62
  128. package/library/examples/marketing-analytics/measures.dax +0 -110
  129. package/library/examples/retail-analytics/README.md +0 -439
  130. package/library/examples/retail-analytics/data-model.md +0 -288
  131. package/library/examples/retail-analytics/measures.dax +0 -481
  132. package/library/examples/supply-chain/README.md +0 -37
  133. package/library/examples/supply-chain/data-model.md +0 -69
  134. package/library/examples/supply-chain/measures.dax +0 -77
  135. package/library/examples/udf-library/README.md +0 -228
  136. package/library/examples/udf-library/functions.dax +0 -571
  137. package/library/snippets/dax/README.md +0 -292
  138. package/library/snippets/dax/business-domains.md +0 -576
  139. package/library/snippets/dax/calculate-patterns.md +0 -276
  140. package/library/snippets/dax/calculation-groups.md +0 -489
  141. package/library/snippets/dax/error-handling.md +0 -495
  142. package/library/snippets/dax/iterators-and-aggregations.md +0 -474
  143. package/library/snippets/dax/kpis-and-metrics.md +0 -293
  144. package/library/snippets/dax/rankings-and-topn.md +0 -235
  145. package/library/snippets/dax/security-patterns.md +0 -413
  146. package/library/snippets/dax/text-and-formatting.md +0 -316
  147. package/library/snippets/dax/time-intelligence.md +0 -196
  148. package/library/snippets/dax/user-defined-functions.md +0 -477
  149. package/library/snippets/dax/virtual-tables.md +0 -546
  150. package/library/snippets/excel-formulas/README.md +0 -84
  151. package/library/snippets/excel-formulas/aggregations.md +0 -330
  152. package/library/snippets/excel-formulas/dates-and-times.md +0 -361
  153. package/library/snippets/excel-formulas/dynamic-arrays.md +0 -314
  154. package/library/snippets/excel-formulas/lookups.md +0 -169
  155. package/library/snippets/excel-formulas/text-functions.md +0 -363
  156. package/library/snippets/governance/naming-conventions.md +0 -97
  157. package/library/snippets/governance/review-checklists.md +0 -107
  158. package/library/snippets/power-query/README.md +0 -389
  159. package/library/snippets/power-query/api-integration.md +0 -707
  160. package/library/snippets/power-query/connections.md +0 -434
  161. package/library/snippets/power-query/data-cleaning.md +0 -298
  162. package/library/snippets/power-query/error-handling.md +0 -526
  163. package/library/snippets/power-query/parameters.md +0 -350
  164. package/library/snippets/power-query/performance.md +0 -506
  165. package/library/snippets/power-query/transformations.md +0 -330
  166. package/library/snippets/report-design/accessibility.md +0 -78
  167. package/library/snippets/report-design/chart-selection.md +0 -54
  168. package/library/snippets/report-design/layout-patterns.md +0 -87
  169. package/library/templates/data-models/README.md +0 -93
  170. package/library/templates/data-models/finance-model.md +0 -627
  171. package/library/templates/data-models/retail-star-schema.md +0 -473
  172. package/library/templates/excel/README.md +0 -83
  173. package/library/templates/excel/budget-tracker.md +0 -432
  174. package/library/templates/excel/data-entry-form.md +0 -533
  175. package/library/templates/power-bi/README.md +0 -72
  176. package/library/templates/power-bi/finance-report.md +0 -449
  177. package/library/templates/power-bi/kpi-scorecard.md +0 -461
  178. package/library/templates/power-bi/sales-dashboard.md +0 -281
  179. package/library/themes/excel/README.md +0 -436
  180. package/library/themes/power-bi/README.md +0 -271
  181. package/library/themes/power-bi/accessible.json +0 -307
  182. package/library/themes/power-bi/bi-superpowers-default.json +0 -858
  183. package/library/themes/power-bi/corporate-blue.json +0 -291
  184. package/library/themes/power-bi/dark-mode.json +0 -291
  185. package/library/themes/power-bi/minimal.json +0 -292
  186. package/library/themes/power-bi/print-friendly.json +0 -309
@@ -0,0 +1,403 @@
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/report-design.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."
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 `/project-kickoff` finishes building the semantic model
36
+ - Explicit invocation: `/report-design`
37
+
38
+ ## Identity
39
+ You are **BI Report Architect**, an orchestrator that turns a finished semantic model into a Power BI report. You author PBIR via **bundled Node scripts** — not via `pbi-cli-tool` upstream:
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 kept around for **one purpose only**: model introspection via XMLA (`pbi connect`, `pbi measure list`, `pbi table list`, `pbi column list`). Prefer the Microsoft Modeling MCP when available — 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 `/project-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 `/project-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 (`/project-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 `/project-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/report-design/` 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 (variance KPI green/red, diverging matrix gradients, signed-color bars) is DEFERRED to v4.1.** The layouts mention conditional color in design notes; in v4.0.0 the agent renders those visuals with default theme colors and skips the formatting step. Do not call `pbi format` from this skill in v4.0.0 — the `pbi format` syntax is not yet documented or tested for our use cases. Better a plain report that renders than a fancy one that breaks.
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 /report-design 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 (only needed for model introspection via XMLA; scripts don't require it)
372
+ - `cli-commands.md` — cheatsheet of the `pbi` commands still used by this skill (mostly `pbi connect` / `pbi measure list` for model introspection; authoring commands are superseded by the Node scripts)
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 (only needed for model introspection via XMLA)
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
+ - `/project-kickoff` — runs before this; produces `AGENTS.md` + the semantic model
399
+ - `/pbi-connect` — Microsoft Modeling MCP connection for model operations
400
+
401
+ ## Credit
402
+
403
+ This skill orchestrates the [`pbi-cli-tool`](https://github.com/MinaSaad1/pbi-cli) CLI by MinaSaad1 (MIT License). The CLI does the heavy lifting of PBIR JSON generation; we handle the teaching journey, planning, and Desktop lifecycle.
@@ -3,8 +3,8 @@
3
3
  "name": "bi-superpowers",
4
4
  "display_name": "BI Agent Superpowers",
5
5
  "version": "0.0.0-template",
6
- "description": "AI-powered toolkit for Power BI, Microsoft Fabric & Excel development. 24 skills covering DAX, Power Query, data modeling, and more.",
7
- "long_description": "BI Agent Superpowers brings 24 specialized skills to Claude Desktop, covering DAX writing, Power Query transformations, data modeling best practices, performance optimization, Excel formulas, report design, and more. Built for Power BI developers, data analysts, and BI professionals.",
6
+ "description": "Open-source Power BI Desktop toolkit for Claude Desktop 4 skills and 2 official Microsoft MCP servers.",
7
+ "long_description": "BI Agent Superpowers brings focused Power BI Desktop skills to Claude Desktop: project kickoff analysis, direct Power BI Desktop connection, and automated PBIR report generation via bundled Node scripts (Windows only, for the report-design skill), plus the official Microsoft MCP servers (Power BI Modeling + Microsoft Learn). Built for Power BI developers and data analysts on Windows.",
8
8
  "author": {
9
9
  "name": "Lucas Sanchez",
10
10
  "url": "https://github.com/luquimbo"
@@ -13,23 +13,16 @@
13
13
  "type": "git",
14
14
  "url": "https://github.com/luquimbo/bi-superpowers"
15
15
  },
16
- "homepage": "https://acadevor.com/bi-superpowers",
16
+ "homepage": "https://github.com/luquimbo/bi-superpowers",
17
17
  "license": "MIT",
18
- "keywords": [
19
- "power-bi",
20
- "dax",
21
- "fabric",
22
- "excel",
23
- "data-modeling",
24
- "business-intelligence"
25
- ],
18
+ "keywords": ["power-bi", "power-bi-desktop", "mcp", "claude", "business-intelligence"],
26
19
  "server": {
27
20
  "type": "node",
28
21
  "entry_point": "server.js"
29
22
  },
30
23
  "prompts_generated": true,
31
24
  "compatibility": {
32
- "platforms": ["darwin", "win32", "linux"],
25
+ "platforms": ["win32"],
33
26
  "runtimes": {
34
27
  "node": ">=18.0.0"
35
28
  }
@@ -3,10 +3,11 @@
3
3
  /**
4
4
  * BI Agent Superpowers — MCP Server for Claude Desktop
5
5
  *
6
- * Lightweight MCP server that exposes all 24 BI skills as prompts.
7
- * Bundled into a .mcpb extension via `super build-desktop`.
6
+ * Lightweight MCP server that exposes each bi-superpowers skill as a
7
+ * Claude Desktop prompt. Bundled into a .mcpb extension via
8
+ * `super build-desktop`.
8
9
  *
9
- * Skills are loaded from the ./skills/ directory (copied at build time).
10
+ * Skills are loaded from the ./skills/ directory (copied in at build time).
10
11
  */
11
12
 
12
13
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
@@ -18,29 +19,25 @@ import { fileURLToPath } from 'url';
18
19
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
19
20
  const skillsDir = path.join(__dirname, 'skills');
20
21
 
21
- // Create the MCP server instance
22
+ // Create the MCP server instance.
22
23
  const server = new McpServer({
23
24
  name: 'bi-superpowers',
24
25
  version: '0.0.0-template',
25
26
  });
26
27
 
27
- // Load all skill markdown files from the bundled skills/ directory
28
+ // Load all skill markdown files from the bundled skills/ directory.
28
29
  const skillFiles = fs.existsSync(skillsDir)
29
30
  ? fs.readdirSync(skillsDir).filter((f) => f.endsWith('.md'))
30
31
  : [];
31
32
 
32
- // Register each skill as an MCP prompt that Claude Desktop can invoke
33
+ // Register each skill as an MCP prompt that Claude Desktop can invoke.
33
34
  for (const file of skillFiles) {
34
35
  const name = path.basename(file, '.md');
35
36
  const content = fs.readFileSync(path.join(skillsDir, file), 'utf8');
36
37
 
37
- // Extract first line as description (skip markdown headers)
38
- const firstLine = content
39
- .split('\n')
40
- .find((l) => l.trim() && !l.startsWith('#'));
41
- const description = firstLine
42
- ? firstLine.slice(0, 120).trim()
43
- : `BI Superpowers: ${name}`;
38
+ // Use the first non-header line as a short description for the prompt.
39
+ const firstLine = content.split('\n').find((l) => l.trim() && !l.startsWith('#'));
40
+ const description = firstLine ? firstLine.slice(0, 120).trim() : `BI Superpowers: ${name}`;
44
41
 
45
42
  server.prompt(name, { description }, () => ({
46
43
  messages: [
@@ -52,10 +49,15 @@ for (const file of skillFiles) {
52
49
  }));
53
50
  }
54
51
 
55
- // Register a setup-mcp helper prompt with Power BI/Fabric/Excel MCP instructions
52
+ // Register a setup-mcp helper prompt that explains how to wire the
53
+ // official Microsoft MCP servers (Power BI Modeling + Microsoft Learn)
54
+ // into Claude Desktop.
56
55
  server.prompt(
57
56
  'setup-mcp',
58
- { description: 'Instructions to configure Power BI, Fabric & Excel MCP servers in Claude Desktop' },
57
+ {
58
+ description:
59
+ 'Instructions to configure the Power BI Modeling and Microsoft Learn MCP servers in Claude Desktop',
60
+ },
59
61
  () => ({
60
62
  messages: [
61
63
  {
@@ -64,25 +66,32 @@ server.prompt(
64
66
  type: 'text',
65
67
  text: `# Configure MCP Servers for Claude Desktop
66
68
 
67
- To connect Power BI, Fabric, and Excel to Claude Desktop, add the following
68
- to your \`claude_desktop_config.json\` (Settings > Developer > Edit Config):
69
+ bi-superpowers ships two official Microsoft MCP servers. To wire them
70
+ into Claude Desktop, add the following to your \`claude_desktop_config.json\`
71
+ (Settings → Developer → Edit Config):
69
72
 
70
73
  \`\`\`json
71
74
  {
72
75
  "mcpServers": {
73
- "powerbi-remote": {
74
- "command": "npx",
75
- "args": ["-y", "@anthropic-ai/mcp-remote", "https://mcp.powerbi.com/sse"]
76
+ "powerbi-modeling": {
77
+ "command": "node",
78
+ "args": ["<absolute path to powerbi-modeling-launcher.js>"]
76
79
  },
77
- "fabric-mcp-server": {
78
- "command": "npx",
79
- "args": ["-y", "@anthropic-ai/mcp-remote", "https://mcp.fabric.microsoft.com/v1/sse"]
80
+ "microsoft-learn": {
81
+ "type": "http",
82
+ "url": "https://learn.microsoft.com/api/mcp"
80
83
  }
81
84
  }
82
85
  }
83
86
  \`\`\`
84
87
 
85
- After saving, restart Claude Desktop. The MCP servers will appear in your tools.
88
+ The \`powerbi-modeling\` server requires Power BI Desktop on Windows
89
+ with a model open. If you prefer automated setup, run
90
+ \`super install\` from the bi-superpowers CLI — it configures both
91
+ servers across all 5 supported AI agents.
92
+
93
+ After saving, restart Claude Desktop. The MCP servers will appear in
94
+ your tools.
86
95
  `,
87
96
  },
88
97
  },
@@ -90,6 +99,6 @@ After saving, restart Claude Desktop. The MCP servers will appear in your tools.
90
99
  })
91
100
  );
92
101
 
93
- // Start the server with stdio transport
102
+ // Start the server with stdio transport.
94
103
  const transport = new StdioServerTransport();
95
104
  await server.connect(transport);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@luquimbo/bi-superpowers",
3
- "version": "3.1.1",
4
- "description": "Plugin-first Claude Code toolkit for Power BI, Microsoft Fabric, and Excel workflows powered by official Microsoft MCP servers.",
3
+ "version": "4.1.0",
4
+ "description": "Open-source Power BI Desktop toolkit for Claude Code, GitHub Copilot, Codex, Gemini CLI, and Kilo Code. Ships 4 skills and 2 official Microsoft MCP servers.",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {
7
7
  "bi-superpowers": "bin/cli.js"
@@ -14,7 +14,7 @@
14
14
  "lint:skills": "node bin/cli.js checkup",
15
15
  "format": "prettier --write bin/",
16
16
  "format:check": "prettier --check bin/",
17
- "test": "node --test \"bin/**/*.test.js\"",
17
+ "test": "node --test \"bin/**/*.test.js\" \"src/content/**/*.test.js\"",
18
18
  "audit": "npm audit --audit-level=moderate",
19
19
  "check": "npm run lint && npm run format:check",
20
20
  "prepack": "npm run build:plugin && npm run check"
@@ -25,11 +25,8 @@
25
25
  "chalk": "^4.1.2",
26
26
  "chokidar": "^3.6.0",
27
27
  "cli-table3": "^0.6.5",
28
- "fuse.js": "^7.3.0",
29
- "gray-matter": "^4.0.3",
30
- "js-yaml": "^4.1.0",
31
28
  "ora": "^5.4.1",
32
- "simple-git": "^3.22.0"
29
+ "update-notifier": "^5.1.0"
33
30
  },
34
31
  "devDependencies": {
35
32
  "@eslint/js": "^9.39.2",
@@ -81,14 +78,13 @@
81
78
  "commands/",
82
79
  "skills/",
83
80
  "src/content/",
84
- "library/",
85
81
  "desktop-extension/",
86
- "docs/",
87
82
  "config.json",
88
83
  "config.example.json",
89
84
  "README.md",
90
85
  "LICENSE",
91
86
  "CHANGELOG.md",
92
- "AGENTS.md"
87
+ "AGENTS.md",
88
+ "!**/*.test.js"
93
89
  ]
94
90
  }