image-authoring
Skill by kirodotdev
Authors images and diagrams as code, using SVG, Pillow, Excalidraw and mermaid. It suits requests for illustrations, icons, logos, posters or diagrams.
Install image-authoring
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kirodotdev/KiroCrew /tmp/KiroCrew && mkdir -p ~/.claude/skills && cp -r /tmp/KiroCrew/src/kiro_crew/builtin_skills/image-authoring ~/.claude/skills/image-authoringRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kirodotdev/KiroCrew /tmp/KiroCrew && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/KiroCrew/src/kiro_crew/builtin_skills/image-authoring ~/.gemini/antigravity-cli/skills/image-authoringAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Image Authoring is a skill that creates images by writing code, since the environment has no text-to-image model. It picks a technique for each request: SVG for illustrations, logos and icons, HTML/CSS with a Playwright screenshot for posters and banners, and Python with Pillow for textures and pixel art. It also covers Excalidraw scenes for hand-drawn diagrams and points to mermaid for automatic layout.
The skill saves an editable source file with each image, with a brief at the top and stable ids on major elements. When the user asks for changes, it edits only the affected region rather than redrawing the whole piece. It is meant for people who want stylized graphics made from code, not photorealistic output.
Written from the project's SKILL.md and checked against it.
What it can do
- SVG authoringBuilds illustrations, logos, icons and scenes as layered SVG with a viewBox.
- HTML/CSS screenshotsLays out posters, banners and cards in HTML and renders them with Playwright.
- Pillow renderingDraws textures, gradients, pixel art and filters with Python and Pillow.
- Excalidraw scenesEmits hand-drawn style diagrams as Excalidraw scene JSON for the dashboard viewer.
- Region-based editsUpdates only the element group named in feedback, leaving approved parts unchanged.
- PNG conversionConverts SVG to PNG using rsvg-convert, inkscape, magick or Playwright.
- ValidationChecks SVG and HTML with xmllint and confirms that script output files exist.
What you need
- Python 3 with Pillow for raster output
- Playwright for HTML screenshots
- xmllint for validating SVG and HTML
- One of rsvg-convert, inkscape, magick or Playwright for PNG copies
Try asking
- Draw a flat geometric logo for my coffee shop as an SVG.
- Make a poster for a jazz night with bold text, then darken the background.
- Create a hand-drawn Excalidraw diagram of our login flow.
Good to know
- No text-to-image model or image-generation tool is available, so output is authored graphics.
- Photorealistic requests get a stylized result, not a photo-like image.
- Excalidraw fences are viewer only, fonts are not bundled, and bound text is approximated.
- A rendered Excalidraw fence has no enlarge view.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/kiro_crew/builtin_skills/image-authoring/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to image-authoring
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
image-authoring: common questions
Does this skill generate images with AI?
No. The source says there is no text-to-image model or image-generation tool in the environment, so the skill writes images as code.
What formats can it produce?
It produces SVG and HTML files, Pillow raster output and Excalidraw scenes. SVG can also be converted to PNG.
Can I change an image after it is made?
Yes. The source file is kept next to the image, and feedback is applied as targeted edits to that file.
How do I install image-authoring?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is image-authoring free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is image-authoring safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to image-authoring?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
