К основному содержанию
скилл CX Codex

Pixel Art Creator — скилл для Claude Code: рисует пиксель-арт

Скилл Pixel Art Creator для Claude Code создаёт пиксельные спрайты с нуля — холст, слои и базовые фигуры через MCP-сервер Aseprite. Создаёт спрайты, иконки и тайлы без графического редактора.

MIT 1 установок ★ 433 обновлён 2025-10-19

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add willibrandon/pixel-plugin --skill pixel-art-creator -a claude-code
Открыть на GitHub

Что делает Pixel Art Creator

Скилл собирает спрайт с пустого места: заводит холст, раскладывает рисунок по слоям и рисует простыми примитивами. Размер стороны — от 1 до 65535 пикселей, но описание советует не уходить выше 1024. Цветовых режимов три: RGB для современного арта, Grayscale для монохрома и Indexed для ретро с палитрой от 1 до 256 цветов.

Работа идёт через набор инструментов mcp__aseprite__*: create_canvas, add_layer, delete_layer, draw_pixels, draw_line, draw_rectangle, draw_circle, draw_contour, fill_area, set_palette, get_palette и get_sprite_info. Порядок такой: холст, потом именованные слои вроде «Background» и «Character», потом фигуры, потом проверка результата через get_sprite_info. В режиме Indexed палитра задаётся списком hex-цветов: у Game Boy это четыре оттенка, у NES — 16.

Последний слой удалить нельзя, поэтому структуру продумывают до вызова delete_layer. Рисует скилл не сам: всё держится на MCP-сервере Aseprite, а без него в разрешённых инструментах остаются только Read и Bash — спрайт не появится. Дальше файл уходит в скилл pixel-art-exporter.

Какие задачи решает

  • нарисовать спрайт 32x32 с нуля, не открывая графический редактор
  • разложить рисунок по слоям: фон, персонаж, эффекты
  • собрать ретро-палитру под Game Boy или NES
  • залить фон прямоугольником и обвести фигуру линией
  • проверить параметры готового спрайта перед экспортом

Примеры запросов агенту

  • Создай спрайт 32x32 в режиме RGB и нарисуй по центру красный круг
  • Сделай холст 64x64, добавь слои Background и Character, фон залей синим, а персонажа нарисуй жёлтым прямоугольником
  • Собери спрайт 48x48 в режиме Indexed с палитрой Game Boy

Как установить Pixel Art Creator

1Через Skills CLI (Vercel)

npx skills add willibrandon/pixel-plugin --skill pixel-art-creator -a claude-code

2Вручную: положить файлы

~/.claude/skills/pixel-art-creator/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/pixel-art-creator/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о Pixel Art Creator

Как установить Pixel Art Creator в Claude Code?

Выполните npx skills add willibrandon/pixel-plugin --skill pixel-art-creator -a claude-code. Скилл окажется в ~/.claude/skills/pixel-art-creator/SKILL.md.

Что делает Pixel Art Creator?

Создаёт канвас нужного размера и цветового режима, добавляет слои и рисует пиксели, линии, прямоугольники, круги, контуры и заливки. Палитру для индексированного режима задаёт отдельным вызовом.

Что нужно, чтобы скилл действительно рисовал?

Подключённый MCP-сервер Aseprite: все операции идут через инструменты mcp__aseprite__*. Без него останутся только Read и Bash, и холст не создастся.

Исходный текст

SKILL.md · MIT
---
name: Pixel Art Creator
description: Create new pixel art sprites from scratch with canvas creation, layer management, and basic drawing primitives. Use when the user wants to create a sprite, draw pixel art, make a new canvas, start a new image, begin a new project, or mentions pixel dimensions like "64x64", "32x32 sprite", "128 by 128", "16 pixel icon". Trigger on: "create", "new", "make", "draw", "sprite", "canvas", "image", "icon", "tile", "character", "background", dimensions (WxH), "from scratch", "blank canvas", "empty sprite", "Game Boy", "NES", "retro", color mode mentions ("RGB", "indexed", "grayscale"). Also use for drawing basic shapes like "circle", "rectangle", "line", "pixel", "fill", "outline".
allowed-tools: Read, Bash, mcp__aseprite__create_canvas, mcp__aseprite__add_layer, mcp__aseprite__delete_layer, mcp__aseprite__get_sprite_info, mcp__aseprite__draw_pixels, mcp__aseprite__draw_line, mcp__aseprite__draw_rectangle, mcp__aseprite__draw_circle, mcp__aseprite__draw_contour, mcp__aseprite__fill_area, mcp__aseprite__set_palette, mcp__aseprite__get_palette
---

# Pixel Art Creator

## Overview

This Skill enables creation of new pixel art sprites with full control over canvas properties, layers, and basic drawing operations. It's the foundational Skill for all pixel art workflows.

## When to Use

Use this Skill when the user:
- Wants to "create a sprite" or "make pixel art"
- Mentions sprite dimensions (e.g., "64x64", "32 by 32", "128 pixels wide")
- Asks to "draw" basic shapes (pixels, lines, rectangles, circles)
- Needs to set up a canvas or layers
- Mentions color modes (RGB, Grayscale, Indexed)

**Trigger Keywords:** create, sprite, canvas, draw, pixel art, dimensions, layer, new sprite

## Instructions

### 1. Creating a Canvas

When the user requests a sprite, create the canvas first:

**Color Modes:**
- **RGB**: Full color (24-bit), best for modern pixel art
- **Grayscale**: Shades of gray only, for monochrome art
- **Indexed**: Limited palette (1-256 colors), for retro game art

**Recommended Sizes:**
- **Icons**: 16x16, 24x24, 32x32
- **Characters**: 32x32, 48x48, 64x64
- **Tiles**: 16x16, 32x32, 64x64
- **Scenes**: 128x128, 256x256, 320x240 (retro resolution)

Use `mcp__aseprite__create_canvas` with parameters:
- `width`: 1-65535 pixels
- `height`: 1-65535 pixels
- `color_mode`: "RGB", "Grayscale", or "Indexed"

### 2. Managing Layers

**Adding Layers:**
Use `mcp__aseprite__add_layer` to organize sprite elements:
- Background layer for solid colors or backgrounds
- Character layer for main subject
- Effects layer for highlights, shadows, outlines
- Detail layer for accessories or fine details

**Layer Workflow:**
1. Create canvas
2. Add named layers (e.g., "Background", "Character", "Effects")
3. Draw on specific layers
4. Use layers for organization and editing flexibility

**Important:** Cannot delete the last layer in a sprite.

### 3. Drawing Primitives

**Draw Individual Pixels:**
Use `mcp__aseprite__draw_pixels` for precise pixel placement:
- Supports batch operations (multiple pixels at once)
- Accepts colors in hex format (#RRGGBB) or palette indices
- Can snap to nearest palette color (for Indexed mode)

Example:
```
Draw pixels at coordinates:
- (10, 10) in red (#FF0000)
- (11, 10) in red (#FF0000)
- (12, 10) in red (#FF0000)
```

**Draw Lines:**
Use `mcp__aseprite__draw_line`:
- Straight lines between two points
- Useful for outlines, edges, connecting points

**Draw Rectangles:**
Use `mcp__aseprite__draw_rectangle`:
- Filled or outline mode
- Perfect for backgrounds, UI elements, platforms

**Draw Circles/Ellipses:**
Use `mcp__aseprite__draw_circle`:
- Filled or outline mode
- For round objects, planets, effects

**Draw Contours (Polylines/Polygons):**
Use `mcp__aseprite__draw_contour`:
- Connect multiple points
- Useful for complex shapes, terrain, irregular outlines

**Flood Fill:**
Use `mcp__aseprite__fill_area`:
- Fill connected pixels of the same color
- Like a paint bucket tool
- Great for filling large areas quickly

### 4. Working with Colors

**Setting Colors:**
- **Hex Format**: #RRGGBB (e.g., #FF0000 for red)
- **RGB**: Specify red, green, blue values (0-255)
- **Palette Index**: For Indexed mode (0-255)

**Common Colors:**
- Red: #FF0000
- Green: #00FF00
- Blue: #0000FF
- Yellow: #FFFF00
- Cyan: #00FFFF
- Magenta: #FF00FF
- Black: #000000
- White: #FFFFFF

**Color Palettes:**
For Indexed color mode, set the palette first:
- Use `mcp__aseprite__set_palette` with array of hex colors
- Example: ["#000000", "#FFFFFF", "#FF0000", "#00FF00"]

### 5. Workflow Best Practices

**Typical Creation Workflow:**
1. **Understand Requirements**
   - What size sprite?
   - What color mode?
   - What style (modern vs retro)?

2. **Create Canvas**
   - Choose appropriate dimensions
   - Select color mode (RGB for modern, Indexed for retro)

3. **Set Up Layers** (optional but recommended)
   - Add layers for organization
   - Name layers descriptively

4. **Set Palette** (for Indexed mode)
   - Define limited color palette
   - Use retro-appropriate palettes (NES: 16 colors, Game Boy: 4 colors)

5. **Draw Basic Shapes**
   - Start with outline
   - Fill with colors
   - Add details

6. **Verify Result**
   - Use `mcp__aseprite__get_sprite_info` to check properties
   - Describe what was created to user

7. **Prepare for Export** (if requested)
   - Hand off to pixel-art-exporter Skill

## Examples

### Example 1: Simple Sprite

**User Request:** "Create a 32x32 sprite with a red circle"

**Approach:**
1. Create 32x32 RGB canvas
2. Draw filled circle in center (radius 12) in red
3. Confirm creation

### Example 2: Layered Sprite

**User Request:** "Make a 64x64 sprite with a blue background and a yellow character"

**Approach:**
1. Create 64x64 RGB canvas
2. Add layer "Background"
3. Fill entire canvas with blue (#0000FF) on Background layer
4. Add layer "Character"
5. Draw yellow (#FFFF00) rectangle or shape on Character layer
6. Confirm layers and contents

### Example 3: Indexed Color Sprite

**User Request:** "Create a 48x48 Game Boy style sprite"

**Approach:**
1. Create 48x48 Indexed canvas
2. Set Game Boy palette: ["#0F380F", "#306230", "#8BAC0F", "#9BBC0F"]
3. Draw using 4-color palette
4. Use pixel-perfect drawing

### Example 4: Complex Shape

**User Request:** "Draw a pixelated tree on a 64x64 canvas"

**Approach:**
1. Create 64x64 RGB canvas
2. Draw brown (#8B4513) rectangle for trunk (using draw_rectangle)
3. Draw green (#228B22) irregular shape for foliage (using draw_contour or multiple rectangles)
4. Add details with individual pixels
5. Describe the tree to user

## Technical Details

### Canvas Properties
- **Width/Height**: 1-65535 pixels (practical limit usually <1024)
- **Color Modes**:
  - RGB: 24-bit color (16.7 million colors)
  - Grayscale: 8-bit (256 shades of gray)
  - Indexed: 1-256 colors from palette

### Drawing Coordinates
- Origin (0, 0) is top-left corner
- X increases rightward
- Y increases downward

### Performance
- Batch pixel operations when possible
- Drawing operations complete in <100ms typically
- Large canvases (>512x512) may take slightly longer

### Limitations
- Cannot create canvas smaller than 1x1
- Cannot create canvas larger than 65535x65535 (practical limit much lower)
- Cannot delete last layer
- Indexed mode palette limited to 256 colors maximum

## Common Patterns

### Pattern: Quick Sprite
For simple requests like "create a sprite":
- Default to 64x64 RGB canvas
- Add basic shape or placeholder
- Ask user for refinements

### Pattern: Retro Game Sprite
For retro-style requests:
- Use Indexed color mode
- Set appropriate palette (NES, Game Boy, C64, etc.)
- Use limited colors and pixel-perfect drawing

### Pattern: Icon Creation
For icon requests:
- Use 16x16, 24x24, or 32x32 dimensions
- RGB mode for modern icons
- Simple, recognizable shapes
- High contrast colors

## Integration with Other Skills

- **Hand off to pixel-art-animator** when user mentions "animation", "frames", or "movement"
- **Hand off to pixel-art-professional** when user asks for "dithering", "shading", or "palette refinement"
- **Hand off to pixel-art-exporter** when user asks to "export", "save", or mentions file formats

## Error Handling

**If canvas creation fails:**
- Check dimensions are valid (1-65535)
- Verify color mode is spelled correctly
- Suggest alternative dimensions if too large

**If drawing fails:**
- Verify coordinates are within canvas bounds
- Check color format is valid hex (#RRGGBB)
- For Indexed mode, ensure palette is set first

**If layer operations fail:**
- Cannot delete last layer (inform user)
- Layer names should be descriptive strings

## Success Indicators

You've successfully used this Skill when:
- Canvas created with correct dimensions and color mode
- Drawing operations complete without errors
- User can see or understand what was created
- Sprite is ready for next steps (animation, export, refinement)

© willibrandon · MIT · willibrandon/pixel-plugin

Похожие скиллы

Все скиллы по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →
pixel-art-sprites omer-metin Скилл pixel-art-sprites настраивает ассистента на отрисовку спрайтов и тайлсетов. Пригодится при разработке ретро-игр с жёсткими лимитами палитры и кадров. CX Codex +1 3 300установок pixel-art omer-metin Скилл pixel-art для Claude Code и других агентов: палитры, дизеринг, субпиксельная анимация, тайлы и ограничения ретро-железа. Даёт знания для работы со спрайтами и тайлсетами. CX Codex +1 629установок layer-pixel-art layerai Скилл layer-pixel-art для генерации пиксель-арта в Layer: спрайты, тайлы, циклы ходьбы и сборка кадров в спрайт-лист. Помогает, когда картинка выходит размытой или не по сетке. CX Codex +1 5 100установок Pixelbolt pixel art toolkit skulitom MCP-сервер Pixelbolt pixel art toolkit генерирует пиксель-арт и покадровую анимацию из JSON-рецептов для 2D-игр. Сервер полезен, когда агенту нужно рисовать, проверять и точечно править спрайты прямо в коде. CX Codex +1 ★ 133звёзд репо Retro Diffusion Pixel Art Retro-Diffusion MCP-сервер Retro Diffusion Pixel Art подключает модели генерации пиксельной графики для создания спрайтов, тайлсетов и анимаций с чёткой сеткой. Он помогает быстро собирать визуальные игровые ассеты прямо в редакторе кода. CX Codex +1 ★ 8звёзд репо pixel-art-director LucasJRamos Субагент pixel-art-director для Claude Code оценивает спрайты и анимации SpriteKiln перед финализацией ассета. Он проверяет силуэты, контраст и лица, выдавая список правок без изменения файлов. CX Codex ★ 177звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой