ParseSkillName decoded the name line alone, so "name: *anchor" lost the anchor defined earlier and came back as the literal alias, which naming validation rejected. Decode the whole frontmatter block for an alias.