BMAD-METHOD/src/core-skills
Alex Verkhovsky 513f440a23
refactor(installer): restructure installer with clean separation of concerns (#2129)
* refactor(installer): restructure installer with clean separation of concerns

Move tools/cli/ to tools/installer/ with major structural cleanup:

- InstallPaths async factory for path resolution and directory creation
- Config value object (frozen) replaces mutable config bag
- ExistingInstall value object replaces stateful Detector class
- OfficialModules + CustomModules + ExternalModuleManager replace monolithic ModuleManager
- install() is prompt-free; all user interaction in ui.js
- Update state returned explicitly instead of mutating customConfig
- Delete dead code: dependency-resolver, _base-ide, IdeConfigManager,
  platform-codes helpers, npx wrapper, xml-utils
- Flatten directory structure: custom/handler → custom-handler,
  tools/cli/ → tools/installer/, lib/ directories removed
- Update all path references in package.json, tests, CI, and docs

* fix(installer): guard ExistingInstall.version and surface module.yaml errors

Guard ExistingInstall.version access with .installed check in
uninstall.js, ui.js, and installer.js to prevent throwing on
empty/partial _bmad dirs. Surface invalid module.yaml parse errors
as warnings instead of silently returning empty results.
2026-03-27 06:50:07 -06:00
..
bmad-advanced-elicitation refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-brainstorming refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-distillator refactor(installer): restructure installer with clean separation of concerns (#2129) 2026-03-27 06:50:07 -06:00
bmad-editorial-review-prose refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-editorial-review-structure refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-help refactor: modernize module-help CSV format and rewrite bmad-help as outcome-based skill (#2120) 2026-03-24 23:46:48 -05:00
bmad-index-docs refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-init fix: correctly resolve output_folder paths outside project root (#2132) 2026-03-26 21:46:14 -05:00
bmad-party-mode refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-review-adversarial-general refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-review-edge-case-hunter refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
bmad-shard-doc refactor(installer): discover skills by SKILL.md instead of manifest YAML (#2082) 2026-03-21 00:11:23 -06:00
module-help.csv refactor: modernize module-help CSV format and rewrite bmad-help as outcome-based skill (#2120) 2026-03-24 23:46:48 -05:00
module.yaml refactor: consolidate agents into phase-based skill directories (#2050) 2026-03-18 01:01:33 -05:00