openpixel-pixel-art
/openpixel-pixel-art
Tworzy, poprawia i animuje czytelną grafikę pixel art w OpenPixel, zaczynając od pytań i szkicu SVG do akceptacji.
- Autor
- yaso09 ↗
- Repozytorium
- openpixel ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 10
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy, poprawia i animuje czytelną grafikę pixel art w OpenPixel, zaczynając od pytań i szkicu SVG do akceptacji.
Oryginalny opis (EN)
Create, refine, and animate readable pixel art in OpenPixel. Use for image and animation work that starts with decision questions and an SVG concept draft for user approval before pixel-art implementation.
Jak działa
- First: understand the deliverable
- OpenPixel contract
- Craft workflow
- Use OpenPixel tools deliberately
- Quality gate before delivery
- Prompt plan for image-capable models
- Reliable references
Podgląd SKILL.md
---
name: openpixel-pixel-art
description: Create, refine, and animate readable pixel art in OpenPixel. Use for image and animation work that starts with decision questions and an SVG concept draft for user approval before pixel-art implementation.
---
# OpenPixel Pixel Art Craft
Create deliberate, readable pixel art and animations that work in OpenPixel's actual format. Treat every pixel as a design decision. Prefer a strong shape and a small number of purposeful clusters over noisy detail or a raster image that only looks pixelated after downscaling.
## First: understand the deliverable
Before creating or changing pixel art, ask the user a concise set of decision questions covering any unspecified or ambiguous choices: subject/action, canvas size, composition or pose, mood/style, palette, background/transparency, intended use, and still versus animation. Do not ask them to repeat details they already gave. If the brief already settles these choices, ask a brief confirmation question about the proposed direction. Wait for answers when they affect the design.
Once the direction is clear, make a standalone SVG concept sketch at the intended aspect ratio and canvas proportions. For animation, show the key poses as a small SVG storyboard. Keep this sketch distinct from the OpenPixel artwork: use broad silhouettes and composition shapes, not pixel matrices or a finished pixel-grid rendering. Present the actual SVG preview to the user with a short summary and ask whether they approve it or want changes. Do not create or edit the OpenPixel JSON, pixel matrices, or final artwork until the user explicitly approves the SVG draft.
If the user wants changes or does not approve the draft, revise the SVG and present it again, then ask for approval. Repeat this draft-and-review cycle until approval is explicit. A request to begin the project is not approval of a draft the user has not seen. If the environment cannot display SVG inline, provide the available preview or file path clearly and wait for the user's review; do not claim they have seen it.
Use the exact requested canvas dimensions. Otherwise choose a compact canvas suited to the subject and its smallest necessary features; 16x16, 24x24, and 32x32 are useful starting points, not rules. Keep a one-pixel feature only when it survives inspection at native size. Leave transparent negative space when it helps the silhouette.
If the user supplies a reference, use it to understand subject, pose, mood, and broad color relationships. Create a fresh arrangement; do not trace or reproduce a living artist's distinctive style. Describe visual attributes instead (limited warm palette, chunky clusters, high contrast, top-left light).
## OpenPixel contract
Read the local schema and examples when present: `schemas/pixel-art.v1.schema.json` and `examples/`. The v1 document shape is:
```json
{
"version": 1,
"revision": 1,
"name": "Ember moth",
"width": 16,
"height": 16,
"loop": true,
"layers": [{ "id": "body", "name": "Body", "visible": true, "opacity": 1 }],
"frames": [{
"durationMs": 120,
"layers": [{ "layerId": "body", "pixels": [[null, "#F2A65A"]] }]
}]
}
```
The example matrix is abbreviated: every layer matrix must contain exactly `height` rows, each with exactly `width` entries. Use `null` for transparency and `#RRGGBB` (or schema-supported `#RRGGBBAA`) for pixels. Each frame contains one matrix for every declared layer, keyed by its exact `layerId`. Layer array order is back to front. IDs use letters, digits, `_`, or `-`. Frame durations are integer milliseconds from 1 through 60000. Coordinates and frame indexes are zero-based.
`version: 1` identifies the document schema; it is separate from both the artwork revision and the OpenPixel application version. `revision` tracks the edit sequence for this artwork. Start new assets at revision 1. CLI and MCP creation tools do this automatically, and each successful edit command/tool increments the revision once. Read-only operations such as inspect, validate, and render do not increment it. Treat legacy assets without `revision` as revision 1.
Before refining an existing asset, inspect it with CLI `inspect` or MCP `inspect_asset` and note its current revision. Preserve the previous file when possible by writing the next revision to a distinct output path. Each successful CLI/MCP edit automatically opens a local comparison window between the previous and new revisions. Review it before delivering the work; the user can switch among side-by-side, adjustable overlay, and pixel-diff views, and select animation frames. After edits, inspect again and report the resulting revision. If several CLI/MCP edit operations are needed, each operation creates the next revision and opens its own comparison. When directly rewriting JSON instead of using an edit tool, save a copy of the previous file, preserve the revision number and increment it once for that logical edit, then open a comparison with CLI `openpixel compare previous.json current.json` or MCP `compare_assets`. Never reset or increment the revision for rendering, validation, or other read-only work.
Keep transparent art transparent unless the user asks for a backdrop. Use a background layer only when the background is part of the artwork. Use separate layers for parts that need independent visibility or different animation, not for every shading color. The renderer uses crisp SVG edges; it does not blur or smooth pixels for you.
## Craft workflow
### Draft and approval gate
This gate applies to new pixel-art designs and requested visual redesigns. Complete the decision questions and SVG draft review above before building or modifying pixel art. After approval, implement the approved composition and design choices in OpenPixel, then follow the craft workflow and quality gate below. If implementation needs a material change from the approved draft, pause, show an updated SVG draft, and get approval again before applying that change.
### SVG concept quality
Treat the SVG as a deliberate visual concept, not a placeholder made of unrelated shapes. Set a `viewBox` matching the intended canvas proportions, use clear negative space and a focal hierarchy, and organize the composition in named back-to-front groups such as background, midground, subject, and foreground. Give it a descriptive `<title>` when the preview method supports accessible SVG metadata.
Before presenting the draft, render it with an available SVG-capable tool and inspect the rendered image at the size the user will see. Check composition, scale, alignment, silhouette, proportions, overlaps, and palette contrast. Correct visible problems with focused edits and render again; never treat valid SVG markup alone as proof that the draft looks right. For characters and animals, establish the main body silhouette first, then add limbs and features while checking that forms connect naturally. For scenes, build back-to-front and keep supporting areas quieter than the focal subject.
Keep the draft easy to translate into pixel clusters: prefer a few intentional, clear shapes and a restrained palette. Gradients, filters, shadows, and texture are optional; use them only when they clarify the requested concept, and do not let effects obscure the silhouette or imply detail that the approved pixel-art design does not need. These practices adapt the render-inspect-fix loop from [SVG Creator](https://github.com/upbrew-tech/svg-creator-skill/blob/main/SKILL.md) and the canvas, spacing, and SVG organization guidance in [SVG Illustration](https://www.skills.sh/narumiruna/skills/svg-illustration).
### Style and composition decisions
Choose the pixel density to fit the deliverable instead of treating one style as universal. Use fewer, larger clusters for tiny sprites and icons; use more deliberate material and lighting clusters for large canvases and scenes. Keep the pixel grid crisp at every size. For scenes, establish foreground, focal subject, and background with clear contrast hierarchy. For characters, prioritize pose, silhouette, facing, and proportion before costume detail. For buildings and objects, establish the outer contour and major planes before texture. If a brief mixes subjects, make one the focal subject and arrange the others to support it.
When a user provides a visual reference, extract broad traits such as palette temperature, contrast, density, and mood, then create an original arrangement. Do not copy a distinctive composition or imitate a named living artist. Keep typography and logos out of pixel matrices unless explicitly requested; text is usually clearer as a separate SVG or HTML layer.
### Palette, color, and shading
Treat palette size as a design choice, not a universal target. Start with a few role-based colors: outline or deepest shadow, shadow, local color, light, and optional accent. Add colors only when they separate forms, describe material, or improve the focal hierarchy. Check value separation in grayscale and make the silhouette readable against its background. Reuse colors across materials to unify the image.
Build short ramps from shadow through midtone to highlight. Hue shifting can make ramps more lively: shadows may move cooler and highlights warmer, depending on the scene's light. Keep the light direction consistent across objects and frames. Prefer broad, hard-edged planes and selective highlights. Avoid pure black outlines and pure white highlights unless the style calls for them.
Use dithering selectively for a specific texture or transition. Ordered patterns such as Bayer can create controlled retro texture; error-diffusion patterns can soften a transition but may introduce visual noise. In hand-authored OpenPixel matrices, place dither clusters deliberately and keep them localized. Do not apply a blanket dither or automatic quantization to clean pixel clusters. Avoid checkerboard shading, banding, pillow shading, muddy near-duplicate colors, and scattered single-pixel noise. Anti-aliasing is optional and should be used sparingly; preserve crisp edges and omit it on tiny sprites when it blurs the silhouette.
### Refinement passes
When polishing an existing asset, inspect it at native size first, then enlarge it with crisp integer scaling. Work in this order: silhouette and composition; cluster shape and contour rhythm; value contrast and palette; lighting and shading; material texture; single-pixel accents. Remove pixels that do not improve recognition, depth, material, or mood. Check for stray pixels, broken contours, uneven stair steps, accidental tangencies, inconsistent outline thickness, and merges between adjacent forms. If a requested palette limit is given, honor it exactly and count distinct opaque colors after editing.
### Animation planning
Plan animation with readable key poses before adding in-between frames. Typical actions need anticipation, action/contact, and recovery, but use only the poses the motion needs. Small idle loops can use two or three frames; walk and run cycles often need four to eight; these are starting points, not requirements. Use frame durations to control emphasis: hold a readable pose longer, and keep impacts or quick transitions brief. Do not assume a fixed FPS or equal timing unless requested.
Keep scale, pivot, contact points, volume, palette, silhouette identity, and light direction consistent across frames. Animate only the layers that need to move; keep static layers identical across frames. A loop should transition cleanly from the last frame back to the first. OpenPixel v1 has ordered frames, per-frame durations, and one global loop flag; it does not support animation tags, linked cels, or onion-skin metadata. Do not promise or add those features. For sprite sheets or GIF/video exports, use only supported OpenPixel outputs and available external encoders, and state any format limitation.
### 1. Plan the image at thumbnail scale
Write a one-line subject statement and identify the focal point. Decide on a clear silhouette, view angle, canvas footprint, and a simple foreground/midground/background plan if it is a scene. Reserve negative space around important forms. Check that the subject remains identifiable as a single dark shape before adding details.
For characters and creatures, establish head/body proportions, facing direction, limb placement, and a readable pose. For objects, establish the outer contour and major planes. For scenes, use a foreground anchor, a focal subject, and a quieter background; avoid giving every area equal contrast.
### 2. Block in large shapes
Build large flat masses first. Use a small ASCII/block map or coordinate notes if it helps keep geometry coherent, then translate it into matrices. Keep clusters connected and shaped: avoid stray single pixels, accidental holes, uneven stair steps, and long parallel pixel bands. Use deliberate 1-pixel accents only when they clarify a feature or sparkle.
Inspect contours at native size. On diagonals and curves, use intentional step lengths and consistent rhythm. Pixel art does not require anti-aliasing: leave a hard edge when that is clearer. Add a small intermediate-color ramp only to solve a specific edge or value transition; avoid automatic smoothing and muddy outlines.
### 3. Choose a functional palette
Start with a compact palette whose colors have jobs: outline/deep shadow, local midtone, light, and one or two accents. Choose colors by value separation first, then hue and saturation. Shift hue across a ramp where it supports the material or light (often cooler/darker shadows and warmer/brighter highlights), but do not apply this mechanically. Make the focal point carry the clearest contrast. Reuse colors across materials to keep the image unified.
Check the image in grayscale or as a solid silhouette: important regions should still separate. Avoid near-duplicate colors, indiscriminate gradients, and pure black outlines everywhere. A recognizable published palette can be a starting constraint, but never assume every palette fits every subject. Cite or identify a palette when you deliberately adopt one.
### 4. Shade and texture with restraint
Keep the light source consistent across planes and layers. Use a few readable shadow and highlight clusters that describe form. Prefer broad planes and selective highlights over a smooth ramp on every object. Use dithering only when a patterned texture or controlled transition benefits the image; keep it localized and purposeful. Do not let checkerboards replace form shading. Avoid pillow-shading (uniform bands around forms), noisy pixel scatter, excessive texture, and banding where similarly sized color steps form accidental stripes.
### 5. Refine by editing clusters
Zoom in to find broken contours, isolated pixels, accidental tangencies, inconsistent outline thickness, merged forms, and clusters that fight the intended light. Zoom back out to judge readability and focal hierarchy. Remove details that do not help recognition, material, depth, or mood. Pixel count and palette size are tools, not quality scores.
### 6. Build animation from poses
For motion, first define the action and its readable key poses (for example: anticipation, contact/action, recovery). Decide which layers stay still and which move. Make pose changes meaningful at the target resolution; do not merely flicker colors or shift the whole sprite unless that is the intended effect.
Preserve character volume, scale, pivot/foot contact, silhouette, light direction, and palette across frames. Use holds where the action needs emphasis and shorter durations for quick events; timing is a design choice, not a fixed FPS recipe. Start with a few frames, then add only frames that improve the motion. For loops, make the transition from the last frame back to the first feel intentional. Aseprite's concepts of timeline, layers, frame durations, onion skinning, and loop sections are useful references, but OpenPixel v1 currently stores ordered frames and one global `loop` flag; it has no animation tags or onion-skin metadata.
For each frame, check the full layer set and matrix dimensions. Inspect all frames in sequence, not just the first and last. Keep static layers byte-for-byte identical across frames when possible. Use frame durations to express timing; never assume all frames should have the same duration.
## Use OpenPixel tools deliberately
Discover what is available in the current environment before choosing an interface. Do not invent a tool, command, image preview, or write result.
- **MCP**: use `create_asset`, `set_pixel`, `set_layer`, `add_frame`, `set_frame_duration`, `set_loop`, `inspect_asset`, `compare_assets`, `validate_asset`, `render_frame`, and `render_all_frames` as appropriate. MCP edits take explicit source and output paths. New assets start at revision 1; each successful edit tool increments and reports the revision, then opens the compare window. Inspect before and after a refinement to track the change. `set_pixel` edits one coordinate; for larger generated images, author the JSON matrices directly when file access is available, preserve/increment `revision`, then validate and render through MCP and compare the previous and current files with `compare_assets`.
- **CLI**: use `openpixel new`, `set-pixel`, `set-layer`, `add-frame`, `set-frame`, `set-loop`, `inspect`, `validate`, `compare`, `render`, and `render-frames`. Write edits to an explicit output path. New assets start at revision 1; each successful edit command increments and reports it, then opens the compare window. Inspect before and after a refinement to track the change. Example: `openpixel render art.json --frame 0 --scale 8 --output preview.svg`; `openpixel render-frames art.json --scale 8 --out-dir previews`.
- **TypeScript renderer**: call `validatePixelArt(asset)` before `renderFrameToSvg(asset, { frameIndex, pixelSize, background, title })`. `mountPixelArt(element, asset)` is browser-only playback. Use the actual package API and existing build state.
- If MCP or CLI is unavailable, create a v1 JSON file only if workspace file editing is available. Say which checks could not be run.
The CLI exports SVGs, one per frame. OpenPixel does not currently encode a video file. If a video is requested, create and validate the asset, export the numbered SVG frames, then use an available external raster/video encoder only if the environment provides one; state any missing encoder or format conversion rather than claiming video output exists. SVG remains vector containers of crisp pixel rectangles, so preserve the pixel grid when converting.
## Quality gate before delivery
1. Validate against the local JSON Schema and OpenPixel validator when available.
2. Confirm every frame has all declared layers and every matrix has exactly the requested dimensions.
3. Inspect at native size and at an integer enlargement with nearest/crisp edges.
4. Check silhouette, focal hierarchy, value contrast, palette reuse, light direction, and transparency.
5. Check contours for jaggies, broken clusters, accidental tangencies, stray pixels, banding, pillow-shading, and noisy dithering.
6. For animation, inspect every frame and timing, confirm volume/anchor consistency, and preview the loop boundary.
7. Render the requested frame or all frames. If the UI supports previews, look at the rendered result; an SVG being generated successfully is not visual proof of craft quality.
8. Report output paths, dimensions, frame count/durations, palette size when known, and validation/render results. Mention limitations plainly.
Do not add a palette restriction, background, animation loop, or extra ornament that the user did not request. Do not equate technical validity with artistic quality.
## Prompt plan for image-capable models
When another image-generation model is available, give it concrete production constraints, then translate or clean the result into true grid-aligned OpenPixel matrices. A useful brief names: subject and action; exact canvas; viewpoint and silhouette; focal hierarchy; a restrained palette with light direction; cluster-based shading; transparency; and explicit exclusions (no gradients, blur, anti-aliased edges, subpixel placement, text, or extra objects unless wanted). Image generation is a draft source, not proof of a valid OpenPixel asset. Inspect at native resolution, rebuild or clean clusters, map colors to the chosen palette, and run the quality gate.
## Reliable references
Use these as technique references, not as mandatory style rules:
- Cure, [The Pixel Art Tutorial](https://pixeljoint.com/forum/forum_posts.asp?TID=11299) — clusters, jaggies, anti-aliasing, dithering, banding, pillow-shading, noise, and palette practice.
- Lospec, [Pixel Art Palette Library](https://lospec.com/palette-list) and [Developer API documentation](https://api.lospec.com/docs/) — palette discovery and color-count filtering. Treat community palettes as authored resources; credit a selected palette where appropriate.
- Aseprite, [Sprite basics](https://www.aseprite.org/docs/basics/), [Animation](https://aseprite.com/docs/animation/), and [Sprite structure](https://www.aseprite.org/docs/sprite/) — frames, layers, cels, durations, preview, and loop workflows.
- Saultoons, [Pixel Art Animation Tutorial](https://www.youtube.com/watch?v=iWvfaiiVuDI) — reference breakdown, key poses, smear frames, timing, and secondary motion.
- Toronja GB, [Anti-aliasing: The Swiss Army Knife in Pixel Art](https://www.youtube.com/watch?v=Bm1gRlXWUT4) — AA, banding, pillow-shading, and when smoothing is unnecessary.
Source pages were checked on 2026-10-29. Recheck current project schema and tool docs before relying on implementation details; technique advice is a set of choices, not universal law.
Wersje
W bazie nie ma innych skilli o nazwie openpixel-pixel-art.
Migawka bazy z 13.11.2026 · wersja paczki ef253abe8fe8 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90pixel-art
Zamienia obraz referencyjny w pixel art 64x64 z bramkami akceptacji i zapisuje wynik jako HTML, PNG i SVG, z tłem i bez tła. - 100pixel-art
Generuje ilustracje pixel art w formacie SVG do plików README, dokumentacji i slajdów. - 100pixel-art
Generuje ilustracje pixel art w formacie SVG do README, dokumentacji i slajdów, na przykład jako obrazek główny. - 100poku-pixel-fx
Tworzy i poprawia efekty pixel art oraz arkusze sprite'ów w lokalnej bibliotece Poku Pixel FX, do grafiki gier. - 100pixel-art-generation
Generuje grafikę pixel art do gier: sprite'y, animacje, tła i miniatury, dzieli arkusze sprite'ów i usuwa tła ze sprite'ów. - 84scene
Tworzy sceny pixel-art w jednym samodzielnym pliku HTML (przerywniki, ekrany tytułowe, dialogi, pętle ambientowe), opcjonalnie z dźwiękiem.