skill-create
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInstructions
使用说明
Use this skill to create new Agent Skills from templates. It generates a properly structured skill directory with a valid SKILL.md file and optional scripts/assets folders.
使用此技能从模板创建新的Agent Skills。它会生成结构规范的技能目录,包含有效的SKILL.md文件及可选的脚本/资源文件夹。
When to Use
适用场景
- Starting a new skill from scratch
- Ensuring proper skill structure and naming
- Quickly prototyping new skill ideas
- Teaching others how to structure skills
- 从零开始创建新技能
- 确保技能具备规范的结构与命名
- 快速制作新技能的原型
- 教授他人如何构建技能结构
How to Use
使用方法
Create a new skill with a name:
Create a new skill called "pdf-tools"Create a skill with a specific template:
Create a new skill called "data-analyzer" using the with-scripts templateAvailable templates:
- basic - Just SKILL.md (default)
- with-scripts - SKILL.md + scripts directory
- with-assets - SKILL.md + scripts + assets directories
创建指定名称的新技能:
Create a new skill called "pdf-tools"使用特定模板创建技能:
Create a new skill called "data-analyzer" using the with-scripts template可用模板:
- basic - 仅包含SKILL.md(默认模板)
- with-scripts - SKILL.md + 脚本目录
- with-assets - SKILL.md + 脚本目录 + 资源目录
Output
输出结果
Creates a complete skill directory:
Basic template:
pdf-tools/
├── SKILL.md
└── README.mdWith-scripts template:
pdf-tools/
├── SKILL.md
├── README.md
└── scripts/
└── main.pyWith-assets template:
pdf-tools/
├── SKILL.md
├── README.md
├── scripts/
│ └── main.py
└── assets/
└── .gitkeep创建完整的技能目录:
Basic模板:
pdf-tools/
├── SKILL.md
└── README.mdWith-scripts模板:
pdf-tools/
├── SKILL.md
├── README.md
└── scripts/
└── main.pyWith-assets模板:
pdf-tools/
├── SKILL.md
├── README.md
├── scripts/
│ └── main.py
└── assets/
└── .gitkeepExamples
示例
Basic skill:
User: Create a new skill called "code-formatter"
Agent: Creating skill "code-formatter" with basic template...
Created:
✓ code-formatter/SKILL.md
✓ code-formatter/README.md
Next steps:
1. Edit SKILL.md with your skill's instructions
2. Add any supporting files
3. Run skill-validator to check complianceInteractive mode:
User: Create a new skill
Agent: I'll help you create a new skill.
Skill name: code-formatter
Description: Format code in various languages
Template: with-scripts
License: MIT
Creating...
✓ Created code-formatter with with-scripts templateWith metadata:
User: Create a new skill called "api-tester" with description "Test REST APIs" and author "acme-corp"
Agent: Creating skill "api-tester"...
✓ Created with custom metadata:
- Description: Test REST APIs
- Author: acme-corp
- License: MIT (default)基础技能创建:
User: Create a new skill called "code-formatter"
Agent: Creating skill "code-formatter" with basic template...
Created:
✓ code-formatter/SKILL.md
✓ code-formatter/README.md
Next steps:
1. Edit SKILL.md with your skill's instructions
2. Add any supporting files
3. Run skill-validator to check compliance交互式模式:
User: Create a new skill
Agent: I'll help you create a new skill.
Skill name: code-formatter
Description: Format code in various languages
Template: with-scripts
License: MIT
Creating...
✓ Created code-formatter with with-scripts template带元数据的创建:
User: Create a new skill called "api-tester" with description "Test REST APIs" and author "acme-corp"
Agent: Creating skill "api-tester"...
✓ Created with custom metadata:
- Description: Test REST APIs
- Author: acme-corp
- License: MIT (default)Limitations
限制条件
- Skill names must be lowercase with hyphens only (1-64 chars)
- Names must start with a letter
- Will not overwrite existing directories
- Templates are minimal - intended as starting points
- 技能名称必须仅包含小写字母和连字符(长度1-64字符)
- 名称必须以字母开头
- 不会覆盖已存在的目录
- 模板仅作基础框架,旨在作为开发起点
Dependencies
依赖项
- Python 3.9+
- No external dependencies (uses Python stdlib)
- Python 3.9+
- 无外部依赖(仅使用Python标准库)