用途:把写作风格目录中的 Voice and Tone、Style、Format 三个轴的条目组合成一条精确的写作指令,供粘贴到任意 LLM 提示词中使用。
主要能力:校验所填条目 ID 是否存在于分类目录;读取每个匹配条目的 llm_instruction_phrasing;拼装出同时指定 voice、tone、style、format 的组合指令并返回。
使用方式:斜杠命令为 /writing-style-catalog:compose-instruction [voice=<id>] [tone=<id>] [style=<id>] [format=<id>] [topic=<text>] [audience=<text>],所有参数可选,省略时由技能选择合理默认值。也可直接运行脚本,脚本使用 --flag value 形式,例如:python scripts/build-instruction.py --voice pragmatic-architect --tone candid --format adr。不带参数运行可查看按轴分组的全部可用条目。
参数:voice 为声音条目 ID(如 pragmatic-architect、pastoral、columnist);tone 为语气条目 ID(如 candid、warm、matter-of-fact);style 为风格条目 ID(如 problem-solution、devotional-reflection);format 为格式条目 ID(如 adr、blog-post-long-form、slack-message);topic 为写作主题(可选);audience 为目标读者(可选,默认 general)。
实现:组合逻辑由技能目录中的 scripts/build-instruction.py 实现,脚本从插件根目录的 taxonomy/ 读取目录,该目录随插件一起分发。
适用场景:需要为特定 voice、tone、style、format 组合生成精确写作指令时使用。
限制:资料未提供收费、价格、平台支持范围及效果保证等信息。