After creating a new skill to register it automatically
向项目注册表中添加新技能时
按名称或描述搜索技能时
创建新技能后需要自动注册时
Critical Patterns
核心模式
Maintain a JSON file with skill names and descriptions
Use commands to add new skills to the registry
Search functionality to find skills based on queries
维护一个包含技能名称和描述的JSON文件
使用命令向注册表中添加新技能
基于查询内容查找技能的搜索功能
Integration with skill-creator
与skill-creator的集成
This skill is designed to work in conjunction with
skill-creator
. After using
skill-creator
to create a new skill, use this skill to automatically add the new skill to the JSON registry. This ensures that all skills are tracked and searchable.
Example workflow:
Use
skill-creator
to create a new skill folder and SKILL.md.
Extract the name and description from the new SKILL.md.
Use the add command to update
assets/registry.json
.
该技能旨在与
skill-creator
配合使用。使用
skill-creator
创建新技能后,可借助本技能将新技能自动添加至JSON注册表,确保所有技能都可被追踪和搜索。
示例工作流:
使用
skill-creator
创建新技能文件夹及SKILL.md。
从新的SKILL.md中提取名称和描述。
使用添加命令更新
assets/registry.json
。
Code Examples
代码示例
No code examples needed, as this is a management skill.
无需代码示例,因为这是一项管理类技能。
Commands
命令
bash
undefined
bash
undefined
Add a new skill to the registry
Add a new skill to the registry
jq '.skills += [{"name": "new-skill", "description": "Description of new skill"}]' assets/registry.json > temp.json && mv temp.json assets/registry.json
jq '.skills += [{"name": "new-skill", "description": "Description of new skill"}]' assets/registry.json > temp.json && mv temp.json assets/registry.json