BMAD-METHOD/tools/cli/installers/lib/ide
Alex Verkhovsky 1b3c3c5013
refactor(skills): add SKILL.md entrypoint to skill directories (#1868)
* refactor(skills): add SKILL.md entrypoint to skill directories

Align skill source format with Open Skills standard: each skill
directory now contains a SKILL.md with name/description frontmatter
where name must match the directory name exactly. The installer
copies skill directories verbatim instead of generating SKILL.md.

- Add SKILL.md to both tracer bullet skill directories
- Strip name/description from workflow.md frontmatter (SKILL.md owns it)
- Installer reads metadata from SKILL.md, validates name matches dirname
- Install path in manifest CSV now points to SKILL.md
- Copy filter excludes OS/editor artifacts (.DS_Store, backups, dotfiles)
- Debug-guard validation messages, keep name-mismatch as hard error
- Add typeof guard for malformed YAML frontmatter
- Add negative test cases for parseSkillMd validation (Suite 30)

* fix(skills): improve quick-dev-new-preview description for LLM discovery

Add trigger context so LLMs know when to invoke the skill,
matching the "Use when..." pattern used by other skills.

* fix(cli): validate frontmatter name/description are strings in parseSkillMd

Prevents cleanForCSV() crash when YAML parses name or description as
a non-string type (number, object, boolean).

* fix(cli): address PR review findings (mkdtemp, regex escape, recursive filter)

- Replace Date.now() temp dir with fs.mkdtemp() in Suite 30 tests (F5)
- Replace unescaped RegExp with startsWith/slice for path prefix stripping (F7)
- Apply artifact filter recursively via fs.copy filter option (F8)

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 02:08:29 -06:00
..
shared fix: harden quick-dev-new-preview and fix standalone agent dash names (#1867) 2026-03-09 02:06:35 -06:00
templates refactor: remove legacy YAML/XML workflow engine plumbing (#1864) 2026-03-08 18:02:57 -06:00
_base-ide.js refactor: remove legacy YAML/XML workflow engine plumbing (#1864) 2026-03-08 18:02:57 -06:00
_config-driven.js refactor(skills): add SKILL.md entrypoint to skill directories (#1868) 2026-03-09 02:08:29 -06:00
manager.js feat(skills): migrate all remaining platforms to native skills format (#1841) 2026-03-07 12:30:49 -07:00
platform-codes.js installer fix 2026-01-26 16:06:00 -06:00
platform-codes.yaml feat: add pi coding agent as supported platform (#1854) 2026-03-08 00:51:26 -06:00