wizz-method 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "wizz-method",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"description": "Wizz Method — método de agência orientado por IA em PT-BR (fork independente do BMad Method)",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"agile",
|
|
@@ -302,9 +302,10 @@ class Installer {
|
|
|
302
302
|
|
|
303
303
|
// Install the global skills library (area-filtered) BEFORE manifests, so
|
|
304
304
|
// collectSkills discovers `_wizz/skills-lib/<id>` and the verbatim pipeline
|
|
305
|
-
// carries them into each IDE. Gated on the `
|
|
306
|
-
//
|
|
307
|
-
|
|
305
|
+
// carries them into each IDE. Gated on the `bmm` (Wizz Method) module,
|
|
306
|
+
// which now owns the area agents + router; additive, so a failure here
|
|
307
|
+
// warns and never aborts the install.
|
|
308
|
+
if (!config.isQuickUpdate() && (config.modules || []).includes('bmm')) {
|
|
308
309
|
message('Installing global skills...');
|
|
309
310
|
try {
|
|
310
311
|
const result = await installSkillsLib({
|
package/tools/installer/ui.js
CHANGED
|
@@ -485,7 +485,7 @@ class UI {
|
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
487
|
* Prompt for which global-skill AREAS to install (designer, copy, seo, ...).
|
|
488
|
-
* Only relevant when the `
|
|
488
|
+
* Only relevant when the `bmm` (Wizz Method) module is selected. Areas come
|
|
489
489
|
* straight from skills-registry.yaml so this never diverges from the routing.
|
|
490
490
|
* Returns an empty array to mean "all areas" (the installSkillsLib sentinel).
|
|
491
491
|
* @param {string[]} selectedModules - Modules chosen for install
|
|
@@ -493,7 +493,7 @@ class UI {
|
|
|
493
493
|
* @returns {Promise<string[]>} Chosen area keys, or [] for all
|
|
494
494
|
*/
|
|
495
495
|
async selectSkillAreas(selectedModules, options = {}) {
|
|
496
|
-
if (!selectedModules.includes('
|
|
496
|
+
if (!selectedModules.includes('bmm')) return [];
|
|
497
497
|
|
|
498
498
|
const registry = this._loadSkillsRegistry();
|
|
499
499
|
if (!registry || !registry.areas) return [];
|
|
@@ -549,7 +549,7 @@ class UI {
|
|
|
549
549
|
* @returns {Promise<{toWrite: Object[], toRecommend: Object[]}>}
|
|
550
550
|
*/
|
|
551
551
|
async selectMcps(selectedModules, selectedAreas, options = {}) {
|
|
552
|
-
if (!selectedModules.includes('
|
|
552
|
+
if (!selectedModules.includes('bmm')) return { toWrite: [], toRecommend: [] };
|
|
553
553
|
|
|
554
554
|
const registry = this._loadSkillsRegistry();
|
|
555
555
|
const resolved = resolveMcps(registry, selectedAreas);
|
|
@@ -614,7 +614,7 @@ class UI {
|
|
|
614
614
|
*/
|
|
615
615
|
async selectClis(selectedModules, selectedAreas, options = {}) {
|
|
616
616
|
const empty = { toInstall: [], toRecommend: [], alreadyInstalled: [] };
|
|
617
|
-
if (!selectedModules.includes('
|
|
617
|
+
if (!selectedModules.includes('bmm')) return empty;
|
|
618
618
|
|
|
619
619
|
const registry = this._loadSkillsRegistry();
|
|
620
620
|
const resolved = resolveClis(registry, selectedAreas);
|
package/tools/validate-skills.js
CHANGED
|
@@ -314,7 +314,12 @@ function validateSkill(skillDir) {
|
|
|
314
314
|
const description = skillFm && skillFm.description;
|
|
315
315
|
|
|
316
316
|
// --- SKILL-04: name format ---
|
|
317
|
-
|
|
317
|
+
// Skills vendored under `src/skills-lib/` are third-party/global skills that
|
|
318
|
+
// keep their upstream names (no `wizz-` prefix) BY DESIGN — same policy as the
|
|
319
|
+
// credited BMAD engine internals. Exempt them from the wizz-owned naming rule.
|
|
320
|
+
// SKILL-05 (name must match the directory basename) still applies to them.
|
|
321
|
+
const isVendoredGlobal = skillDir.split(path.sep).includes('skills-lib');
|
|
322
|
+
if (name && !isVendoredGlobal && !NAME_REGEX.test(name)) {
|
|
318
323
|
findings.push({
|
|
319
324
|
rule: 'SKILL-04',
|
|
320
325
|
title: 'name Format',
|