From ebb93364525148487dc4289f26b66beec96b24d4 Mon Sep 17 00:00:00 2001 From: daymade Date: Fri, 24 Oct 2025 18:38:36 +0800 Subject: [PATCH] Fix skill-creator usage instructions: Use natural conversation, not script paths The previous instructions showed incorrect direct script paths like: skill-creator/scripts/init_skill.py --path These paths don't work after marketplace installation because: 1. Users install via: /plugin marketplace install daymade/claude-code-skills#skill-creator 2. Skills are installed to ~/.claude/skills/, not the user's current directory 3. skill-creator is a SKILL that guides Claude Code, not a standalone CLI tool Correct usage: After installing skill-creator, users simply ask Claude Code in natural language: "Create a new skill called my-awesome-skill in ~/my-skills" "Validate my skill at ~/my-skills/my-awesome-skill" "Package my skill at ~/my-skills/my-awesome-skill" Claude Code, with skill-creator loaded, knows how to execute the bundled scripts and guide users through the entire skill creation process. Fixed in: - README.md (English) - README.zh-CN.md (Chinese) - scripts/install.sh (bash) - scripts/install.ps1 (PowerShell) --- README.md | 17 +++++++++-------- README.zh-CN.md | 17 +++++++++-------- scripts/install.ps1 | 10 ++++++---- scripts/install.sh | 10 ++++++---- 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index da1f7a0..23490c2 100644 --- a/README.md +++ b/README.md @@ -55,16 +55,17 @@ The `skill-creator` is the **meta-skill** that enables you to build, validate, a ### What You Can Do -```bash -# Initialize a new skill from template -skill-creator/scripts/init_skill.py my-awesome-skill --path ~/my-skills +After installing skill-creator, simply ask Claude Code: -# Validate your skill structure and quality -skill-creator/scripts/quick_validate.py ~/my-skills/my-awesome-skill - -# Package your skill for distribution -skill-creator/scripts/package_skill.py ~/my-skills/my-awesome-skill ``` +"Create a new skill called my-awesome-skill in ~/my-skills" + +"Validate my skill at ~/my-skills/my-awesome-skill" + +"Package my skill at ~/my-skills/my-awesome-skill for distribution" +``` + +Claude Code, with skill-creator loaded, will guide you through the entire skill creation process - from understanding your requirements to packaging the final skill. 📚 **Full documentation**: [skill-creator/SKILL.md](./skill-creator/SKILL.md) diff --git a/README.zh-CN.md b/README.zh-CN.md index a418ad8..1f73ffd 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -55,16 +55,17 @@ ### 你可以做什么 -```bash -# 从模板初始化一个新技能 -skill-creator/scripts/init_skill.py my-awesome-skill --path ~/my-skills +安装 skill-creator 后,只需向 Claude Code 提问: -# 验证你的技能结构和质量 -skill-creator/scripts/quick_validate.py ~/my-skills/my-awesome-skill - -# 打包你的技能用于分发 -skill-creator/scripts/package_skill.py ~/my-skills/my-awesome-skill ``` +"在 ~/my-skills 中创建一个名为 my-awesome-skill 的新技能" + +"验证 ~/my-skills/my-awesome-skill 中的技能" + +"打包 ~/my-skills/my-awesome-skill 技能以便分发" +``` + +加载了 skill-creator 的 Claude Code 将引导你完成整个技能创建过程——从理解你的需求到打包最终技能。 📚 **完整文档**:[skill-creator/SKILL.md](./skill-creator/SKILL.md) diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 71ee6b6..ad6ee44 100755 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -76,10 +76,12 @@ switch ($choice) { $commands += "/plugin marketplace install daymade/claude-code-skills#skill-creator" $afterInstall = @" -After installation: -- Initialize a skill: skill-creator/scripts/init_skill.py --path -- Validate a skill: skill-creator/scripts/quick_validate.py /path/to/skill -- Package a skill: skill-creator/scripts/package_skill.py /path/to/skill +After installation, ask Claude Code: + "Create a new skill called my-awesome-skill in ~/my-skills" + "Validate my skill at ~/my-skills/my-awesome-skill" + "Package my skill at ~/my-skills/my-awesome-skill" + +Claude Code will guide you through the skill creation process! "@ } "2" { diff --git a/scripts/install.sh b/scripts/install.sh index 2582efe..1c1fd40 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -67,10 +67,12 @@ case $choice in 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 "" - echo -e "${GREEN}After installation:${NC}" - echo "- Initialize a skill: skill-creator/scripts/init_skill.py --path " - echo "- Validate a skill: skill-creator/scripts/quick_validate.py /path/to/skill" - echo "- Package a skill: skill-creator/scripts/package_skill.py /path/to/skill" + echo -e "${GREEN}After installation, ask Claude Code:${NC}" + echo " \"Create a new skill called my-awesome-skill in ~/my-skills\"" + echo " \"Validate my skill at ~/my-skills/my-awesome-skill\"" + echo " \"Package my skill at ~/my-skills/my-awesome-skill\"" + echo "" + echo "Claude Code will guide you through the skill creation process!" ;; 2) echo ""