0x0funky/agent-sprite-forge / skills/codeart2d
codeart2d
VerifiedExplicit-only last resort. Draws game art from code, with no image model - pixel sprites from a PixelSpec, flat vector props, UI and icons from portable SVG, rigged characters with planted feet, FX with a JS runtime, seam-proven autotiles, playable top-down layouts with collision, stylized parallax and ambient plate motion - palette-exact, with QA and review sheets. Use only when the user explicitly asks for code-drawn art, or when generate2dmedia route_media.py finds no image or video route (no-route, exit 3). Never the default - image generation (generate2dsprite, generate2dmap, video2dsprite) comes first for characters, props, maps and FX. Not for painterly, detailed or likeness art, HD-2D plates or realistic fire, smoke or water. Always disclose the result as code-drawn.
examples/parallax-gen.json
View on GitHub{
"schema": "codeart2d.parallax_spec.v1",
"viewport": [480, 270],
"camera": {"x": [0, 1920], "y": [0, 0], "zoom": [1, 1]},
"seed": 11,
"pixel_art": true,
"sweep_frames": 49,
"layers": [
{
"id": "sky",
"kind": "sky",
"colors": ["#1b1f3b", "#5d3f6a", "#c06070"],
"bands": 8,
"dither": true,
"stars": {"count": 60, "color": "#f4f4f4", "band": [0.0, 0.45]}
},
{
"id": "clouds",
"kind": "clouds",
"scroll": 0.08,
"period": 480,
"count": 5,
"y_range": [30, 90],
"size": [8, 16],
"fill": "#d9a0a8",
"shade": "#a8707e"
},
{
"id": "far",
"kind": "ridge",
"role": "far",
"scroll": 0.2,
"period": 480,
"base_y": 170,
"amplitude": 70,
"cells": 3,
"fill": "#333c57",
"rim": "#566c86",
"rim_px": 2
},
{
"id": "mid",
"kind": "ridge",
"role": "mid",
"scroll": 0.5,
"period": 640,
"base_y": 215,
"amplitude": 50,
"cells": 4,
"fill": "#257179",
"rim": "#38b764",
"trees": {"count": 40, "height": [8, 18], "width_ratio": 0.5, "tiers": 3}
},
{
"id": "near",
"kind": "foreground",
"scroll": 1.25,
"period": 800,
"base_y": 258,
"amplitude": 14,
"cells": 6,
"fill": "#1a1c2c",
"grass": {"count": 80, "height": [4, 10]}
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |