Pixel Art Professional 标志

Pixel Art Professional

社区
willibrandon
Pixel Art Professional

Apply advanced pixel art techniques including dithering, palette optimization, shading, antialiasing, and color theory. Use when the user mentions "dithering", "dither", "Bayer", "Floyd-Steinberg", "palette", "colors", "reduce colors", "optimize palette", "color limit", "shading", "shadows", "highlights", "lighting", "light source", "antialiasing", "smooth", "smoothing", "anti-alias", "AA", "color ramp", "gradient", "hue shifting", "saturation", "value", "contrast", or wants to "refine", "polish", "improve", "enhance", "make better", "add depth", "add dimension" to existing pixel art. Trigger on retro palette names (NES, Game Boy, C64, PICO-8), texture terms ("metal", "fabric", "stone", "wood"), and visual quality terms ("professional", "clean", "smooth", "vibrant").

Add to TypingMind

概览

发布者willibrandon
代码仓库pixel-plugin
技能名称Pixel Art Professional
星标数
393
复刻数
30
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 willibrandon 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pixel Art Professional AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/willibrandon/pixel-plugin/tree/main/skills/pixel-art-professional
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/willibrandon/pixel-plugin.git /tmp/pixel-plugin
mkdir -p .claude/skills
cp -r /tmp/pixel-plugin/skills/pixel-art-professional .claude/skills/willibrandon-pixel-art-professional
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pixel Art Professional,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pixel Art Professional。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pixel Art Professional 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Pixel Art Professional

Overview

This Skill provides advanced pixel art techniques for refining and polishing sprites. It handles dithering patterns, palette optimization, color theory, shading techniques, and antialiasing for professional-quality pixel art.

When to Use

Use this Skill when the user:

  • Wants to apply "dithering" or mentions dither patterns
  • Asks about "palette optimization" or "color reduction"
  • Mentions "shading", "highlights", "shadows", or "lighting"
  • Requests "antialiasing", "smoothing", or "edge refinement"
  • Talks about "color ramps", "gradients", or "color theory"
  • Wants to "polish" or "refine" existing pixel art
  • Mentions specific techniques like "Bayer dithering" or "Floyd-Steinberg"

Trigger Keywords: dithering, palette, shading, antialiasing, smooth, gradient, color ramp, polish, refine, color theory, quantize

Instructions

1. Understanding Dithering

Dithering creates the illusion of additional colors by mixing pixels of available colors in patterns.

When to Use Dithering:

  • Reducing color count (e.g., 256 colors → 16 colors)
  • Creating smooth gradients with limited palettes
  • Simulating textures (fabric, metal, stone)
  • Retro aesthetic (classic games used dithering extensively)

Dithering Algorithms:

Ordered Dithering (Bayer Matrix):

  • Uses fixed pattern matrix (2x2, 4x4, 8x8)
  • Predictable, regular pattern
  • Best for: textures, backgrounds, retro look
  • Fast and consistent

Error Diffusion (Floyd-Steinberg):

  • Distributes color error to neighboring pixels
  • More organic, less regular pattern
  • Best for: gradients, natural images, smooth transitions
  • Slower but higher quality

Common Dithering Patterns:

  • Checkerboard: Simple 2-color alternating pattern
  • Bayer 2x2: Basic ordered dithering
  • Bayer 4x4: More subtle ordered dithering
  • Bayer 8x8: Very subtle, near-gradient appearance
  • Floyd-Steinberg: Error diffusion for smooth gradients

2. Palette Management

Color Quantization: Use mcp__aseprite__quantize_palette to reduce sprite colors intelligently:

  • Analyzes sprite colors
  • Finds optimal limited palette
  • Remaps pixels to new palette
  • Preserves visual quality

Palette Optimization Workflow:

  1. Get current sprite info and palette
  2. Decide target color count (4, 8, 16, 32, 64, 256)
  3. Apply quantization with optional dithering
  4. Review and adjust palette if needed

Common Palette Sizes:

  • 4 colors: Game Boy, ZX Spectrum per-sprite
  • 8 colors: CGA, early arcade
  • 16 colors: NES, Master System, early VGA
  • 32 colors: SNES per-background, Amiga OCS
  • 64 colors: Genesis, PC Engine
  • 256 colors: VGA, SNES full palette, Amiga AGA

Palette Theory:

  • Color Ramps: Gradual transitions from dark to light for shading
  • Hue Shifting: Changing hue slightly in shadows/highlights for vibrant look
  • Saturation: Higher saturation in midtones, lower in shadows/highlights
  • Contrast: Ensure sufficient contrast between key elements

3. Shading Techniques

Types of Shading:

Flat Shading (No Shading):

  • Single color per surface
  • Simple, iconic look
  • Best for: UI icons, simple sprites, minimalist style

Cell Shading (Hard Shading):

  • Distinct color bands with hard edges
  • 2-3 colors per surface (base, shadow, highlight)
  • Best for: cartoon style, bold graphics, readable sprites

Soft Shading (Dithered Shading):

  • Gradual transitions using dithering
  • Smooth appearance with limited colors
  • Best for: realistic look, smooth surfaces, gradients

Pixel Clusters:

  • Manual dithering with strategic pixel placement
  • Organic, hand-crafted appearance
  • Best for: metal, fabric textures, custom look

Shading Workflow:

  1. Identify light source direction
  2. Determine base color
  3. Create darker shade for shadows (hue shift toward blue/purple)
  4. Create lighter shade for highlights (hue shift toward yellow/white)
  5. Apply shadows on surfaces away from light
  6. Apply highlights on surfaces toward light
  7. Add reflected light in deep shadows (subtle)

Common Shading Mistakes:

  • Pure black shadows (use dark hue-shifted colors instead)
  • Pure white highlights (use light tinted colors instead)
  • No hue shifting (shadows/highlights same hue as base)
  • Pillow shading (shading around edges instead of from light source)

4. Antialiasing

Purpose: Smooth jagged edges and diagonal lines by adding intermediate colors.

When to Use Antialiasing:

  • Diagonal lines look jagged
  • Curves appear stepped
  • Edges need smoothing
  • Higher resolution sprites (64x64+)

When NOT to Use Antialiasing:

  • Very small sprites (16x16 or smaller)
  • Intentional pixelated aesthetic
  • High-contrast situations (AA reduces contrast)
  • Limited palette (need intermediate colors)

Manual Antialiasing Technique:

  1. Identify jagged edge
  2. Find intermediate color between edge and background
  3. Place intermediate pixels at edge "steps"
  4. Use 1-pixel wide AA (avoid thick fuzzy edges)
  5. AA selectively (not every edge needs it)

Automated Antialiasing:

  • Some tools offer automatic edge smoothing
  • Use with caution (can blur intended sharpness)
  • Manual AA gives better control

5. Color Theory for Pixel Art

HSV/HSB Model:

  • Hue: Color type (red, blue, green, etc.)
  • Saturation: Color intensity (vivid vs. gray)
  • Value/Brightness: Lightness (dark vs. light)

Creating Color Ramps:

  1. Start with base color (midtone)
  2. Create shadow: lower value, optionally shift hue toward cool (blue/purple)
  3. Create highlight: raise value, optionally shift hue toward warm (yellow/white)
  4. Create midtone between base and shadow
  5. Create midtone between base and highlight
  6. Result: 5-color ramp (deep shadow, shadow, base, highlight, bright highlight)

Hue Shifting:

  • Shadows: shift toward blue, purple, or complementary color
  • Highlights: shift toward yellow, orange, or light source color
  • Creates vibrant, lively colors instead of flat gradients

Contrast:

  • Ensure important elements have high value contrast
  • Background should contrast with foreground
  • Silhouette should be readable in solid black

Color Harmony:

  • Monochromatic: Variations of single hue
  • Analogous: Adjacent hues on color wheel
  • Complementary: Opposite hues on color wheel
  • Triadic: Three evenly spaced hues

6. Professional Workflows

Workflow 1: Palette Reduction with Dithering

User Request: "Reduce this sprite to 16 colors with dithering"

Approach:

  1. Get current sprite info
  2. Check current palette size
  3. Use mcp__aseprite__quantize_palette with:
    • target_colors: 16
    • algorithm: "median_cut" or "kmeans"
    • dither: true (enables Floyd-Steinberg dithering)
  4. Review result and adjust if needed

Workflow 2: Adding Shading to Flat Sprite

User Request: "Add shading to this sprite with light from top-left"

Option A - Automatic Shading (Quick):

  1. Use mcp__aseprite__apply_auto_shading with:
    • light_direction: "top_left"
    • intensity: 0.3-0.7 (adjust to preference)
    • style: "smooth", "hard", or "pillow"
    • hue_shift: true (for vibrant results)
  2. Tool automatically detects regions and adds shading
  3. Review and manually refine if needed

Option B - Manual Shading (Precise):

  1. Analyze sprite structure
  2. Identify base colors
  3. Create shadow colors (darker, hue-shifted)
  4. Create highlight colors (lighter, hue-shifted)
  5. Update palette with new colors
  6. Draw shadows on bottom-right surfaces
  7. Draw highlights on top-left surfaces
  8. Add subtle reflected light in deep shadows

Workflow 3: Smoothing Jagged Edges

User Request: "Smooth out the edges on this character"

Approach:

  1. Identify jagged diagonal lines and curves
  2. Find edge color and background color
  3. Create intermediate colors (1-2 shades between)
  4. Place AA pixels at edge steps
  5. Review and refine (avoid over-smoothing)

Workflow 4: Converting to Retro Palette (Full Palette Conversion)

User Request: "Convert this to NES palette"

Approach:

  1. Use mcp__aseprite__quantize_palette with retro palette colors
  2. Specify target palette (e.g., 54 NES colors, 4 Game Boy colors, 16 C64 colors)
  3. Algorithm maps each pixel to nearest palette color
  4. Pixels are remapped to new palette indices
  5. Optionally apply dithering for smoother transitions
  6. Verify all colors match target palette

IMPORTANT: Use quantize_palette, NOT set_palette. The set_palette tool only replaces the color table without remapping pixel data, which will produce incorrect colors in indexed mode.

Example:

quantize_palette(
  sprite_path: "sprite.aseprite",
  target_colors: 54,  # NES full palette
  algorithm: "median_cut",
  convert_to_indexed: true,
  dither: false  # or true for Bayer dithering
)

7. Dithering Patterns Reference

2-Color Patterns:

Checkerboard (50% mix):

A B A B
B A B A
A B A B
B A B A

25% Pattern:

A A B A
A A A A
B A A A
A A A A

75% Pattern:

B B A B
B B B B
A B B B
B B B B

Bayer 2x2:

Threshold matrix:
0 2
3 1

If pixel value > threshold, use lighter color

Bayer 4x4:

 0  8  2 10
12  4 14  6
 3 11  1  9
15  7 13  5

Note: See dithering-patterns.md for comprehensive pattern library.

8. Technical Details

Quantization Parameters:

  • Target colors: 2-256
  • Dithering: optional, specify algorithm
  • Alpha handling: preserve transparency or flatten

Palette Constraints:

  • RGB mode: No palette constraints
  • Indexed mode: Max 256 colors
  • Grayscale: 256 shades of gray

Performance:

  • Quantization: ~100-500ms depending on sprite size
  • Dithering: ~200-800ms depending on algorithm and size
  • Manual pixel operations: <50ms per operation

9. Common Patterns

Pattern: Quick Polish For "make this look better" requests:

  1. Check palette (reduce if too many colors)
  2. Add basic shading (light source from top-left)
  3. Add selective antialiasing on curves
  4. Adjust contrast if needed

Pattern: Retro Conversion For "make this look retro" requests:

  1. Reduce to appropriate palette (4, 8, or 16 colors)
  2. Apply ordered dithering (Bayer)
  3. Remove antialiasing (make edges sharp)
  4. Ensure pixel-perfect alignment

Pattern: Smooth Gradient For "smooth out the colors" requests:

  1. Analyze color distribution
  2. Apply Floyd-Steinberg dithering
  3. Optional: slight quantization to clean up palette
  4. Verify smooth transitions

Integration with Other Skills

  • Start with pixel-art-creator for base sprite before polishing
  • Use pixel-art-animator for animation, then polish with this Skill
  • Hand off to pixel-art-exporter when refinement is complete

Error Handling

Quantization fails:

  • Target color count must be 2-256
  • Sprite must have content (not blank)

Dithering issues:

  • Requires sufficient color depth
  • May not work well with very limited palettes
  • Some algorithms better for certain content

Palette conflicts:

  • Indexed mode has strict limits
  • Converting to indexed may require quantization first

Success Indicators

You've successfully used this Skill when:

  • Dithering applied produces smooth gradients or textures
  • Palette reduced while preserving visual quality
  • Shading adds depth and dimension
  • Antialiasing smooths edges without blurring
  • Colors follow good color theory principles
  • Sprite has professional, polished appearance

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Pixel Art Professional AI 技能有什么作用?

Apply advanced pixel art techniques including dithering, palette optimization, shading, antialiasing, and color theory. Use when the user mentions "dithering", "dither", "Bayer", "Floyd-Steinberg", "palette", "colors", "reduce colors", "optimize palette", "color limit", "shading", "shadows", "highlights", "lighting", "light source", "antialiasing", "smooth", "smoothing", "anti-alias", "AA", "color ramp", "gradient", "hue shifting", "saturation", "value", "contrast", or wants to "refine", "polish", "improve", "enhance", "make better", "add depth", "add dimension" to existing pixel art. Trigg...

为什么在 TypingMind 中使用 Pixel Art Professional?

因为您只需安装一次,就能搭配任何模型使用。Pixel Art Professional 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pixel Art Professional?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/willibrandon/pixel-plugin/tree/main/skills/pixel-art-professional。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pixel Art Professional?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pixel Art Professional 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pixel Art Professional 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pixel Art Professional AI 技能免费吗?

是的。willibrandon 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇