responsive-ui-engineering

responsive-ui-engineering is a cursor rule for Cursor from Oriolshhh/runware-image-mcp. It costs 20 tokens per session (424 once invoked), scanned A, original, MIT.

A user-interface engineering skill for layouts that rearrange themselves across phone, tablet, desktop, zoom levels, and different amounts of content.

In plain words
What is it for?
It is used to plan and test responsive navigation, columns, tables, controls, overlays, touch behavior, focus visibility, and overflow.
Why use it?
It helps prevent interfaces from breaking when screens are narrow, text is long, translations expand, or users zoom in.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is used to plan and test responsive navigation, columns, tables, controls, overlays, touch behavior, focus visibility, and overflow.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/oriolshhh/runware-image-mcp/responsive-ui-engineering
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Oriolshhh/runware-image-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for responsive-ui-engineering

README.md
[![agentmods](https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/responsive-ui-engineering/github.svg)](https://agentmods.dev/rules/oriolshhh/runware-image-mcp/responsive-ui-engineering)
Your own site
<a href="https://agentmods.dev/rules/oriolshhh/runware-image-mcp/responsive-ui-engineering"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/responsive-ui-engineering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for responsive-ui-engineering

Your own site · 80×15
<a href="https://agentmods.dev/rules/oriolshhh/runware-image-mcp/responsive-ui-engineering"><img src="https://agentmods.dev/badge/rules/oriolshhh/runware-image-mcp/responsive-ui-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00424
Opus 5 $0.00010 $0.00212
Sonnet 5 $0.00004 $0.00085
Haiku 4.5 $0.00002 $0.00042

Measured 5d ago against content hash a00d1ddd8f38, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

responsive-ui-engineering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/responsive-ui-engineering.mdc · 48 lines

What it actually says

Skill: responsive-ui-engineering

Responsive UI Engineering

Purpose

Make the interface adapt structurally rather than merely shrink between two screenshots.

When to use it

  • For every new or materially changed user-facing layout.

Instructions

  1. Identify the content hierarchy and minimum viable space for each region.
  2. Use intrinsic layout, sensible min/max constraints, wrapping, and container behavior before adding breakpoints.
  3. Define how navigation, columns, tables, controls, overlays, and dense content reflow—not only their widths.
  4. Test representative narrow, medium, and wide viewports plus 200% zoom.
  5. Test long labels, localization expansion, empty values, large datasets, soft keyboard/touch behavior, and safe-area constraints when relevant.
  6. Preserve readable line lengths, touch targets, focus visibility, and logical DOM order at every layout.
  7. Capture evidence at the narrowest and widest supported states and at each structural transition.

Output format

A responsive contract: hierarchy, layout transitions, overflow behavior, viewport/content cases tested, failures found, and screenshots or observations.

Anti-patterns

  • Desktop first followed by arbitrary media-query patching.
  • Hiding required content on small screens without an equivalent path.
  • Horizontal page scrolling, clipped focus rings, or visual order unlike DOM order.

Verification checklist

  • No important content or action becomes unreachable, clipped, or ambiguous.
  • Layout transitions follow content pressure and remain usable at zoom and with long text.

Apply context-discovery before broad scanning: use a supplied context capsule first; otherwise check context frontmatter freshness, read .agent/context/routing.md, load only relevant summaries, and verify critical claims against source.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 48 lines · 20 tokens per session scan A a00d1ddd8f38

Subscribe to this mod's changes

responsive-ui-engineering is a cursor rule published in the GitHub repository Oriolshhh/runware-image-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 424 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.