Loading...
Loading...
Compare original and translation side by side
Rule: Scripts should accept output path parameters, letting callers specify output locations. Skill directories only store code.For detailed guidelines:skills_read(path="skills/skill-creator/docs/script-guidelines.md")
规则:脚本应接受输出路径参数,允许调用者指定输出位置。Skill目录仅存储代码。详细指南请查看:skills_read(path="skills/skill-creator/docs/script-guidelines.md")
skill-name/
├── SKILL.md # Entry guide (required)
├── scripts/ # Executable scripts
│ ├── main.py
│ └── pyproject.toml (dependency config)
├── data/ # Templates and data files
└── docs/ # Detailed documentation (optional)skill-name/
├── SKILL.md # 入门指南(必填)
├── scripts/ # 可执行脚本
│ ├── main.py
│ └── pyproject.toml (依赖配置)
├── data/ # 模板和数据文件
└── docs/ # 详细文档(可选)skills_read(path="skills/skill-creator/docs/quick-start.md")skills_read(path="skills/skill-creator/docs/quick-start.md")skills_read(path="skills/skill-creator/docs/skillmd-template.md")skills_read(path="skills/skill-creator/docs/skillmd-template.md")skills_read(path="skills/skill-creator/docs/script-guidelines.md")skills_read(path="skills/skill-creator/docs/script-guidelines.md")skills_read(path="skills/skill-creator/docs/iteration-and-cleanup.md")skills_read(path="skills/skill-creator/docs/iteration-and-cleanup.md")skills_read(path="skills/skill-creator/docs/full-example.md")skills_read(path="skills/skill-creator/docs/full-example.md")| Tool | Purpose | Example |
|---|---|---|
| List all skills | View available skills |
| List files in skill | Check file structure |
| Read skill documentation | Learn skill usage |
| Create skill skeleton | Create new skill |
| Add/overwrite file | Add script |
| Execute skill command | Test script |
| Execute shell command | Delete/rename file |
| 工具 | 用途 | 示例 |
|---|---|---|
| 列出所有Skill | 查看可用Skill |
| 列出Skill中的文件 | 检查文件结构 |
| 阅读Skill文档 | 学习Skill用法 |
| 创建Skill骨架 | 创建新Skill |
| 添加/覆盖文件 | 添加脚本 |
| 执行Skill命令 | 测试脚本 |
| 执行shell命令 | 删除/重命名文件 |
undefinedundefinedskills_run(name=\"hello-world\", command=\"python scripts/hello.py\")skills_run(name=\"hello-world\", command=\"python scripts/hello.py\")
Need more detailed guidance? Read [Quick Start Guide](docs/quick-start.md).
需要更详细的指引?阅读[快速入门指南](docs/quick-start.md)。