#12
Fix shell parsing error in npx skills add command
Problem
The npx skills add vercel-labs/before-and-after#main command shown in documentation and on the landing page fails when users try to run it directly in their terminal. The # character is interpreted by the shell as a comment delimiter, causing a "no matches found" error.
Example error:
zsh: no matches found: vercel-labs/before-and-after#mainRoot Cause
The command string lacks proper quoting around the argument containing the # character. Shell interpreters (zsh, bash, etc.) treat # as the start of a comment unless the argument is quoted.
Solution
Add quotes around the repository argument in all instances:
npx skills add "vercel-labs/before-and-after#main"Locations to Fix
- site/app/page.tsx - Line 51 in the
<Code>component - README.md - Line 12 in the installation instructions section
Additional Context
This is a common issue when displaying npm/npx commands with hash fragments in documentation.
Activity
0No activity yet.