# Chapter Illustration

> 为当前或指定章节生成一张非剧透插画，并保存到 workspace assets/illustrations。

- **Type:** Skill
- **Install:** `agentstack add skill-alfredxw-nova-chapter-illustration`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [alfredxw](https://agentstack.voostack.com/s/alfredxw)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [alfredxw](https://github.com/alfredxw)
- **Source:** https://github.com/alfredxw/denova/tree/master/skills/chapter-illustration

## Install

```sh
agentstack add skill-alfredxw-nova-chapter-illustration
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 章节插画

当作者要求为章节生成插画，或编辑器发送 `/` 请求时，使用这个 Skill。

## 工作流程

1. 确定目标章节路径：
   - 如果用户明确给出章节路径，使用该路径。
   - 否则使用 IDE 上下文里当前打开的章节。
   - 如果没有当前章节，从 workspace 摘要或 chapters 目录中识别最近章节。
2. 生成图片提示词前，先读取目标章节内容。如果选中的路径不是章节，请让用户重新选择。
3. 从章节中选择一个有画面感、非剧透的瞬间。不要暴露未来剧情反转、隐藏身份或未公开设定。
4. 用中文写清晰的图片提示词，包含主体、场景、构图、光线、风格、情绪，并明确负向约束：不要文字、不要水印、不要 logo。
5. 调用通用图片工具 `generate_image`，参数要求：
   - `purpose` 填 `chapter_illustration`。
   - `target_path` 填目标章节相对路径。
   - `prompt` 填完整中文图片提示词。
   - `alt_text` 填适合 Markdown 图片的中文描述。
   - `size` 可按画面需要从工具支持的 2K/3K/4K 尺寸中选择；不确定时留空，由生成工具按默认策略处理。
   - `output_format` 只能填 `png` 或 `jpeg`；不确定时留空。
6. 工具返回后，简要说明生成了什么，并告诉用户可以手动插入章节。不要自动编辑章节正文。

## 约束

- 每次请求只生成一张章节插画。
- 不要批量生成多张插画。
- 不要调用文件写入工具把 Markdown 图片语法插入章节。
- 如果用户要求插入结果，优先让 UI 的插入按钮处理。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [alfredxw](https://github.com/alfredxw)
- **Source:** [alfredxw/denova](https://github.com/alfredxw/denova)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-alfredxw-nova-chapter-illustration
- Seller: https://agentstack.voostack.com/s/alfredxw
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
