skill-prompt-convert
Installation
SKILL.md
Skill 与 Prompt 互转
使用时机
- 用户需要将 Skill 转为可直接复制到聊天框的 Prompt
- 用户需要将 Prompt 转为 SKILL.md 格式的 Skill
- 用户提到 Skill 与 Prompt 互转、格式转换
Step 1:获取输入并确认方向
从用户消息或粘贴/附件中获取待转换内容,判断方向:
- A. Skill → Prompt:输入为 SKILL.md 内容,输出聊天框可用的 Prompt
- B. Prompt → Skill:输入为 Prompt 内容(含 ``` 代码块),输出 SKILL.md 格式
Step 2:执行转换
Skill → Prompt 时:将 name、description 融入 # Role 和 # Task;将「使用时机」转化为适用场景;将 Step 1/2... 转化为 # Workflow 或 # Constraints;补充 # Output Format 和 # Input 占位符;输出用 ``` 包裹。