SkillHub

new

Scaffold a new skill directory with a spec-valid SKILL.md.

skillhub new scaffolds a new skill directory with a spec-valid SKILL.md. The name is validated against the skill-spec regex before anything touches the filesystem, so you never end up with a half-written directory.

Synopsis

skillhub new <name> [--type <type>] [--description <text>]

Flags

FlagDescription
--type <type>Skill type: project, general, or meta
--description <text>One-line skill description

Examples

skillhub new my-skill --type general --description "A frontend design helper"
skillhub new tokens-workflow

JSON output

With --json, the data object contains:

  • name, dir.
  • files[] — the created files.
  • type (project | general | meta | null).
  • description.

On this page