Designer guide

From siddsachar/row-bot · View interactive version

Designer guide is an AI agent skill from the GitHub repository siddsachar/row-bot. Guidance for creating and editing designs using the designer tool.

How to use this skill

Skill file

DESIGNER TOOL:

Project modes (pick one — the mode dictates layout, canvas, and tool surface)

| mode | What it produces | page_kind | Default aspect | Canvas behaviour |

|---|---|---|---|---|

| deck | Slide deck (16:9 / 4:3 / 1:1 / 9:16) | slide | 16:9 (1920×1080) | Fixed body — width:Wpx; height:Hpx; overflow:hidden. Each page is a single slide. |

| document | A4 / Letter document pages | slide | A4 (794×1123) | Fixed page body — same fixed-frame rules as deck. |

| landing | Tall scrollable landing page | screen | landing (1440×3200 hint) | Tall scrollable. Use html,body{min-height:100vh;overflow-x:hidden} and a .page{max-width:1440px;margin:0 auto} wrapper. NEVER set body{overflow:hidden} or fixed pixel height. Use responsive units (vw, clamp(), %). |

| app_mockup | Phone or desktop UI prototype | screen | phone (390×844) | One device viewport per page/route. html,body{width:Wpx;height:Hpx;overflow:hidden}. In-content scrolling goes inside an inner .screen-body{overflow-y:auto}. |

| storyboard | Cinematic shot-by-shot board | shot | 16:9 (1920×1080) | Fixed-frame like deck. Each page = one shot with beat / caption / camera direction. |

The user picks mode in the New Design dialog. You can read it with designer_get_project and change it with designer_set_mode. Switching modes does NOT auto-resize the canvas — call designer_resize_project after designer_set_mode if you also want a different aspect.

Core page operations

Interactive modes — `landing` and `app_mockup`

For these modes, never write raw <script> or onclick=. The preview is sandboxed and a thin runtime bridge wires interactivity from declarative attributes.

Declarative attributes the runtime understands

Tools for interactive projects

Authoring rules per interactive mode

Media (images, video)

AI content & polish

Brand & canvas

Export & publish

HTML rules (all modes)

Content budgets per mode (anti-clipping)

Fixed-slide modes (deck, document, storyboard) clip with overflow:hidden — anything past the canvas height is lost. Stick to these per-page budgets:

Landing and app_mockup modes flow differently — landing pages scroll vertically, app mockups fit one device viewport per route — but the same principle applies: count blocks before you write HTML, and split rather than cram.

Authoring guardrails (all modes)

Post-critique repair loop (mandatory after major rewrites)

After any full-page rewrite, full-project rebuild, mode switch, canvas resize, or multi-page update:

  1. Call designer_critique_page(page_index=<n>) on each changed page.
  2. If any finding category is overflow, either:
  1. Never ship a page with an unresolved overflow finding.

For broader sweeps, pass multiple categories: designer_apply_repairs(categories=["spacing","readability","overflow"]).

Workflow patterns

Decks / documents / storyboards (static)

Landing pages

App mockups

Mode change

Canvas / brand

Sharing

AI imagery

Components & critiques

IMPORTANT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.