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 <skill-name> --path <output-dir> 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)
This commit is contained in:
17
README.md
17
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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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 <skill-name> --path <output-dir>
|
||||
- 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" {
|
||||
|
||||
@@ -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 <skill-name> --path <output-dir>"
|
||||
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 ""
|
||||
|
||||
Reference in New Issue
Block a user