Skip to content

Bug: skills new can infer undefined in titles from repeated separators #501

@ayskobtw-lil

Description

@ayskobtw-lil

sh1pt skills new can infer a malformed listing title when the source SKILL.md frontmatter name contains repeated separators.

Repro SKILL.md frontmatter:

---
name: alpha--beta
description: Handles alpha beta workflows.
---

Current behavior:

  • name is correctly slugified to alpha-beta
  • inferred title becomes Alpha undefined Beta

Expected behavior:

  • inferred title should be Alpha Beta
  • generated manifests and marketplace commands should not contain the literal word undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions