mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
The index and the draft builder read a skill's tags with different readers, so the same SKILL.md could publish different tags depending on the path: - The index accepted only the comma form (tags: git, workflow). A YAML list became "[git" and "review]", and a block list produced nothing. - Drafts accepted only a YAML list, so the documented comma form produced no tags, and metadata.tags replaced the root field. After #901 the index ignores metadata, which made the two disagree there as well. Both now call readSkillTags. It reads the root field only, in either form: a list comes from the decoded frontmatter, and the comma form from the existing line scan. The scan also unwraps a one-line list, so a skill whose frontmatter YAML rejects on another line (for example an unquoted colon in the description) no longer publishes bracketed fragments. Tags under metadata are custom data and are not read by either path. The skill format page says so in all five locales.