Files
gstack/scripts
Garry Tan c623b32964 fix(gen-skill-docs): use function replacer so a $ in a description can't corrupt frontmatter (#1778)
String.prototype.replace treats $&/$1/$` in the replacement as patterns. A future
skill description containing $ (e.g. referencing $B/$D) would silently corrupt the
generated frontmatter. Use a function replacer. Behavior-preserving for all current
descriptions (regen produces no diff).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 12:35:54 -07:00
..