fix: rewrite share.md as a command template with YAML frontmatter#44
Open
xiaolai wants to merge 1 commit intonicobailon:mainfrom
Open
fix: rewrite share.md as a command template with YAML frontmatter#44xiaolai wants to merge 1 commit intonicobailon:mainfrom
xiaolai wants to merge 1 commit intonicobailon:mainfrom
Conversation
share.md was formatted as README documentation (markdown headers, code fences, usage sections) rather than a command template. Without YAML frontmatter containing name and description fields, the command will not register correctly in Claude Code. Rewritten as a minimal prompt template matching the convention used by every other command in the plugin. Co-Authored-By: Claude Code <noreply@anthropic.com>
This was referenced Apr 26, 2026
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 wrong
commands/share.mdis formatted as README documentation — markdown headers (## Usage,## How It Works,## Requirements, etc.), code fences, and prose sections — rather than a command template. Every other command in the plugin uses a minimal YAML frontmatter block (name:+description:) followed by a prompt body. Becauseshare.mdhas no frontmatter at all, it lacks both thenameanddescriptionfields required for command registration, and Claude Code may not register it as a command.The fix
Rewrote
share.mdas a proper command template following the same convention as the other seven commands:name: shareanddescription: Share a visual explainer HTML page via Vercel and return a live URLas YAML frontmattershare.shand display the resultThe documentation content (script location, output format, requirements) is already described well in
SKILL.mdand in the script itself, so nothing of substance is lost.