Validate
validateLint a sprite against pixel-art rules and report located problems such as off-palette colors, stray pixels, broken outlines, and animation issues before calling it done.
Instructions
Lint a sprite against pixel-art rules and report concrete, located problems. Checks: off-palette colours, orphan/stray pixels, broken or doubled outlines, banding, semi-transparent (soft or resized) pixels, empty layers, untagged frames and uniform frame timing; expect adds per-layer frame ranges and layers that must not overlap. Symmetry and cross-frame volume drift are not checked — judge those with look op 'ascii' and 'filmstrip'. Run this before telling the user a sprite is finished. It answers 'is this actually done' with evidence rather than optimism.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | Omit to run everything. | |
| expect | No | The animation contract you already know. Runs independently of `checks`, whenever given: flags art outside a layer's expected frame ranges (or a missing cel inside one), and any frame where two named layers' opaque pixels overlap. | |
| sprite | No | Which sprite: its id as '#7' (what every result reports back, and the only unambiguous form — two unsaved documents are both called 'Sprite'), its filename, or its display name. Omit to use the sprite Aseprite has focused. | |
| strict | No | Treat style warnings as failures. Use when the user asked for a specific discipline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | ||
| passed | Yes | ||
| sprite | Yes | ||
| summary | Yes | ||
| findings | Yes |