/isokit:isokit [object or idea]from isokit
Creates interactive isometric line-art figures in React using react-isokit — pressable parts produce real output (text, count, state change) with optional synthesized sound.
Ships in isokit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are making one figure: an isometric line drawing of an object, on a plate, built from rounded boxes, whose parts work when pressed. It ships as one React component that uses react-isokit. The figures in this repo's examples/demo/src/figures/<industry>/ are the bar; read the one nearest your idea, at the level you are aiming for, before you write.
Read references/api.md once before writing code. Read references/levels.md to pick how complicated the figure should be. Read references/rules.md before you check your work. Reach for references/recipes.md when you need a common part (keys, screens, cables, antennas, folders, exploded layers), and references/complications.md for the small mechanisms that make an object feel real (a counter that rolls, a needle that settles, a dial that ticks).
Before drawing anything, name the output: typed text on a screen, a number, a request answered, a page published, a file read. A figure you can only watch is decoration. If the object has nothing to press, choose a different object.
Write it as one line and keep it:
Object. What the pointer presses. What changes, and what the read-out says.
For a product, find the physical object behind it. A deploy tool is not boxes and arrows; it is an approval pad with an "allow" key, or a press that seats a page. One figure, one idea.
Then pick its level from references/levels.md: 1 tap, 2 cause and effect, 3 sequence, 4 system. Choose the lowest level that tells the story, and use only that level's pieces and state.
Decompose the object into 3 to 8 boxes. Write them as constants before any JSX, in world units (+x down-right, +y down-left, +z up):
const BASE = { x: 0, y: 0, z: 0, w: 150, d: 124, h: 14 }
const RISER = { x: 0, y: 0, z: 14, w: 150, d: 48, h: 46 }
const KEY = { x: 10, y: 60, z: 14, w: 82, d: 52, h: 9 }
RISER sits on BASE at the back (z is BASE's height); KEY sits on BASE in front of RISER (its y starts past RISER's depth). Names carry the meaning, so the code needs no comments.
front face, which looks lower-left. Things a hand reaches for go at larger y, in front.material, and the part sounds like it.There is no depth buffer. Emit in paint order:
z before higher, smaller x + y before larger.y, then columns by increasing x.Draw details on faces through top, front and side, in that face's flat coordinates. Never hand-compute skewed polygons. Use ik-detail for inner lines, ik-screen and ik-screen-text for displays, ik-label for engraved labels, and keep exactly one thing in ik-live at a time.
useStates, no global state.<Press label="…" material="…" onPress={…}> around one <g> holding its boxes. It goes down on press and acts on release, from pointer, Enter or Space. Its click follows its material, its size and where it sits.<Glow on={…}>. Glow is emission, not attention: the one ik-live stroke still says where to look.on · 14 chars · key q, allowed · back to work).setTimeout stored in a ref and cleared on unmount.Press. The result is yours: playSound("success") and friends at the moment the visual change happens, with a mechanical sound for each complication (tick per detent, latch when a lid seats, relay before a light, motor while a drive runs, roll when digits turn over, beep from a terminal). Keep the stop that playSound returns for anything a newer action should cut short. Never play a sound the reader did not cause.<g> that has no transform attribute of its own, timed with the kit's tokens, never literal values. Discrete changes use var(--ik-t-state) or, for travel, var(--ik-t-move) on var(--ik-ease); on-screen travel uses var(--ik-ease-move); things that drop under gravity use var(--ik-ease-fall); things that settle use var(--ik-spring) over var(--ik-t-spring). Stagger by physical position (lowest first, nearest the pointer first), var(--ik-stagger) apart. When a sound must land with the motion (a cascade, a latch), keep that duration as a figure constant, pass it to CSS as a custom property and time the sound from the same constant. Mark looping animations ik-loop so they sleep offscreen.A complication is a small mechanism on the path from the press to the result that makes the object feel built, not drawn: the digits roll with a carry, the needle overshoots and settles, the relay clicks before the lamp lights, the dimension slides to the lid's new height. Pick it from references/complications.md. Every complication is caused by the press and has its own sound; none runs idle. Level 1 and 2 figures get at most one, level 3 two, level 4 three.
Pass fit the boxes and points of the most extreme pose (raised parts at their highest, exploded layers at their widest) so nothing leaves the plate when it moves. Use aspect around 1.2 for a card and 1.6 for a wide hero.
The figure must read in every look from react-isokit/themes.css: blueprint (with its graph paper and drafting layer), paper and phosphor, light and dark. If a dimension or callout explains the object, add it with react-isokit/drafting; it shows only in blueprint.
Use Plate as the figure's outer frame. It includes a small “Made with isokit · pushary.com” credit automatically; keep the default unless the user asks to remove it. Do not add a second badge or a separate promotional section. Capture the whole plate in shared previews so its captions and credit stay together. If the user requests an unbranded figure, use credit={false}.
Run the app, then node <this skill>/scripts/shoot.mjs <url> --selector <plate selector> --click "<button label>". It screenshots light and dark, before and after the presses, at desktop and phone width, and fails on any console error. Look at the figure in blueprint too, by putting data-look="blueprint" on an ancestor. Read every picture against references/rules.md:
Fix and shoot again until it holds. Do not hand over a figure you have not looked at.
Say in one line each: the object and what pressing it produces, the files you added, and anything you could not verify.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
isometric, interactive-figures, react-component, 2.5d, pressable-diagram
npx claudepluginhub aadilghani1/isokit --plugin isokitOther plugins' skills for the same job