为写好的 Markdown 文章设计配图提示词并生成图片。自动解析文章中的配图占位符,设计封面图和正文配图的生成提示词,调用 baoyu-image-gen 生成图片,将图片存放到文章对应目录,并将图片路径回写到文章中。触发场景:用户完成文章写作后需要配图、为已有 Markdown 文章生成插图、帮我配图、生成文章图片。
$npx -y skills add ldj-creat/media-skills --skill article-illustratorInstalls into the current project.
Run `npx skills use "https://github.com/ldj-creat/media-skills" --skill "ldj-creat/media-skills/article-illustrator"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ldj-creat/media-skills" that are relevant to the current task. Run `npx skills add "https://github.com/ldj-creat/media-skills"` and select the relevant skills, then follow their instructions.