BMAD-METHOD/tools/cli/installers/lib/core
Alex Verkhovsky 140ae57f2a
feat(manifest): unified skill scanner decoupled from legacy collectors (#1859)
* feat(manifest): unified skill scanner decoupled from legacy collectors

Add collectSkills() that recursively walks module trees to discover
type:skill directories anywhere, replacing the band-aid detection
inside collectWorkflows(). Legacy collectors now skip claimed dirs.
scanInstalledModules recognizes skill-only modules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(manifest): address PR review findings from triage

- Add missing skillClaimedDirs guard to getAgentsFromDir (F1)
- Add skills to this.files[] in collectSkills (F2)
- Add test for type:skill inside workflows/ dir (F5)
- Warn on malformed workflow.md parse in skill dirs (F6)
- Add skills count to generateManifests return value (F9)
- Remove redundant \r? from regex after line normalization (F10)
- Normalize path.relative to forward slashes for cross-platform (F12)
- Enforce directory name as skill canonicalId, warn if manifest overrides (F13)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 09:02:06 -06:00
..
config-collector.js fix: improve module config UX messaging and spacing (#1656) 2026-02-15 15:39:53 -06:00
custom-module-cache.js fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00
dependency-resolver.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00
detector.js v4 detection cleanup 2025-12-27 20:31:12 +08:00
ide-config-manager.js fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00
installer.js feat(skills): migrate all remaining platforms to native skills format (#1841) 2026-03-07 12:30:49 -07:00
manifest-generator.js feat(manifest): unified skill scanner decoupled from legacy collectors (#1859) 2026-03-08 09:02:06 -06:00
manifest.js fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00