@luquimbo/bi-superpowers 1.1.1 → 1.1.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bi-superpowers",
3
3
  "description": "Claude Code plugin for Power BI, Microsoft Fabric, and semantic model workflows powered by the official Microsoft MCP servers.",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "author": {
6
6
  "name": "Lucas Sanchez"
7
7
  }
package/AGENTS.md CHANGED
@@ -15,6 +15,70 @@
15
15
  - `library/`
16
16
  - `config.json`
17
17
 
18
+ ---
19
+
20
+ ## Publishing to npm (for AI agents)
21
+
22
+ When the user asks for things like **"publica una nueva versión"**, **"publish a patch"**, **"sube esto a npm"**, **"release v1.2.0"**, follow this flow.
23
+
24
+ ### How publishing works
25
+
26
+ The repo uses **GitHub Actions** to publish automatically. The `NPM_TOKEN` is stored as a GitHub Secret — never commit it to the repo or use it locally for publishes. The workflow at `.github/workflows/publish.yml` triggers on:
27
+
28
+ 1. **Tag push** (`v*`) — preferred, triggered by pushing a version tag
29
+ 2. **GitHub release published** — manual via web UI
30
+ 3. **Manual workflow dispatch** — via Actions tab
31
+
32
+ ### Standard publish flow (do this when asked)
33
+
34
+ 1. **Verify clean working tree.** Run `git status` and ensure no uncommitted changes.
35
+ 2. **Verify on `main` branch.** If on a feature branch, ask the user if you should merge first.
36
+ 3. **Choose the version bump:**
37
+ - `patch` — bug fixes, doc updates, regenerated artifacts
38
+ - `minor` — new features, new skills, new commands (backwards compatible)
39
+ - `major` — breaking changes
40
+ 4. **Run the bump:**
41
+ ```bash
42
+ npm version patch --no-git-tag-version # or minor / major
43
+ ```
44
+ 5. **Run the local validations** (these also run in CI, but fail fast locally):
45
+ ```bash
46
+ npm run build:plugin
47
+ npm run lint
48
+ npm run format:check
49
+ ```
50
+ 6. **Commit with conventional commit message:**
51
+ ```bash
52
+ git add package.json package-lock.json [+ any regenerated files]
53
+ git commit -m "chore: bump version to X.Y.Z"
54
+ ```
55
+ 7. **Create the version tag:**
56
+ ```bash
57
+ git tag vX.Y.Z
58
+ ```
59
+ 8. **Push commits and tag together:**
60
+ ```bash
61
+ git push origin main --follow-tags
62
+ ```
63
+ 9. **Verify the publish triggered.** Tell the user to check https://github.com/luquimbo/bi-superpowers/actions — within 1-2 minutes the workflow runs and publishes.
64
+ 10. **Confirm on npm.** Once the workflow finishes, run `npm view @luquimbo/bi-superpowers version` to confirm the new version is live.
65
+
66
+ ### Critical rules
67
+
68
+ - **Never run `npm publish` locally.** The token lives in GitHub Secrets, not on developer machines. Local publishes bypass CI checks and history.
69
+ - **Never commit the npm token.** It belongs in `.env` (gitignored) for emergencies, or GitHub Secrets for CI.
70
+ - **Always tag versions with `v` prefix** (e.g., `v1.2.3`, not `1.2.3`). The workflow trigger expects `v*`.
71
+ - **Check for `prepack` regenerations.** The `prepack` script regenerates `skills/*/SKILL.md` and `.claude-plugin/plugin.json` with the new version. If running `npm version` triggers regeneration, commit those files in the same commit.
72
+ - **Don't bump version on feature branches.** Always bump on `main` after merge.
73
+
74
+ ### When something goes wrong
75
+
76
+ - **Workflow fails because version already exists on npm:** the user already published manually. Bump again.
77
+ - **Workflow fails on lint/format:** run `npm run lint:fix && npm run format` locally, commit, retag, push.
78
+ - **Token expired or revoked:** ask the user to regenerate at https://www.npmjs.com/settings/luquimbo/tokens and update the GitHub Secret at https://github.com/luquimbo/bi-superpowers/settings/secrets/actions
79
+
80
+ ---
81
+
18
82
  AI-powered toolkit for Power BI, Fabric & Excel development.
19
83
 
20
84
  Developed by **Lucas Sanchez** ([@luquimbo](https://github.com/luquimbo))
@@ -21,24 +21,14 @@ const path = require('path');
21
21
  const os = require('os');
22
22
  const readline = require('readline');
23
23
 
24
- // Agent registry: each agent's skill directory path (relative to project or home)
25
- // Based on the Agent Skills specification supported by 45+ agents
24
+ // Agent registry: each agent's skill directory path (relative to home directory)
25
+ // Order matches the interactive installer display order
26
26
  const AGENTS = {
27
- 'claude-code': { name: 'Claude Code', dir: '.claude/skills' },
28
27
  'github-copilot': { name: 'GitHub Copilot', dir: '.github/skills' },
28
+ 'claude-code': { name: 'Claude Code', dir: '.claude/skills' },
29
29
  codex: { name: 'Codex (OpenAI)', dir: '.agents/skills' },
30
- cursor: { name: 'Cursor', dir: '.cursor/skills' },
31
- windsurf: { name: 'Windsurf', dir: '.windsurf/skills' },
32
- cline: { name: 'Cline', dir: '.cline/skills' },
33
- continue: { name: 'Continue', dir: '.continue/skills' },
34
- 'roo-code': { name: 'Roo Code', dir: '.roo/skills' },
35
- augment: { name: 'Augment', dir: '.augment/skills' },
36
- amp: { name: 'Amp', dir: '.amp/skills' },
37
- kilo: { name: 'Kilo Code', dir: '.kilocode/skills' },
38
- opencode: { name: 'OpenCode', dir: '.agents/skills' },
39
- openhands: { name: 'OpenHands', dir: '.openhands/skills' },
40
- goose: { name: 'Goose', dir: '.goose/skills' },
41
30
  'gemini-cli': { name: 'Gemini CLI', dir: '.gemini/skills' },
31
+ kilo: { name: 'Kilo Code', dir: '.kilocode/skills' },
42
32
  };
43
33
 
44
34
  // Universal path — most agents read from .agents/skills/
@@ -246,7 +236,13 @@ async function installCommand(args, config) {
246
236
  copySkillDir(src, dest);
247
237
  installedCount++;
248
238
  }
249
- console.log(chalk.green(` ✓ ${UNIVERSAL_DIR}/ (${installedCount} skills)`));
239
+
240
+ // List agents whose default dir is the universal path (e.g. Codex)
241
+ const universalAgents = selectedAgents
242
+ .filter((id) => AGENTS[id] && AGENTS[id].dir === UNIVERSAL_DIR)
243
+ .map((id) => AGENTS[id].name);
244
+ const universalSuffix = universalAgents.length > 0 ? ` — ${universalAgents.join(', ')}` : '';
245
+ console.log(chalk.green(` ✓ ${UNIVERSAL_DIR}/ (${installedCount} skills)${universalSuffix}`));
250
246
 
251
247
  // Symlink agent-specific directories to universal path
252
248
  const agentResults = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luquimbo/bi-superpowers",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Plugin-first Claude Code toolkit for Power BI, Microsoft Fabric, and Excel workflows powered by official Microsoft MCP servers.",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "contributions"
3
3
  description: "Contributions Validation Skill: Contribution validation."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/contributions.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "data-model-design"
3
3
  description: "Use when the user asks about Data Model Design Skill, especially phrases like \"diseñar modelo de datos\", \"crear modelo Power BI\", \"arquitectura de datos\", \"empezar proyecto BI\", \"nuevo modelo semántico\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/data-model-design.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "data-modeling"
3
3
  description: "Use when the user asks about Data Modeling Skill, especially phrases like \"data model\", \"star schema\", \"fact table\", \"relationship\", \"surrogate key\", \"SCD\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/data-modeling.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "data-quality"
3
3
  description: "Use when the user asks about Data Quality Skill, especially phrases like \"data quality\", \"check for errors\", \"data profiling\", \"clean data\", \"calidad de datos\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/data-quality.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "dax"
3
3
  description: "Use when the user asks about DAX Skill, especially phrases like \"DAX\", \"CALCULATE\", \"time intelligence\", \"SUMX\", \"context transition\", \"Power BI formula\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/dax.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "dax-doctor"
3
3
  description: "Use when the user asks about DAX Doctor Skill, especially phrases like \"debug DAX\", \"wrong result\", \"DAX error\", \"slow measure\", \"context issue\", \"depurar DAX\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/dax-doctor.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "dax-udf"
3
3
  description: "Use when the user asks about DAX User-Defined Functions (UDFs), especially phrases like \"UDF\", \"DEFINE FUNCTION\", \"DAX Lib\", \"NAMEOF\", \"reusable DAX\", \"VAL parameter\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/dax-udf.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "deployment"
3
3
  description: "Use when the user asks about Deployment Skill, especially phrases like \"deploy\", \"CI/CD\", \"ALM\", \"git integration\", \"environment\", \"desplegar\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/deployment.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "excel-formulas"
3
3
  description: "Use when the user asks about Excel Formulas Skill, especially phrases like \"Excel formula\", \"XLOOKUP\", \"dynamic array\", \"LET formula\", \"named range\", \"conditional formatting formula\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/excel-formulas.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "fabric-scripts"
3
3
  description: "Use when the user asks about Fabric Scripts Skill, especially phrases like \"Fabric scripts\", \"download dataflows\", \"diagnose connection\", \"TMDL sync\", \"scripts de Fabric\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/fabric-scripts.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "fast-standard"
3
3
  description: "Use when the user asks about FAST Standard Skill, especially phrases like \"FAST Standard\", \"financial model\", \"spreadsheet modeling best practices\", \"model audit\", \"calculation block\", \"modelo financiero\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/fast-standard.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "governance"
3
3
  description: "Use when the user asks about Governance Skill, especially phrases like \"naming convention\", \"governance\", \"documentation standard\", \"display folder\", \"convención de nombres\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/governance.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "migration-assistant"
3
3
  description: "Use when the user asks about Migration Assistant Skill, especially phrases like \"migrate\", \"move to Fabric\", \"Desktop to PBIP\", \"deprecated feature\", \"migrar\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/migration-assistant.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "model-documenter"
3
3
  description: "Use when the user asks about Model Documenter Skill, especially phrases like \"document model\", \"document measures\", \"generate documentation\", \"describe tables\", \"documentar modelo\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/model-documenter.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "pbi-connect"
3
3
  description: "Use when the user asks about Power BI MCP Connection Skill, especially phrases like \"connect Power BI\", \"modeling mcp\", \"Power BI Desktop\", \"conectar Power BI\", \"can't connect to Power BI\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/pbi-connect.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "power-query"
3
3
  description: "Use when the user asks about Power Query Skill, especially phrases like \"Power Query\", \"query folding\", \"ETL\", \"source connection\", \"refresh\", \"parameters\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/power-query.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "project-kickoff"
3
3
  description: "Project Kickoff Skill: Project analysis and planning."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/project-kickoff.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "query-performance"
3
3
  description: "Use when the user asks about Query Performance Skill, especially phrases like \"slow\", \"DAX Studio\", \"taking too long\", \"reduce refresh time\", \"rendimiento\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/query-performance.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "report-design"
3
3
  description: "Use when the user asks about Report Design Skill, especially phrases like \"report design\", \"chart type\", \"IBCS\", \"accessibility\", \"mobile layout\", \"diseño de reporte\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/report-design.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "report-layout"
3
3
  description: "Use when the user asks about Report Layout Skill, especially phrases like \"report layout\", \"visual placement\", \"report wireframe\", \"navigation design\", \"diseño de reporte\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/report-layout.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "rls-design"
3
3
  description: "Use when the user asks about RLS Design Skill, especially phrases like \"RLS\", \"user can only see their data\", \"restrict access\", \"security role\", \"seguridad a nivel de fila\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/rls-design.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "semantic-model"
3
3
  description: "Use when the user asks about Semantic Model Skill, especially phrases like \"semantic model\", \"TMDL\", \"DirectLake\", \"calculation group\", \"storage mode\", \"modelo semántico\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/semantic-model.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "testing-validation"
3
3
  description: "Use when the user asks about Testing & Validation Skill, especially phrases like \"test\", \"unit test DAX\", \"regression test\", \"deployment checklist\", \"data reconciliation\", \"pruebas\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/testing-validation.md instead. -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: "theme-tweaker"
3
3
  description: "Use when the user asks about Theme Tweaker Skill, especially phrases like \"modificar tema\", \"cambiar colores Power BI\", \"personalizar tema\", \"ajustar estilo\", \"theme tweaker\"."
4
- version: "1.1.1"
4
+ version: "1.1.2"
5
5
  ---
6
6
 
7
7
  <!-- Generated by BI Agent Superpowers. Edit src/content/skills/theme-tweaker.md instead. -->