← Files NovelistARCHIVED FILE
skills/create-visual-asset/SKILL.md
5.49 KB · Oct 5, 2026 · 18:29 UTC
--- name: create-visual-asset description: Create cover and illustration image assets for this novel project with an available raster image provider. Use when the user wants to plan, generate, refine, or save a book cover, chapter illustration, spot illustration, visual motif, or image prompt while preserving a consistent visual style across assets. --- # Create Visual Asset ## Overview Use this skill to create project-bound cover and illustration assets for the novel. Always preserve visual consistency by reading `style/visual-style-guide.md` first. Detect the image-generation capabilities available in the current host, then use the matching guide: - Codex: `references/codex-image-generation.md` - Claude Code: `references/claude-image-generation.md` - Antigravity CLI: `references/antigravity-image-generation.md` - External API or CLI provider: `references/external-image-provider.md` Save final project-bound assets under `assets/cover/` or `assets/illustrations/`; never leave a referenced asset only in a provider's default output location. ## Required Context Read before generating: - `AGENTS.md` - `project.md` - `style/visual-style-guide.md` - relevant `chapters/*.md`, `outlines/`, `plot/`, `world/`, `characters/`, `materials/`, and `macguffins/` files for the requested asset - existing files in `assets/cover/` and `assets/illustrations/` If `style/visual-style-guide.md` is incomplete, ask the user for missing visual direction before generating a final asset. ## Workflow ### 1. Identify Asset Type Classify the request as one of: - `cover`: front cover image for EPUB packaging - `chapter-illustration`: full-width or full-page illustration tied to a chapter - `spot-illustration`: smaller image embedded within a chapter - `motif`: reusable visual symbol, object, or atmospheric plate - `reference`: visual exploration not yet used in the manuscript Confirm the intended destination and filename slug before saving. ### 2. Gather Direction Summarize the likely image in Korean: - subject - narrative moment or symbolic function - setting and time period - characters shown or deliberately omitted - composition and crop - mood, lighting, palette, and texture - continuity constraints from source files - whether text should be included Ask for missing direction when it affects the image. For covers, ask about tone, central image, and whether the title/author text should be left out for later typography. Prefer no generated text unless the user explicitly asks for it. ### 3. Build A Style-Locked Prompt Use the visual style guide as the stable base. Keep the prompt concise but specific: ```text Use case: illustration-story Asset type: <cover|chapter-illustration|spot-illustration|motif|reference> Primary request: <specific image> Story context: <chapter/plot/world context> Style/medium: <from style/visual-style-guide.md> Composition/framing: <crop, subject placement, negative space> Lighting/mood: <from style guide plus asset-specific mood> Color palette: <from style guide> Materials/textures: <paper, ink, grain, brush, lens, etc.> Continuity constraints: <must match story facts> Text: no text, no title, no watermark unless explicitly requested Avoid: <style guide avoid list plus asset-specific avoid list> ``` ### 4. Select And Invoke A Raster Provider Inspect the tools actually available in the current agent host. Prefer, in order: 1. a verified built-in raster image generator; 2. a configured image-generation MCP server or agent tool; 3. an author-approved external API or CLI adapter. Do not infer image-generation capability from image input, image analysis, or generic file tools. Do not substitute SVG, HTML, or placeholder art. For project-bound assets: 1. Generate the image with the selected raster provider. 2. Inspect the result for style, subject, composition, and continuity. 3. Iterate only with targeted changes. 4. Move or copy the final selected image into the project: - cover: `assets/cover/<slug>.<ext>` - chapter illustration, spot illustration, motif, or reference: `assets/illustrations/<slug>.<ext>` 5. Report the saved path and final prompt. If no raster provider is available: 1. say clearly that no image was generated; 2. return the complete style-locked prompt without shortening it; 3. link the relevant host guide and `references/external-image-provider.md`; 4. offer to continue after the author connects a provider; 5. do not create a fake asset or register a nonexistent image in Markdown. ### 5. Register In Markdown For cover assets, store or update the cover path in `project.md` frontmatter when the user confirms it as the active cover: ```yaml cover_image: assets/cover/cover.png ``` For chapter illustrations, add a normal Markdown image reference inside the target chapter when the user asks to insert it: ```markdown  ``` Do not edit manuscript prose merely to place an image unless requested. ## Cover Missing During EPUB Build If another workflow needs a cover and no usable cover exists, ask whether to generate one. Ask for the desired feeling, central image, and whether it should include text. If the user approves, use this skill to create the cover before building the EPUB. ## Verification Before finishing: - Confirm the final asset exists inside the workspace. - Confirm the filename is filesystem-safe. - Confirm project or chapter references use relative paths that the EPUB builder can resolve. - Confirm the image follows `style/visual-style-guide.md`. - Run `git status --short` and report changed files.
SHA-256: ac0631795159b067752202089029813e9d9ea51a42de13834899c5193e78830b