skillpm publish
Package and publish a skill to the Skilldex registry.
Usage
skillpm publishRun from the skill's root directory. The directory must contain a valid SKILL.md and pass skillpm validate.
Flags
| Flag | Description |
|---|---|
| --dry-run | Package the skill and validate without publishing |
| --tag <tag> | Publish with a dist-tag (default: latest) |
Examples
# Publish the skill in the current directory
skillpm publish
# Preview what would be published
skillpm publish --dry-run
# Publish as a beta release
skillpm publish --tag betaPre-publish checklist
Before publishing, make sure:
skillpm validatepasses with no errors- Version in
SKILL.mdfrontmatter is bumped SKILL.mdhas a meaningful description- Any referenced resources are included
What happens on publish
- The skill directory is validated
- The format conformance score is calculated
- The skill is packaged into a
.skillarchive - The archive is uploaded to the registry
- The registry metadata is updated
See Publishing to the registry for a full walkthrough.