BMAD-METHOD/tools/cli/installers
Wendy Smoak 26dd80e021 Fix description regex to handle quotes in transformToSkillFormat
The regex that extracts descriptions from YAML frontmatter did not
properly parse quoted values. Descriptions containing apostrophes
(e.g. "can't") produced invalid YAML when re-wrapped in single quotes.

Replace the naive regex with proper handling of single-quoted,
double-quoted, and unquoted YAML values, and escape inner single
quotes using YAML '' syntax before re-wrapping.

Add tests for transformToSkillFormat covering plain, double-quoted,
and single-quoted descriptions with embedded apostrophes.
2026-02-14 19:31:04 -05:00
..
lib Fix description regex to handle quotes in transformToSkillFormat 2026-02-14 19:31:04 -05:00
install-messages.yaml fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00