fix: Update plugin installation commands to use correct CLI syntax

Changed all installation instructions from the deprecated TUI-style
commands to the correct CLI syntax:

- Old: `/plugin marketplace install daymade/claude-code-skills#skill-name`
- New: `claude plugin install skill-name@daymade/claude-code-skills`

- Old: `/plugin marketplace add daymade/claude-code-skills`
- New: `claude plugin marketplace add daymade/claude-code-skills`

Files updated:
- README.md and README.zh-CN.md
- QUICKSTART.md and QUICKSTART.zh-CN.md
- CLAUDE.md
- scripts/install.sh
- scripts/install.ps1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
daymade
2025-10-26 12:54:46 +08:00
parent acd4bb2dfc
commit 2d9dde15f7
7 changed files with 201 additions and 52 deletions

View File

@@ -66,14 +66,14 @@ if ($isInteractive) {
}
$commands = @()
$commands += "/plugin marketplace add daymade/claude-code-skills"
$commands += "claude plugin marketplace add daymade/claude-code-skills"
switch ($choice) {
"1" {
Write-Host ""
Write-Cyan "Installing skill-creator..."
Write-Host ""
$commands += "/plugin marketplace install daymade/claude-code-skills#skill-creator"
$commands += "claude plugin install skill-creator@daymade/claude-code-skills"
$afterInstall = @"
After installation, ask Claude Code:
@@ -91,7 +91,7 @@ Claude Code will guide you through the skill creation process!
$skills = @("skill-creator", "github-ops", "markdown-tools", "mermaid-tools",
"statusline-generator", "teams-channel-post-writer", "repomix-unmixer", "llm-icon-finder")
foreach ($skill in $skills) {
$commands += "/plugin marketplace install daymade/claude-code-skills#$skill"
$commands += "claude plugin install $skill@daymade/claude-code-skills"
}
}
"3" {
@@ -127,7 +127,7 @@ Claude Code will guide you through the skill creation process!
foreach ($num in $selections) {
if ($skillMap.ContainsKey($num)) {
$commands += "/plugin marketplace install daymade/claude-code-skills#$($skillMap[$num])"
$commands += "claude plugin install $($skillMap[$num])@daymade/claude-code-skills"
}
}
}

View File

@@ -64,8 +64,8 @@ case $choice in
echo ""
echo "Run these commands in Claude Code:"
echo ""
echo -e "${YELLOW}/plugin marketplace add daymade/claude-code-skills${NC}"
echo -e "${YELLOW}/plugin marketplace install daymade/claude-code-skills#skill-creator${NC}"
echo -e "${YELLOW}claude plugin marketplace add daymade/claude-code-skills${NC}"
echo -e "${YELLOW}claude plugin install skill-creator@daymade/claude-code-skills${NC}"
echo ""
echo -e "${GREEN}After installation, ask Claude Code:${NC}"
echo " \"Create a new skill called my-awesome-skill in ~/my-skills\""
@@ -80,10 +80,10 @@ case $choice in
echo ""
echo "Run these commands in Claude Code:"
echo ""
echo -e "${YELLOW}/plugin marketplace add daymade/claude-code-skills${NC}"
echo -e "${YELLOW}claude plugin marketplace add daymade/claude-code-skills${NC}"
echo ""
for skill in skill-creator github-ops markdown-tools mermaid-tools statusline-generator teams-channel-post-writer repomix-unmixer llm-icon-finder; do
echo -e "${YELLOW}/plugin marketplace install daymade/claude-code-skills#${skill}${NC}"
echo -e "${YELLOW}claude plugin install ${skill}@daymade/claude-code-skills${NC}"
done
;;
3)
@@ -109,13 +109,13 @@ case $choice in
echo ""
echo "Run these commands in Claude Code:"
echo ""
echo -e "${YELLOW}/plugin marketplace add daymade/claude-code-skills${NC}"
echo -e "${YELLOW}claude plugin marketplace add daymade/claude-code-skills${NC}"
echo ""
SKILLS=(skill-creator github-ops markdown-tools mermaid-tools statusline-generator teams-channel-post-writer repomix-unmixer llm-icon-finder)
for num in $selections; do
idx=$((num-1))
if [ $idx -ge 0 ] && [ $idx -lt 8 ]; then
echo -e "${YELLOW}/plugin marketplace install daymade/claude-code-skills#${SKILLS[$idx]}${NC}"
echo -e "${YELLOW}claude plugin install ${SKILLS[$idx]}@daymade/claude-code-skills${NC}"
fi
done
;;