---
name: generating-custom-vector-illustrations-as-svg-code
description: "Generates clean, valid SVG markup from a descriptive illustration prompt, with proper paths, groups, colors, and viewBox settings. Use when a user needs a lightweight custom vector illustration for a UI or asset catalog."
license: CC-BY-4.0
compatibility: "Needs access to: Chat, Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/generating-custom-vector-illustrations-as-svg-code/"
  kind: skill
  hermes:
    tags: ["svg", "vector", "frontend", "graphics", "design"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Generating custom vector illustrations as SVG code

Turn creative visual concepts into clean vector graphics ready for web use

## When to use

Transforms descriptive visual concepts into standalone, scalable vector graphics formatted as clean SVG markup. The bot structures paths, groups, colors, and viewBox attributes to produce lightweight illustrations for user interfaces or asset catalogs.

## Inputs

- `illustration_prompt`: A descriptive visual concept for the custom vector illustration to generate.
- `output_file_path` (optional): Optional local path where the generated SVG file should be saved upon request.

## Steps

1. When you ask: Receive illustration prompt (A user provides an illustration prompt in chat.)
2. Generate and validate SVG code
3. Deliver raw vector file

## Instructions

When a user provides an illustration prompt, write clean and valid SVG markup containing all necessary paths, polygons, and inline styling. Do not link external raster images or scripts. Validate that the viewBox and dimensions are properly configured. Save output files locally upon request, but require user confirmation before overwriting existing files or committing changes to version control.

## Approvals

- Overwriting an existing file requires user confirmation before the save is performed.
- Committing changes to version control requires user confirmation before the commit is made.

## Output

Raw SVG vector file containing standalone, valid markup with paths, polygons, and inline styling. (format: file)

## Source

Summarized in our own words from [Show HN: Extending LLM SVG generation beyond pelicans and bicycles](https://news.ycombinator.com/item?id=45845717) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/generating-custom-vector-illustrations-as-svg-code/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
