README.md

Created about 13 hours ago

attributes
source_urlhttps://github.com/nilbuild/stick-scene/blob/ca84311177a020c2dff7dfd9cb2e7b786288c1ab/README.md

/stick-scene

Skill to make your agent draw little stick-figure scenes that show what your product does.

A stick figure asks a robot agent for a change, reviews the code it wrote, comments on a line and sends it back to be fixed

Each scene is one <canvas> with no dependencies. It idles quietly, breathing and glancing around, and plays a short action when it scrolls into view, on click or on hover.

Make a scene

Install the skill

npx skills add nilbuild/stick-scene

Then ask your agent

/stick-scene [what you want to show]

/stick-scene a scene for the hero of this landing page
/stick-scene show that our CLI turns a YAML file into JSON
/stick-scene one scene for each feature section on the homepage
/stick-scene show an agent fixing the comments I leave on a diff

It reads your project, pitches two or three ideas for you to pick from, writes the scene, renders it frame by frame to check that nothing overlaps or gets cut off, and adds it to your page.

Ask for changes

If something looks off, say what is wrong e.g.

  • "the note covers his face", "the bubble runs off the edge"
  • "make the robot think for a moment before it starts"
  • "slower", "loop it", "only play it on click"
  • "use our brand green", "add a second agent in teal"
  • "light up the steps on the page as it plays"

Examples

Every scene below is in examples/.


Review: comment on a line, the agent fixes it, you approve

Database: pull the lever and a database rises

Converter: feed YAML in, turn the crank, JSON pops out

CI: push a commit down the workflow

Login: log in once and a cookie opens the door

Email: one click and the letters fly out

Models: a spotlight picks the model, a knob sets the effort

Reports: the bill prints and goes into Slack

Queue: issues line up and the agent works through them overnight

Recording: the camera operator films the app

Highlights: mark a line, copy the link, it opens highlighted

Messages: stomp on enter and it lands in Slack

Use a scene

Copy runtime/stick.js and your scene into the site's static folder and add

<stick-scene scene="db-playground" play="view" style="height: 230px"></stick-scene>

<script src="/scenes/stick.js" defer></script>
<script src="/scenes/db-playground.js" defer></script>
Attribute
scene the id the scene registers
play view plays once when it scrolls into view, then on click. Also click, hover, loop and idle
no-floor drop the grey band under the ground line, for plain white pages
no-ground drop the ground line too
zoom scale the drawing inside the box, default 1
label what a screen reader hears, defaults to the scene's own sentence

Size it with CSS. Scenes off screen don't draw, and with reduced motion on, a scene shows one still frame and never plays.

License

MIT © Kamran Ahmed.


Copyright (c) 2026 Kamran Ahmed License files are attached. MIT

MIT notice

MIT License

Copyright (c) 2026 Kamran Ahmed

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.