book-visuals
Book visual system: art bible and look lock, figure plan per chapter, code-rendered diagrams/charts/technical drawings, diffusion-generated illustrations and…
от epicsagas★ 42 звезды на GitHub
Установить book-visuals в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Book Visuals
Goal: every image in the book looks like it belongs to this book, sits where the text needs it, and is release-ready on the first export. Images that vary with the model, drift between chapters, or decorate instead of doing work are the visual equivalent of AI prose tells.
Read ${CLAUDE_PLUGIN_ROOT}/skills/loom/quality-bar.md (the visual section) and the genre skill's Visuals section.
Why images go wrong, and the fix
| Cause | Fix in this pipeline |
|---|---|
| No shared visual spec; each prompt invents a style | art-bible.md: one canonical look, palette, medium, composition rules, character and setting constants, negative rules. Every prompt is derived from it |
| Free-form prompts differ per backend | velith.mjs images compile: one structured image spec → per-backend prompt syntax (Midjourney, gpt-image, Stable Diffusion/FLUX, Imagen, Ideogram) with the art bible baked in |
| Diagrams and drawings rendered by diffusion models | Never. Diagrams, charts, technical drawings, maps' base layers are code-rendered (Mermaid, D2, Graphviz, SVG, matplotlib/Vega) by figure-engineer. Text-accurate, editable, print-safe |
| No rejection loop | art-director reads every generated image (vision), scores it against the art bible, rejects and regenerates with corrected prompts; reviews the full contact sheet for consistency |
| Images bolted on after drafting | Figure plan in the outline; chapter-writer places figure references with captions while drafting; fact-checker verifies figures match text |
| Assets fail at export | velith.mjs images check: dimensions, aspect, size, color mode notes, alt text, broken references, manifest coverage |
Image types and who makes them
| Type | Made by | Method | Used in |
|---|---|---|---|
| Diagram (architecture, flow, sequence, concept map) | figure-engineer |
Mermaid / D2 / Graphviz → SVG (+ PNG for print) | technical, nonfiction, academic |
| Chart (data) | figure-engineer |
matplotlib / Vega-Lite from a data file in sources/ |
nonfiction, academic, technical |
| Technical drawing, floor plan, schematic, 도면 | figure-engineer |
SVG with real dimensions, or TikZ; DXF export on request | technical, nonfiction, game |
| Table-as-figure, comparison matrix | figure-engineer |
Markdown table first; SVG only when layout demands | all |
| Map (fantasy, historical, game world) | figure-engineer base (SVG from bible geography) + illustrator stylization |
hybrid | fiction, game, nonfiction |
| Scene illustration, full-page, chapter header, spot art | illustrator |
diffusion backend with art bible + references | fiction, poetry, children's, memoir |
| Character sheet, setting reference | illustrator (after look lock) |
diffusion; becomes reference for later images | fiction, game, screenplay pitch |
| Photograph | author or licensed stock; pipeline sources and records license | never generated for documentary use; AI-generated "photos" only as clearly stylized art with disclosure | nonfiction, memoir, technical |
| Cover | cover-designer |
diffusion for art + typography spec; Ideogram-class model if title text must be in-image | all |
| Ornaments, dividers, drop caps | figure-engineer |
SVG, consistent with art bible | all |
Workflow
1. Art bible (/book-visuals plan)
Invoke art-director. It reads PRD.md, STYLE.md, bible.md, outline.md, existing drafts, and any author-supplied references in visuals/ref/, then writes:
art-bible.md(human) and.velith/art-bible.json(machine): medium, technique, movement or era descriptors (never living artists' names), line, palette with roles, value range, lighting, texture, detail level, composition rules, safe margins, aspect per placement, mood words, negative rules; character and setting constants (fiction); figure system (diagram grammar, node and edge semantics, font, color roles, caption style, grayscale survivability) for nonfiction and technical; photo policy; backend profile.visuals/plan.mdandvisuals/manifest.json: the figure list. Per image: id, chapter, placement, type, purpose (what the reader learns or feels that the text alone cannot deliver), maker, source data or scene, caption, alt text, status.
For nonfiction and technical books, the figure list is part of the argument: each figure has a purpose sentence, and a figure without one is cut. For fiction, 0-4 illustrations per chapter by weight; a chapter can have none.
2. Look lock (/book-visuals lock)
Before producing volume, produce three candidate style samples of the same subject (the book's most representative image) with three variants of the art bible. The author picks one. Record the choice, the reference image path, and the backend settings (style reference, seed) in the art bible. Required stop. For books with no diffusion images (pure technical), the look lock is a rendered sample figure instead.
3. Produce
- `figure-en
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл book-visuals?
Book visual system: art bible and look lock, figure plan per chapter, code-rendered diagrams/charts/technical drawings, diffusion-generated illustrations and spot art, photo sourcing policy, cover, model-agnostic prompt compilation, vision QA, and asset validation for print and EPUB. Every image matches the book, the chapter, and the author's brief regardless of which image model renders it.
Как установить скилл book-visuals?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл book-visuals запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…