Skill
anima-prompt-naturalang
把中文场景描述转成 Anima/Anima Base 的英文自然语言 prompt:7 槽位、11 条 P 规则、负面三层、互斥自检;正负面分开输出直接复制,不输出 Params
- Source
- Nana7mi0721
- stars
- 3 stars
- Updated
- Updated 1 hour ago
Readme
# anima-prompt-naturalang
Anima / Anima Base 文生图提示词 skill(自然语言版):把中文场景描述转成英文自然语言 prompt(区别于标签格式的 [anima-prompt-caption](https://github.com/Nana7mi0721/anima-prompt-caption))。7 槽位结构、11 条 P 规则、负面三层结构、互斥自检;正面与负面分开输出、各自可直接复制,不输出 Params。
模板来源:千问《Anima 提示词工程(生产级 v1.0)》。
## 结构
```
anima-prompt-naturalang/
├── SKILL.md # 主指令:7 槽位 / P、N、L、Q 规则系 / 自检清单 / 输出协议
└── assets/ # 低频参考内容,按需读取
├── templates.md # §六 场景模板库 T1~T7
├── debug.md # §八 调试决策表(9 症状 × 排查 × 处理)
├── lexicon.md # §十 词库与禁词
└── reference.md # 模型认知 / 格式决策树 / 生产 SOP / 完整示例 / 差异对照
```
SKILL.md 中对资产的引用全部使用相对路径(`assets/<file>`),不依赖任何安装位置,复制到哪都能用。
## 安装
适用于任何采用「skills 目录 + SKILL.md」约定的 agent(DeepSeek Harness、Claude Code 及同类)。把整个 `anima-prompt-naturalang/` 目录复制进你所用 agent 的用户技能目录即可:
- **DeepSeek Harness (dsh)**:`~/.dsh/skills/`
- 其他 agent:各自的 skills 目录(如 `~/.claude/skills/`、`~/.zcode/skills/` 等)
```sh
# dsh 示例
git clone https://github.com/Nana7mi0721/anima-prompt-naturalang.git ~/.dsh/skills/anima-prompt-naturalang
```
安装后新开会话生效:技能目录按会话加载,向 agent 描述中文画面需求时自动匹配本 skill。
## 使用
在对话里直接给出中文画面需求。agent 按流程输出两个独立代码块——英文自然语言正向(1~3 句,槽位顺序组装)与负面(5~12 项,三层结构),各自可直接复制进 ComfyUI;参数按生产默认(CFG 4 / 30 步 / DPM++ 2M Karras / 1024 基准)执行,不随输出打印。
涉及 LoRA 时,skill 会核对触发词置顶与训练 caption 格式对齐;出图不理想时按 `assets/debug.md` 的症状表单变量修正。
Install
# Skills are files: copy them into $DSH_HOME/skills/anima-prompt-naturalang (defaults to ~/.dsh/skills/anima-prompt-naturalang)
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install nana7mi0721-anima-prompt-naturalang from the hub