diff --git a/src/core/workflows/bmad-brainstorming/workflow.md b/src/core/workflows/bmad-brainstorming/workflow.md index e97e5f56f..e8b11e4e1 100644 --- a/src/core/workflows/bmad-brainstorming/workflow.md +++ b/src/core/workflows/bmad-brainstorming/workflow.md @@ -1,4 +1,6 @@ --- +name: bmad-brainstorming +description: 'Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods. Use when the user says help me brainstorm or help me ideate.' context_file: '' # Optional context file path for project-specific guidance --- diff --git a/tools/cli/installers/lib/ide/_base-ide.js b/tools/cli/installers/lib/ide/_base-ide.js index eb281dfb2..ce1b0ceae 100644 --- a/tools/cli/installers/lib/ide/_base-ide.js +++ b/tools/cli/installers/lib/ide/_base-ide.js @@ -1,6 +1,5 @@ const path = require('node:path'); const fs = require('fs-extra'); -const yaml = require('yaml'); const { XmlHandler } = require('../../../lib/xml-handler'); const prompts = require('../../../lib/prompts'); const { getSourcePath } = require('../../../lib/project-root'); @@ -340,10 +339,6 @@ class BaseIdeSetup { const entries = await fs.readdir(dir, { withFileTypes: true }); - if (await this.isSkillDirectory(dir)) { - return workflows; - } - for (const entry of entries) { const fullPath = path.join(dir, entry.name); @@ -381,37 +376,6 @@ class BaseIdeSetup { return workflows; } - /** - * Check whether a directory is claimed by a native skill. - * Skill directories should be surfaced via SKILL.md, not workflow.md metadata. - * @param {string} dir - Directory path - * @returns {boolean} - */ - async isSkillDirectory(dir) { - const manifestPath = path.join(dir, 'bmad-skill-manifest.yaml'); - const skillPath = path.join(dir, 'SKILL.md'); - - if (!(await fs.pathExists(manifestPath)) || !(await fs.pathExists(skillPath))) { - return false; - } - - try { - const manifest = yaml.parse(await fs.readFile(manifestPath, 'utf8')); - - if (!manifest || typeof manifest !== 'object') { - return false; - } - - if (manifest.__single) { - return manifest.__single.type === 'skill'; - } - - return Object.values(manifest).some((entry) => entry && typeof entry === 'object' && entry.type === 'skill'); - } catch { - return false; - } - } - /** * Scan a directory for files with specific extension(s) * @param {string} dir - Directory to scan