layer-game-ui

Installation
SKILL.md

Layer Game UI

Overview

Game UI has two jobs that illustration does not: it resizes, and it reads at small sizes. A button that looks right at one width and smears at another is broken; an icon that reads at 512px and turns to mush at 64px is broken. Both are decided before generation, by what the prompt asks for and by which delivery fields are set.

Layer handles the resize problem with nine_slice on execute_forge: after the run it finds the plain band through the middle of each axis, makes the edges and centre tile, and records the 9-slice insets on the file. export_ui_kit then writes those elements in the files an engine draws them by. Generation mechanics, the spend gate and polling are in layer; prompt craft is in layer-image.

If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add layerai/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

Quick reference

Installs
708
Repository
layerai/skills
GitHub Stars
8
First Seen
11 days ago