Generate2dsprite
Use this skill for self-contained 2D sprite or animation assets.
Install
mkdir -p .claude/skills/generate2dsprite && curl -L -o skill.zip "https://mcp.directory/api/skills/download/9509" && unzip -o skill.zip -d .claude/skills/generate2dsprite && rm skill.zipInstalls to .claude/skills/generate2dsprite
About this skill
Generate2dsprite
Use this skill for self-contained 2D sprite or animation assets.
When a larger game or playable prototype needs sprites, use this skill for the visible sprite assets and keep runtime/game assembly separate. Do not replace requested sprite assets with code-drawn placeholders.
Parameters
Infer these from the user request:
asset_type:player|npc|creature|character|spell|projectile|impact|prop|summon|fxaction:single|idle|cast|attack|shoot|jump|hurt|combat|walk|run|hover|charge|projectile|impact|explode|deathview:topdown|side|3/4sheet:auto|2x2|2x3|2x4|3x3|3x4|4x4|5x5|custom_grid|strip_1x3|strip_1x4frames:autoor explicit countbundle:single_asset|unit_bundle|spell_bundle|combat_bundle|line_bundle|hero_action_bundle|engine_atlaseffect_policy:all|largestanchor:center|bottom|feetmargin:tight|normal|safeart_style: pixel_art | clean_hd | pixel_inspired | retro_pixel | map_style | project-nativereference:none|attached_image|generated_image|local_filelayout_guide:none|optional|recommendedprompt: the user's theme or visual directionrole: only when the asset is clearly an NPC rolename: optional output slug
Read references/modes.md when the request is ambiguous.
Agent Rules
- Decide the asset plan yourself. Do not force the user to spell out sheet size, frame count, or bundle structure when the request already implies them.
- Do not pack unrelated actions into one raw generated sheet just to satisfy a
4x4,5x5, or custom engine atlas. A raw generated sheet should represent one action family, one continuous sequence, one canonical directional locomotion sheet, or one prop/asset pack. - For controllable heroes, main characters, and high-value player assets with multiple actions, generate separate per-action grid sheets first, QC each action, then deterministically assemble the engine-required atlas only after the grids pass visual review.
- For controllable heroes, main characters, and high-value player body actions, default attack/shoot/cast body sheets to body-only. Do not include large slash arcs, muzzle flashes, projectiles, impact bursts, detached dust, long trails, or wide detached FX in the body sheet. Generate those as separate
fx,projectile, orimpactsheets and layer them in the game. - Only include wide attack FX in the same raw body sheet when the target runtime explicitly supports wider per-action cells plus per-action origin/anchor metadata. Otherwise, a wide FX bbox will force the body to shrink inside the fixed cell.
- Write the art prompt yourself. Do not default to the prompt-builder script.
- Use built-in
image_genfor every raw image. - Do not create raw sprite art with Three.js, Canvas, SVG, HTML/CSS drawing, PIL shape drawing, procedural geometry, placeholder primitives, or code-rendered screenshots. Runtime code may display finished generated assets, and scripts may make layout guides or postprocess generated images, but requested sprite art must originate from built-in
image_gen. - When the user provides or implies a visual reference, use built-in image edit/reference semantics only after the reference image is visible in the conversation context. If the reference is a local file, call
view_imagefirst; do not rely on a filesystem path in the prompt as the visual reference. - Do not force pixel art when the asset is a map prop for
$generate2dmapor when the user/project requests a different style. Match the map or reference style first. - Use the script only as a deterministic processor: magenta cleanup, frame splitting, component filtering, scaling, alignment, QC metadata, transparent sheet export, and GIF export.
- Do not use scripts to generate the creative image prompt. If a legacy prompt-builder command exists, treat it as historical compatibility only, not the normal skill workflow.
- Layout guides are allowed only as deterministic geometry references for image generation. They may show slot count, spacing, centering, and safe padding, but must never define the creative art direction.
- Treat script flags as execution primitives chosen by the agent, not user-facing hardcoded workflow.
- If a generated sheet touches cell edges, drifts in scale, or breaks a projectile / impact loop, either reprocess with better primitive settings or regenerate the raw sheet.
- Do not use raw single-row sheets such as
1x4,1x6,1x8, or1xNfor characters, players, controllable heroes, creatures, NPCs, enemies, summons, animated props, or any asset where a body/subject must stay centered. Single-row raw generation is too likely to drift horizontally and crop inconsistently. - For animated body assets, use a multi-row grid by default: 4 frames ->
2x2, 6 frames ->2x3, 8 frames ->2x4, 9 frames ->3x3, 12 frames ->3x4or4x3, 16 frames ->4x4. - If a game engine needs a final single-row strip or mixed atlas, first generate and QC the action as a multi-row grid, then assemble the delivery strip/atlas deterministically.
- In every animated body grid prompt, require the subject body to stay centered in each cell, full body inside the central 60% to 70% safe area, consistent scale across cells, stable feet/bottom anchor line when applicable, and no limbs, weapons, hair, capes, dust, muzzle flashes, or detached FX crossing cell edges.
- For hero attack body prompts, explicitly require body height and body scale to match the accepted idle/run sheets, stable feet/bottom anchor, weapon kept close enough to avoid widening the body bbox, and no detached slash arc or screen-space attack effect.
- For map prop packs, classify props before choosing a grid. Square
2x2,3x3, and4x4packs are only for compact props. Do not put platforms, floors, bridges, walls, ladders, gates, doors, long hazards, wide/tall props, collision-bearing objects, or tileset/strip pieces into square prop packs; use one-by-one,1x3/1x4strips, custom wide cells, or a tileset-like atlas instead. - Keep the solid
#FF00FFbackground rule unless the user explicitly wants a different processing workflow.
Workflow
1. Infer the asset plan
Pick the smallest useful output.
Examples:
- controllable hero with four directions ->
player+player_sheet - side-view controllable hero with idle/run/shoot/jump ->
player+hero_action_bundle- idle grid sheet, usually
2x2for 4 frames - run grid sheet, usually
2x2or2x3depending on needed frame count - shoot grid sheet with body/weapon only, usually
2x2 - jump grid sheet, usually
2x2 - projectile / muzzle flash as separate assets when needed
- optional assembled engine atlas after per-action QC
- idle grid sheet, usually
- side-view controllable hero with melee attack ->
player+hero_action_bundle- attack body grid sheet, usually
2x2or2x3, body-only - slash arc / weapon trail as a separate
fxsheet when the attack needs a wide visual effect - impact spark as a separate
impactsheet when hits need feedback
- attack body grid sheet, usually
- healer overworld NPC ->
npc+single_assetorunit_bundle - large boss idle loop ->
creature+idle+3x3 - wizard throwing a magic orb ->
spell_bundle- caster cast sheet
- projectile loop
- impact burst
- monster line request ->
line_bundle- plan 1-3 forms
- per form, make the sheets the request actually needs
2. Write the prompt manually
Use references/prompt-rules.md.
Choose art_style before writing the prompt:
- Use
pixel_artorretro_pixelfor classic sprites, 16-bit RPG actors, and requests that explicitly ask for pixel art. - Use
clean_hdfor map props or assets intended to match clean hand-painted HD maps. - Use
pixel_inspiredonly when the user wants a pixel-adjacent look without retro chunkiness. - Use
map_styleorproject-nativewhen an existing map, game, or reference should define the style.
If a reference is involved:
- Make the reference visible first. For local paths, use
view_image; for freshly generated references, rely on the image already shown in context. - State the reference role explicitly: preserve identity/style, create an animation sheet for the same subject, create an evolution/variant, or derive a matching prop/FX.
- Preserve the stable identity markers from the reference: silhouette, palette, face/eye features, costume marks, major accessories, and material language.
- Let only the requested action or evolution change. Do not redesign the subject unless the user asks.
- Still require exact sheet shape, solid magenta background, frame containment, and same scale across frames.
Keep the strict parts:
- solid
#FF00FFbackground - exact sheet shape
- same character or asset identity across frames
- same bounding box and pixel scale across frames
- explicit containment: nothing may cross cell edges
Mixed-action atlas guardrail:
- Do not ask
image_gento generate unrelated action rows in one raw sheet, such asrow 1 idle, row 2 run, row 3 shoot, row 4 jump, for a controllable hero or main character. - Do not ask
image_gento generate raw single-row action strips such as1x4 idle,1x4 run,1x4 shoot, or1x4 jumpfor a controllable hero, character, creature, NPC, enemy, summon, or animated prop. - If an engine needs a combined
4x4,5x5, custom atlas, or row-strip delivery format, generate the action grids separately, process and QC them separately, then assemble the delivery atlas deterministically. - Exceptions are canonical directional locomotion sheets, one continuous long action sequence, prop packs, tileset-like atlases, and low-stakes compact enemy combat sheets. These still need one coherent prompt and visual QC.
- Keep projectile, muzz
Content truncated.
More by 0x0funky
View all skills by 0x0funky →You might also like
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
Related MCP Servers
Browse all serversAutomate LibreSprite pixel art, batch image edits & animation using a Flask server with JavaScript scripting integration.
Access 135+ animated React UI components from ReactBits.dev with intelligent caching, dependency detection, and quality scoring for modern apps.
Turn static images into stunning Ghibli-style animations with this AI video generator. Monitor tasks and credit balance easily.
Convert HTML/CSS/JS animations to MP4 videos locally with Playwright backend. Perfect for AI agents generating video content.