agentleFS
ImYourBoyRoyImYourBoyRoy/Portable_Web_toolkit/skills/vectorize-pipeline/SKILL.md

vectorize-pipeline

Skill2 starsChanged 4 months agoMITView on GitHub

Rebuild wordmarks from licensed font outlines or convert suitable high-contrast raster artwork into clean SVG candidates with the Portable Web Toolkit vectorization pipeline. Use for low-resolution logo recovery, trace preparation, SVG cleanup, or deciding when automatic tracing is inappropriate. Do not replace an approved vector master or imply that traced artwork is authoritative.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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:

    Read the client repository's applicable instructions and Brand Guide, preserve unrelated work, and confirm the input and output paths are …

    line 10
  2. Distinctive:

    If a logo PNG looks stair-stepped at 200% zoom, do not auto-trace it — rebuild from fonts:

    line 17
  3. Very specific:

    Use --current-color with <img src="*.svg">

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Vectorize Pipeline

Preflight

Read the client repository's applicable instructions and Brand Guide, preserve unrelated work, and confirm the input and output paths are inside the intended project. Establish ownership, licensing, modification rights, and the status of any approved vector master before processing.

Prefer from-font for type

If a logo PNG looks stair-stepped at 200% zoom, do not auto-trace it — rebuild from fonts:

node ./Web_Toolkit/vectorize_pipeline/bin/vectorize-pipeline.mjs from-font \
  --title "Example Studio" \
  --subtitle WORKS \
  --serif ./brand/fonts/ExampleSerif.ttf \
  --sans ./brand/fonts/ExampleSans.ttf \
  --fill '#f4fffe' \
  --output ./public/brand/example-wordmark.svg \
  --apply

First time: cd Web_Toolkit/vectorize_pipeline && npm install

Inspect package scripts before installing. Use the repository-approved environment and do not install VTracer, Python packages, or fonts globally without authorization.

Raster path (vectorize)

node ./Web_Toolkit/vectorize_pipeline/bin/vectorize-pipeline.mjs vectorize \
  --input ./logo.png --preset logo_smooth --fill '#f4fffe' --apply
PresetUse
logoClean high-contrast masters
logo_smoothLow-res/aliased — upscale+blur then VTracer
logo_polygonSmaller / sharper corners

Flags

FlagEffect
--applyWrite output
--fill '#hex'For <img src> SVGs
--current-colorInline SVG only
--scale / --blurPrep overrides (vectorize)

Never

  • Expect auto-trace to beat a hand SVG or font outlines on a soft/aliased master
  • Use --current-color with <img src="*.svg">
  • Trace artwork without confirming ownership, licensing, and allowed modification
  • Discard the original raster, font, or approved master

Verify

Inspect the SVG at multiple scales, validate its XML, compare its silhouette and spacing to the authorized source, and check fill behavior in its real embedding mode. Treat output as a review candidate until brand approval is established.

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.