feat(skills): add pixel-art skill (consolidated from #8930) - #12663
Merged
Conversation
…ased skill Merges pixel-art-arcade and pixel-art-snes into one pixel-art skill with named presets (arcade, snes) + parametric overrides. The underlying pipeline was already identical across both variants — only palette size, block size, and enhancement strength differed. A single preset-based function is easier to discover, maintain, and extend (adding a new era like gameboy or nes is just another preset dict). Contributor authorship preserved on original additive commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a built-in pixel-art skill that converts images into retro pixel art via named presets. Salvaged from #8930 (dodo-reach) — consolidated their two near-duplicate skills (pixel-art-arcade, pixel-art-snes) into a single preset-based skill and promoted it into built-in skills.
Changes
skills/creative/pixel-art/SKILL.md— new skill witharcadeandsnespresets + parametric overrides. Single Pillow pipeline (enhance → posterize → downscale NEAREST → quantize with Floyd-Steinberg → upscale NEAREST) dialed per preset.scripts/release.py— AUTHOR_MAP entry for dodo-reach (CI compliance).Why consolidate
The two originals were identical Pillow pipelines with only 5 numeric knobs different (contrast/color/posterize bits, block size, palette size). A preset-based single skill is easier to discover (one name for "retro pixel art"), maintain (one function signature), and extend (adding gameboy/nes is just another preset dict).
Why built-in instead of optional
Pillow is already ubiquitous, the skill is small, and retro pixel art is a common creative ask — fits alongside existing built-in creative skills.
Validation
Pmode,preset='gameboy'raises ValueError, overrides (palette=16on snes) work.Credit: @dodo-reach — original commit preserved via cherry-pick with their authorship intact.
Closes #8930.