Skip to content

AI prompts

What is in each prompt and how to get better output from it.

Every piece has a prompt you can paste into an AI coding tool. They are built from the piece's own files, so they stay exact when the code changes.

What a prompt contains

  1. What it is and the install command.
  2. Visual spec: the spectrum and surface colours, the fonts, radius and motion rules.
  3. Art and media: what is drawn and how (a shader, a three.js scene, plain CSS), the media the demo uses and, for scenes, the preset colours exactly as shipped.
  4. Props with their defaults, and for blocks the content slots.
  5. Behaviour and access: reduced motion, keyboard, screen readers, touch and the performance budget.
  6. Rules: keep the licence header, original code only, tokens for colour and type.

Using one

  1. Copy the prompt from the item page (or from a background card, where it includes the colours you picked).
  2. Paste it into your tool with the file you want changed.
  3. Add what is specific to you: your brand colour, your headline, where the piece goes.

Make the output better

  • Keep the prompt and your constraints in AGENTS.md so every session starts from them.
  • Ask for a plan first when the change touches several files.
  • Ask the tool to screenshot at 390 and 1440 px and report problems before it finishes.

More on prompting in Tips.

↑ ↓ to move↵ to openesc to close