optimize-small-icons
Installation
SKILL.md
Optimize Small Icons
Preserve the visual meaning of tiny features while retaining antialiased boundaries. Treat each important color as a semantic layer, then inherit a solid core pixel only when an important source component otherwise loses every core pixel.
Workflow
- Preserve the source artwork and write outputs to a separate directory during tuning.
- Identify the background and the exact anchor colors whose identity must survive at 16, 24, 32, and 48px.
- Read references/algorithm.md before choosing matte layers or core inheritance thresholds.
- Read references/recipe-schema.md when creating or editing the JSON recipe. Read references/platform-assets.md before producing Windows, macOS, Linux, Android, or iOS release assets.
- Validate the invocation without writes:
python scripts/icon_resampler.py build \
--input logo.png \
--config icon-recipe.json \
--output-dir icon-output \
--dry-run