Merged
Conversation
- Adds 'smithery skill upload' command to publish skills from local ZIP archives - Integrates with updated @smithery/api v0.56.0 which provides skills.upload() - Supports custom slug via --name flag or auto-detection from SKILL.md - Interactive namespace resolution using existing patterns - Uses fflate for ZIP creation (same library as backend)
- Extract pure utilities to publish-utils.ts for testability - Accept directories (zipped automatically) or pre-zipped .zip/.skill files - Add 13 tests covering parseSkillName, collectFiles, createArchiveFromDirectory
Detect when the positional arg is a URL and use skills.set() to publish a GitHub-backed skill instead of uploading a zip archive.
Contributor
Author
Merge activity
|
Merged
calclavia
pushed a commit
that referenced
this pull request
Mar 13, 2026
Automated Release PR --- ## [4.7.0](v4.6.0...v4.7.0) (2026-03-13) ### Features * **skill:** add publish command ([#696](#696)) ([2b8c592](2b8c592)) ### Refactors * remove automation commands feature ([#698](#698)) ([5413f9b](5413f9b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: smithery-chore-bot[bot] <259537197+smithery-chore-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's added in this PR?
Adds
smithery skill publishcommand that supports three ways to publish a skill:skills.upload()skills.set()Other details:
@smithery/apiSDK to v0.56.0 (addsskills.upload())fflatefor ZIP creation--namespaceflag > saved default (namespace use) > interactive promptpublish-utils.tswith 13 unit testsWhat's the issues or discussion related to this PR?
Implements CLI support for the skill upload feature added in smithery-ai/mono#1786, which allows publishing non-GitHub skills via ZIP archives. Also unifies GitHub URL publishing under the same command.