@luquimbo/bi-superpowers 1.2.2 → 2.0.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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.claude-plugin/skill-manifest.json +1 -2
- package/.plugin/plugin.json +1 -1
- package/AGENTS.md +2 -3
- package/README.md +14 -5
- package/bin/cli.js +28 -234
- package/bin/commands/build-desktop.js +3 -1
- package/bin/commands/diff.js +3 -1
- package/bin/commands/install.js +4 -6
- package/bin/commands/lint.js +3 -1
- package/bin/commands/search.js +1 -1
- package/bin/commands/watch.js +3 -1
- package/bin/lib/generators/claude-plugin.js +2 -1
- package/bin/lib/skills.js +9 -34
- package/bin/postinstall.js +20 -18
- package/package.json +1 -1
- package/skills/contributions/SKILL.md +1 -1
- package/skills/data-model-design/SKILL.md +1 -1
- package/skills/data-modeling/SKILL.md +1 -1
- package/skills/data-quality/SKILL.md +1 -1
- package/skills/dax/SKILL.md +1 -1
- package/skills/dax-doctor/SKILL.md +1 -1
- package/skills/dax-udf/SKILL.md +1 -1
- package/skills/deployment/SKILL.md +1 -1
- package/skills/excel-formulas/SKILL.md +1 -1
- package/skills/fabric-scripts/SKILL.md +1 -1
- package/skills/fast-standard/SKILL.md +1 -1
- package/skills/governance/SKILL.md +1 -1
- package/skills/migration-assistant/SKILL.md +1 -1
- package/skills/model-documenter/SKILL.md +1 -1
- package/skills/pbi-connect/SKILL.md +1 -1
- package/skills/power-query/SKILL.md +1 -1
- package/skills/project-kickoff/SKILL.md +1 -1
- package/skills/query-performance/SKILL.md +1 -1
- package/skills/report-design/SKILL.md +1 -1
- package/skills/report-layout/SKILL.md +1 -1
- package/skills/rls-design/SKILL.md +1 -1
- package/skills/semantic-model/SKILL.md +1 -1
- package/skills/testing-validation/SKILL.md +1 -1
- package/skills/theme-tweaker/SKILL.md +1 -1
- package/bin/lib/licensing/index.js +0 -35
- package/bin/lib/licensing/storage.js +0 -404
- package/bin/lib/licensing/storage.test.js +0 -55
- package/bin/lib/licensing/validator.js +0 -213
- package/bin/lib/licensing/validator.test.js +0 -137
package/bin/lib/skills.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Skill Loading Utilities
|
|
3
3
|
* =======================
|
|
4
4
|
*
|
|
5
|
-
* Centralizes how BI Agent Superpowers loads skill source files
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Centralizes how BI Agent Superpowers loads skill source files from
|
|
6
|
+
* the installed npm package. Since the project is open source, there's
|
|
7
|
+
* no premium content cache — everything ships with the package.
|
|
8
8
|
*
|
|
9
9
|
* @module lib/skills
|
|
10
10
|
*/
|
|
@@ -56,47 +56,22 @@ function readSkillDirectory(directory) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Load skills from the package source directory.
|
|
60
60
|
*
|
|
61
61
|
* @param {Object} options - Resolution options
|
|
62
62
|
* @param {string} options.packageDir - Package installation directory
|
|
63
|
-
* @param {string} [options.contentCacheDir] - Premium content cache directory
|
|
64
|
-
* @param {boolean} [options.preferLocal] - Prefer repository-local sources first
|
|
65
|
-
* @returns {string[]} Ordered list of candidate directories
|
|
66
|
-
*/
|
|
67
|
-
function getSkillDirectories(options = {}) {
|
|
68
|
-
const { packageDir, contentCacheDir, preferLocal = false } = options;
|
|
69
|
-
const localDir = packageDir ? path.join(packageDir, 'src', 'content', 'skills') : null;
|
|
70
|
-
const cacheDir = contentCacheDir ? path.join(contentCacheDir, 'src', 'content', 'skills') : null;
|
|
71
|
-
|
|
72
|
-
const ordered = preferLocal ? [localDir, cacheDir] : [cacheDir, localDir];
|
|
73
|
-
return ordered.filter(Boolean);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Load skills from the first directory that contains them.
|
|
78
|
-
*
|
|
79
|
-
* @param {Object} options - Resolution options
|
|
80
|
-
* @param {string} options.packageDir - Package installation directory
|
|
81
|
-
* @param {string} [options.contentCacheDir] - Premium content cache directory
|
|
82
|
-
* @param {boolean} [options.preferLocal] - Prefer repository-local sources first
|
|
83
63
|
* @returns {Array<{name: string, path: string, content: string}>}
|
|
84
64
|
*/
|
|
85
65
|
function loadSkills(options = {}) {
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const skills = readSkillDirectory(directory);
|
|
90
|
-
if (skills.length > 0) {
|
|
91
|
-
return skills;
|
|
92
|
-
}
|
|
66
|
+
const { packageDir } = options;
|
|
67
|
+
if (!packageDir) {
|
|
68
|
+
return [];
|
|
93
69
|
}
|
|
94
|
-
|
|
95
|
-
return
|
|
70
|
+
const skillsDir = path.join(packageDir, 'src', 'content', 'skills');
|
|
71
|
+
return readSkillDirectory(skillsDir);
|
|
96
72
|
}
|
|
97
73
|
|
|
98
74
|
module.exports = {
|
|
99
75
|
readSkillDirectory,
|
|
100
|
-
getSkillDirectories,
|
|
101
76
|
loadSkills,
|
|
102
77
|
};
|
package/bin/postinstall.js
CHANGED
|
@@ -14,31 +14,33 @@ console.log(`
|
|
|
14
14
|
║ BI Agent Superpowers v${VERSION.padEnd(34)}║
|
|
15
15
|
║ AI-powered toolkit for Power BI, Fabric & Excel ║
|
|
16
16
|
║ Developed by Lucas Sanchez (@luquimbo) ║
|
|
17
|
+
║ Open source — MIT licensed ║
|
|
17
18
|
║ ║
|
|
18
19
|
╚═══════════════════════════════════════════════════════════╝
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
Instalado correctamente!
|
|
21
22
|
|
|
22
23
|
Quick Start:
|
|
23
|
-
1. super
|
|
24
|
-
2. super kickoff
|
|
25
|
-
3. super powers
|
|
26
|
-
|
|
27
|
-
Get your license at: https://acadevor.com/bi-superpowers
|
|
24
|
+
1. super install Instalá los 24 skills en tus agentes AI
|
|
25
|
+
2. super kickoff Inicializá el plugin en un proyecto
|
|
26
|
+
3. super powers Ver todos los skills disponibles
|
|
28
27
|
|
|
29
28
|
Works with:
|
|
30
|
-
• Claude Code
|
|
31
|
-
•
|
|
32
|
-
•
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
/
|
|
39
|
-
/
|
|
40
|
-
/
|
|
41
|
-
|
|
29
|
+
• Claude Code Plugin nativo (skills + commands + MCP)
|
|
30
|
+
• GitHub Copilot Agent skills
|
|
31
|
+
• Codex (OpenAI) Agent skills
|
|
32
|
+
• Gemini CLI Agent skills
|
|
33
|
+
• Kilo Code Agent skills
|
|
34
|
+
• Claude Desktop MCPB extension (super build-desktop)
|
|
35
|
+
|
|
36
|
+
24 skills incluidos:
|
|
37
|
+
/project-kickoff Analizá y planificá proyectos BI
|
|
38
|
+
/data-model-design Diseñá modelos estrella
|
|
39
|
+
/dax-doctor Debuggeá y optimizá medidas DAX
|
|
40
|
+
/dax Mejores prácticas de DAX
|
|
41
|
+
/power-query Patrones de Power Query
|
|
42
|
+
/report-design Diseño y visualización de reportes
|
|
43
|
+
... y 18 más
|
|
42
44
|
|
|
43
45
|
Documentation: https://github.com/luquimbo/bi-superpowers
|
|
44
46
|
`);
|
package/package.json
CHANGED
|
@@ -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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- Generated by BI Agent Superpowers. Edit src/content/skills/data-quality.md instead. -->
|
package/skills/dax/SKILL.md
CHANGED
|
@@ -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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- Generated by BI Agent Superpowers. Edit src/content/skills/dax-doctor.md instead. -->
|
package/skills/dax-udf/SKILL.md
CHANGED
|
@@ -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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
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: "
|
|
4
|
+
version: "2.0.0"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<!-- Generated by BI Agent Superpowers. Edit src/content/skills/theme-tweaker.md instead. -->
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Licensing Module
|
|
3
|
-
* =================
|
|
4
|
-
*
|
|
5
|
-
* Unified exports for all licensing-related functionality.
|
|
6
|
-
*
|
|
7
|
-
* @module lib/licensing
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
const storage = require('./storage');
|
|
11
|
-
const validator = require('./validator');
|
|
12
|
-
|
|
13
|
-
module.exports = {
|
|
14
|
-
// Storage functions
|
|
15
|
-
loadLicense: storage.loadLicense,
|
|
16
|
-
saveLicense: storage.saveLicense,
|
|
17
|
-
clearLicense: storage.clearLicense,
|
|
18
|
-
isContentInstalled: storage.isContentInstalled,
|
|
19
|
-
downloadPremiumContent: storage.downloadPremiumContent,
|
|
20
|
-
getContentCacheDir: storage.getContentCacheDir,
|
|
21
|
-
getSkillsDir: storage.getSkillsDir,
|
|
22
|
-
getLicenseFile: storage.getLicenseFile,
|
|
23
|
-
|
|
24
|
-
// Validator functions
|
|
25
|
-
makeRequest: validator.makeRequest,
|
|
26
|
-
validateLicense: validator.validateLicense,
|
|
27
|
-
requireLicense: validator.requireLicense,
|
|
28
|
-
getApiBaseUrl: validator.getApiBaseUrl,
|
|
29
|
-
|
|
30
|
-
// Constants
|
|
31
|
-
LICENSE_FILE: storage.LICENSE_FILE,
|
|
32
|
-
CONTENT_CACHE_DIR: storage.CONTENT_CACHE_DIR,
|
|
33
|
-
SKILLS_DIR: storage.SKILLS_DIR,
|
|
34
|
-
API_BASE_URL: validator.API_BASE_URL,
|
|
35
|
-
};
|