跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
图像与绘图

chapter-illustration

Generate one spoiler-free illustration for the current or specified chapter and save it under workspace assets/writing.

alfredxw · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add alfredxw/denova --skill chapter-illustration

技能说明


name: chapter-illustration description: Generate one spoiler-free illustration for the current or specified chapter and save it under workspace assets/writing. category: image agent: ide

Chapter Illustration

Use this Skill when the author requests an illustration for a chapter or the editor sends /chapter-illustration.

Workflow

  1. Determine the target chapter path:
    • Use the chapter path explicitly provided by the user.
    • Otherwise, use the chapter currently focused in the IDE context.
    • If no chapter is focused, identify the most recent chapter from the workspace summary or chapters/ directory.
  2. Read the target chapter before composing the image prompt. If the selected path is not a chapter, ask the user to select one.
  3. Choose a visually compelling, spoiler-free moment from the chapter. Do not reveal future reversals, hidden identities, or undisclosed canon.
  4. Write a clear Chinese image prompt containing the subject, scene, composition, lighting, style, and mood, with explicit negative constraints against text, watermarks, and logos.
  5. Call the general generate_image tool with:
    • purpose: chapter_illustration.
    • target_path: the target chapter's relative path.
    • prompt: the complete Chinese image prompt.
    • alt_text: a Chinese description suitable for a Markdown image.
    • size: optionally choose a supported 2K, 3K, or 4K size based on the composition; otherwise omit it and use the default policy.
    • output_format: png or jpeg; omit it when uncertain.
  6. After the tool returns, briefly report what was generated and tell the user to use the illustration card's insertion action. Do not repeat the Markdown image reference in a fenced code block. Do not edit the chapter prose automatically.

Constraints

  • Generate exactly one chapter illustration per request.
  • Do not generate batches of candidates.
  • Do not use file-write tools to insert Markdown image syntax into the chapter.
  • If the user asks to insert the result, prefer the UI insertion action.