Generateimages inone style.
asset-canon gives your coding agent a repeatable workflow for image generation: plan the brief, lock the style, generate the set, optimize the files, and document every asset.
npx skills add github:dodoxtech/asset-canonWHAT IS ASSET-CANON?
asset-canon is a set of AI image-generation skills for your coding agent. Describe what you need in a sentence — it plans, generates, optimizes, and writes production-ready image files straight to your repo.
BRIEF IN · FILES OUT (webp/png/ico) · IN YOUR REPO.
ONE PATH. EVERY TIME.
Describe it once. The orchestrator plans, the model generates, and deterministic files land straight in your repo.
BRIEFPLANGENERATEOPTIMIZEWRITEREPORTBRIEF
Your words become the spec.
PLAN
Style locked. Targets mapped.
GENERATE
Model renders every pixel.
OPTIMIZE
sharp compresses, no quality loss.
WRITE
Deterministic files land on disk.
REPORT
What shipped, where, why. Done.
CONSISTENCY STARTS IN YAML.
The skill writes docs/style-profile.yaml first, then makes each image in a separate generation pass. Four prompts, four renders, one shared visual world.
BRIEF→style-profile.yaml→4 SEPARATE IMAGE GENERATIONS→ONE WORLDid: storybook-adventure style: disney-inspired family animation palette: [ink, cream, sky, cherry, gold] line: rounded clean outline shading: soft cel, no photorealism shape_language: warm, expressive, toy-like negative: - random style drift - harsh realism - mismatched costumes - off-palette colors
generation pass 01Hero character
Brave kid inventor, warm family-animation proportions, round expressive face, same costume language.
generation pass 02Sidekick character
Tiny clockwork helper, same eye shape, same palette, same soft storybook silhouette rules.
generation pass 03Magic tool
Oversized glowing paintbrush-wrench, same highlight colors, same outline weight, same material rules.
generation pass 04Prop set
Backpack, compass, star badge, and potion bottle generated later but still reading as one world.
REFERENCE STYLE BECOMES A SPRITE.
The reference is analyzed into a reusable YAML profile, then that profile drives a new sprite render in the same painterly world.

Generate an 8-frame front-running sprite for Homer Simpson from ref-starrynight-v1. Use only the extracted style: post-impressionist impasto oil, cobalt and ultramarine night blues, luminous golden highlights, swirling brushstrokes, visible canvas texture, low-key nocturnal contrast.
post-impressionist oil / thick impasto
deep cobalt + ultramarine field, golden-yellow accents
visible swirling directional brushstrokes and canvas grain
warm point-source glow against cool nocturnal shadows
no flat color, no vector edges, no plastic sheen
id: ref-starrynight-v1 source_ref: docs/assets/refs/starry-night.jpg medium: painterly palette: - "#0B1320" - "#1D212E" - "#263961" - "#45648E" - "#6988A3" - "#94A399" - "#B2BDA3" - "#CCCE7B" - "#B4A640" color: saturation: muted temperature: cool contrast: medium harmony: complementary line: none shading: soft-gradient lighting: "luminous point-sources (stars/moon), low-key nocturnal" fx: [bloom, grain] prompt_suffix: > post-impressionist oil painting, thick impasto with visible swirling directional brushstrokes, deep cobalt and ultramarine blue-dominant palette with luminous golden-yellow accents, complementary blue/yellow harmony, warm glowing halos around light sources against cool shadows, expressive swirling motion, low-key nocturnal value range, heavy visible canvas texture negative: - flat color - smooth gradients - hard vector edges - clean outlines - photographic realism - pillow shading - digital airbrush smoothness - AI plastic sheen
SAME BRIEF. DIFFERENT OUTCOME.
The only difference between these two outputs is a 50-line YAML file.
"A small friendly coding-agent character at a wooden workbench, a glowing asset shard, neat shelves of sprites and icons. Wide 16:9. No text, no labels, no UI chrome."


id: canon-quest prompt_suffix: > 16-bit GBA-era pixel art, 16×16 tile grid, 1px selective ink (#0B0E1A), flat cel shading, ordered dithering — never smooth gradients palette: "#0B0E1A" "#141A30" "#1E2A44" "#00B140" "#3CE07A" "#FFC83C" "#3CA0FF" "#FF5C5C" +7 more negative: - smooth gradients, anti-aliasing - photorealistic rendering - off-palette colors
FIVE SPECIALIST SKILLS
One orchestrator routes your brief to the right specialist.
asset-iconFavicons & UI glyphs
asset-illustrationHeroes & spot art
asset-spriteSprites, tiles & sheets
asset-textureSeamless tiling textures
asset-socialOG cards at exact sizes
asset-style-extractReference image → reusable style profile
CLAY SHEET TO PLAYABLE ASSASSIN.
A realistic clay-style assassin moves from chroma plate to clean alpha, then into a crisp atlas-driven WASD preview.
Generated on a chroma clay board so the silhouette can be cut cleanly.
The key plate is removed and the matte clay edge stays intact.
128x128 · 64 frames · atlas.jsonBUILT TO BE RELIABLE
Descriptors
Every asset ships a .yaml sidecar so another agent can use it without opening the image.
Style Profiles
Shared validation keeps a family consistent across all generated assets in a batch.
Deterministic
Fixed sizes, one palette per batch, predictable names. Reproducible and diff-able.
NOW GO BUILD SOMETHING.
npx skills add github:dodoxtech/asset-canonNode 18+ · Codex CLI or OPENAI_API_KEY ·






