Refactor a Single-File Skill into Modules prompt

Coding86.8K

把单文件 Skill 重构为清晰的模块化目录

Refactor a single-file Skill into a clear modular directory.

Full prompt
我想重构自己的 Claude Code skill 文件。目前,我的 skill 是一个单独的 .md 文件,我想按照 Anthropic 的最佳实践,把它拆分成一个目录系统。读取我当前的 skill 文件,然后把它重构成一个目录,其中包括:一个作为编排器的 skill.md;一个 instructions/ 目录,其中为每个关注点(语气、结构、范围)分别建立文件;一个 examples/ 目录,其中包含正面和反面示例;一个 eval/ 目录,其中包含质量检查清单;以及一个用于输出格式的 templates/ 目录。保留我现有的所有规则和意图——只把它们重新组织成模块化结构。

How to use this prompt

  1. 1Copy the full prompt below
  2. 2Replace the [____] placeholders with your specifics
  3. 3Paste into DeepSeek / Claude / ChatGPT to run

Related Coding prompts