review-gui-surface

review-gui-surface is a cursor rule for Cursor from YuDefine/nuxt-supabase-starter. It costs 0 tokens per session (11,441 once invoked), scanned A, original, MIT.

A standard procedure for agents and handoff tools that use a review interface with screenshots and annotations to inspect completed work.

In plain words
What is it for?
It is for scanning handoffs, splitting compound visual review items, collecting screenshot evidence, and enforcing the review interface's annotation rules.
Why use it?
It prevents review evidence from being incomplete or misleading, especially when one review item contains several visual states. It also requires checks before directing a user to review.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: reads .claude/ paths; mentions subagents; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd ~/offline/clade && node vendor/scripts/review-gui.ts --scan.

Good fit It is for scanning handoffs, splitting compound visual review items, collecting screenshot evidence, and enforcing the review interface's annotation rules.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter
agentmods
npx agentmods add rules/yudefine/nuxt-supabase-starter/review-gui-surface

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 review-gui-surface

README.md
[![agentmods](https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/review-gui-surface/github.svg)](https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/review-gui-surface)
Your own site
<a href="https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/review-gui-surface"><img src="https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/review-gui-surface/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 review-gui-surface

Your own site · 80×15
<a href="https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/review-gui-surface"><img src="https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/review-gui-surface.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 11,441 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.11441
Opus 5 $0.00000 $0.05720
Sonnet 5 $0.00000 $0.02288
Haiku 4.5 $0.00000 $0.01144

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

Security

Grade A, and why

review-gui-surface scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`http://127.0.0.1:5174` 只准 agent 探測(`curl /api/changes`)。人開的入口永遠是上一表,**NEVER** 因「user 在本機」改 host。
template/.cursor/rules/review-gui-surface.mdc · 430 lines

How it starts

The opening of the file, as written. The whole thing — 430 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review-GUI Surface SoP

核心命題vendor/scripts/review-gui.ts 本體經 fixtures gate hardened 後,incident 漂移到外圍 agent surface。本 rule 對所有呼叫 review-gui 的 surface 統一規約。

本 rule 是 [[agent-self-verification]] 的特例化(review-gui 是其中一個 evidence collection surface),同時延伸 [[manual-review]] 對 review-gui 互動的規約。

為什麼這條 rule 存在

2026-05-{22,23} 累積 3 條 surface pitfall,共通失敗模式:surface agent / wrapper 把 review-gui 當「黑箱」,沒對其 contract 做主線預檢與後驗:

  • [[pitfall-handoff-mode-b-skips-review-gui-scan]]
  • [[pitfall-verified-ui-compound-item-single-screenshot-evidence-gap]]
  • [[pitfall-review-gui-detail-page-no-impl-gate]]

適用範圍

任何呼叫 review-gui flow 的 agent / wrapper / handoff branch:

Surface 入口 預期 contract
/commit 0-MR gate block plugins/hub-core/skills/commit/SKILL.md Step 0-MR block 後 MUST auto-triage pending items(MUST 9);active runtime 可處理的先自行推進,只有 bucket=ready 才引導 user 到 review-gui
/handoff Mode B 2B.0 plugins/hub-core/skills/handoff/SKILL.md Step 2B.0/2B.1.7 推薦 user 跑 review:ui MUST 先跑 review-gui.ts --scan 寫入 HANDOFF.md
screenshot-review verify mode 主線派 reviewed visual-evidence worker(per [[agent-routing]]) item 含 compound visual state → 分成 scoped sub-items 或 multi-screenshot annotation
verified-ui evidence collection vendor/snippets/verify-channels/ui-final-state-brief*.template.md compound state evidence 必拆 / 必標多 screenshot
screenshot-review subagent 的 CLI 呼叫 agent body 內的 runtime-approved browser CLI invoke 前 verify CLI contract(per [[agent-self-verification]] § MUST 4)
review-gui detail page 互動 vendor/scripts/review-gui.ts server-side handlers impl 完成率 < threshold → manual review block readonly + amber banner(已 implemented v1.4.30+)

Read the full file on GitHub · 430 lines

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. 2d ago Changed · -24 lines 40007c0220eb
  2. 3d ago Changed · +2 lines baeea0ff2e9e
  3. 4d ago Changed 9b0c7ebc8daf
  4. 7d ago First seen · 452 lines · 0 tokens per session scan A 120160ca8676

Subscribe to this mod's changes

review-gui-surface is a cursor rule published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 11,441 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.