agentleFS
codeonym-osscodeonym-oss/design-skills/skills/graphic-design/SKILL.md

graphic-design

Skill0 starsChanged 48 days agoMITView on GitHub

Raster and vector graphic design with Inkscape 1.4, ImageMagick 7, GIMP 3.2 (+ G'MIC), potrace, scour/resvg and the web-image optimizers (pngquant, oxipng, jpegoptim, cwebp, avifenc, cjxl), all running headlessly in a reproducible container. Use when the user wants to make or edit a logo, banner, social-media post, thumbnail, poster graphic or icon, or wants to batch-export, resize, convert, vectorize or compress images. Also use when they ask which graphic tool to use for a job.

6 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Must scale, or has few flat colors (logo, icon, badge, diagram) → Inkscape / SVG.

    line 27
  2. Very specific:

    Keep an editable master (.svg / .xcf) next to every export.

    line 51
  3. Distinctive:

    Before delivering, look at the export at 100 % and at the real display size — read the PNG back and check it.

    line 55

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Graphic design (Inkscape · ImageMagick · GIMP)

Scripts run inside the design-skills container automatically — run them with bash <skill-dir>/scripts/<name>.sh … from the folder that holds the files (see the design-sandbox skill).

Toolkit

ToolUse it forCLI (in the container)
Inkscape 1.4Vector: logos, icons, banners, anything that must scaleinkscape file.svg --export-type=png --export-width=1024
ImageMagick 7Scripted resize, crop, compose, convert, textmagick
GIMP 3.2 (full image)Raster compositing, retouching, texturesdesktop app for hands-on work; gimp-console for batch
G'MIC (full image)500+ filters: stylize, denoise, sharpen, artistic looksgmic in.png -fx_… -o out.png
potraceBitmap → SVG tracing (logos from scans)potrace
scour · resvgOptimize SVG markup · render SVG exactly and fastscour -i in.svg -o out.svg · resvg in.svg out.png
OptimizersShrink exports for the webpngquant, oxipng, jpegoptim, cwebp, avifenc, cjxl

Fonts live in the typography skill (drop project fonts in ./fonts); UI assets in ui-design; print PDFs in print-layout.

Pick the right tool

  • Must scale, or has few flat colors (logo, icon, badge, diagram) → Inkscape / SVG; keep the source as SVG.
  • Built from photos, textures, painting or effects → GIMP (.xcf source) on the desktop, or ImageMagick when scriptable.
  • Hand-drawn look or painting → the illustration skill (Krita).
  • The same edit on many files → ImageMagick / the scripts below, never by hand.
  • Writing SVG directly is often the fastest path for an agent: write the SVG, render it with svg-export.sh, look at the PNG, iterate.

Scripts

ScriptWhat it does
check.shVerifies the toolkit; prints install commands for anything missing
svg-export.sh <file.svg> [widths…]PNGs at several widths (default 512 1024 2048) + text-to-path PDF + plain SVG → export/
social-sizes.sh <image> [--fill|--fit] [--bg COLOR]One master image into 11 social/banner sizes → export/social/
optimize.sh <images…>*.opt.png/jpg + WebP + AVIF next to each input, never overwrites (QUALITY=82)
vectorize.sh <bitmap> [threshold%]Traces a black-and-white bitmap (scan, sketch logo) into *.traced.svg

Guides

  • references/logo-in-inkscape.md — logo from concept to exported brand kit.
  • references/social-graphics.md — templates, safe zones and the size table used by social-sizes.sh.
  • references/gimp-essentials.md — GIMP 3 non-destructive workflow, G'MIC, export settings.

Rules of thumb

  1. Keep an editable master (.svg / .xcf) next to every export; exports go in export/.
  2. Design at the largest size you need and export down — never scale raster up (AI upscalers exist, e.g. Upscayl, but they invent detail).
  3. Web: PNG only for flat graphics/transparency, otherwise WebP/AVIF with a JPEG fallback. Always run optimize.sh.
  4. sRGB for screens. CMYK/print is handled in print-layout.
  5. Before delivering, look at the export at 100 % and at the real display size — read the PNG back and check it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.