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 时:将 namedescription 融入 # Role# Task;将「使用时机」转化为适用场景;将 Step 1/2... 转化为 # Workflow# Constraints;补充 # Output Format# Input 占位符;输出用 ``` 包裹。

Related skills

More from xstongxue/best-skills

Installs
52
GitHub Stars
1.4K
First Seen
Mar 6, 2026