AI Assisted from Screenshots ============================ Use this prompt when you have a series of screenshots that capture the steps of a workflow — for example, a multi-step form, a search-and-results flow, or a tool walkthrough — and you want an AI coding agent to turn them into a guidestar wireframe. Because the agent cannot inspect the live DOM, it works entirely from the visual information in the screenshots. The prompt asks it to reproduce the layout and styling of each screen, identify the user action that moves from one screen to the next (typing text, clicking a button, etc.), and encode each screen as a CSS-class-toggled state in a single self-contained ``wireframe.html`` file. Attach all screenshots before sending the prompt, and list the filenames in order in the ``Attached screenshots`` section. The agent will use that order to determine the step sequence. Because the wireframe is designed at a specific viewport width, use the ``:viewport:`` directive option (e.g. ``:viewport: 1440``) matching the dimensions of your screenshots so guidestar scales it correctly at any container size. .. code-block:: text You are helping me build a guidestar wireframe — a self-contained HTML mockup used to animate a UI demo in documentation. Before starting, read the guidestar documentation to understand the wireframe format, step syntax, and available actions: Docs: https://spacetelescope.github.io/guidestar/ Steps: https://spacetelescope.github.io/guidestar/demos/configuration.html GitHub: https://github.com/spacetelescope/guidestar I have attached a series of screenshots that show each step of a workflow. Please study them carefully and produce a single file called wireframe.html that reproduces every screen and the transitions between them. Attached screenshots (in order): [screenshot-01.png] — brief label, e.g. "Empty search form" [screenshot-02.png] — "User has typed a query in the search box" [screenshot-03.png] — "Results panel is visible" … (continue for each screenshot) Replace the bracketed placeholders with your actual filenames and one-line descriptions before sending this prompt. ── Step 1: Identify each screen and the action between screens ──────────── For each consecutive pair of screenshots, name: a. The **starting state** — what the UI looks like before the action. b. The **user action** that causes the transition. Be specific: - Type text: name the field and the exact text entered, e.g. "Type 'NGC 1234' into the search input (#target-input)" - Click: name the button or link, e.g. "Click the 'Submit' button (#submit-btn)" - Select: name the dropdown and the chosen option, e.g. "Select 'JWST' from the instrument dropdown (#instrument-select)" - Scroll: note the direction and which panel scrolls, e.g. "Scroll the results list down by 200 px" - Hover: name the element, e.g. "Hover over the first result row" - Toggle: name the checkbox or switch, e.g. "Check the 'Show archived' checkbox (#show-archived)" c. The **resulting state** — what the UI looks like after the action (i.e. the next screenshot). Produce a short action table before writing any HTML: Step | From state | Action | To state -------|---------------|-------------------------------|------------ 1 → 2 | Empty form | Type 'NGC 1234' in #target | Filled form 2 → 3 | Filled form | Click #submit-btn | Results view … ── Step 2: Extract colours, spacing, and typography ───────────────────── From the screenshots alone, derive a visual palette: - Background colours for the page, panels, headers, and cards. - Text colours for headings, body text, labels, and muted/secondary text. - Accent / brand colours used on primary buttons, links, and highlights. - Border colours and approximate border-radius values. - Font families: note any obvious sans-serif / monospace distinctions; use system-stack fallbacks (e.g. ``system-ui, sans-serif``) for all fonts. - Approximate padding and spacing rhythm (e.g. 8 px, 16 px, 24 px). Record this palette as a CSS custom-property block at the top of your ``