reexamine_polish

A set of rules for improving a website’s visual feedback and motion. It covers loading placeholders, gradual item appearances, state transitions, hover effects, and small interaction responses.

In plain words
What is it for?
Use it when refining skeleton loaders, list and card animations, expand/collapse transitions, hover states, tooltips, and copy-to-clipboard feedback.
Why use it?
It helps prevent blank loading areas and abrupt interface changes while keeping motion usable for people who prefer reduced animation.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/homenshum/nodebenchai/reexamine_polish
Clone the repo
git clone --depth 1 https://github.com/HomenShum/NodeBenchAI

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00465
Opus 5 $0.00000 $0.00233
Sonnet 5 $0.00000 $0.00093
Haiku 4.5 $0.00000 $0.00047

Measured 2d ago against content hash 3c2e003d8fa7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reexamine_polish 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 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.

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/reexamine_polish.mdc · 38 lines

What it actually says

Re-examine: Visual Polish

Skeleton loading

  • Replace blank areas during fetch with skeleton placeholders (gray shapes matching final layout)
  • Shimmer animation: background: linear-gradient(90deg, #2a2a3a 25%, #3a3a4a 50%, #2a2a3a 75%)
  • background-size: 200% 100%; animation: shimmer 1.5s infinite
  • Respect prefers-reduced-motion → static gray background, no shimmer

Staggered fade-ins

  • Cards/list items appear with slight delay cascade: 50ms, 100ms, 150ms per item
  • Use animation-delay or transition-delay — not JS setTimeout
  • Keep total cascade under 500ms (10 items max before grouping)
  • Disable under prefers-reduced-motion

Transitions

  • State changes (expand/collapse, show/hide) get 200-300ms ease transitions
  • Use transition: all 0.2s ease on the specific properties, not all in production
  • Hover effects: subtle scale (1.02), shadow lift, or background shift
  • Don't animate width/height — use transform: scale() or max-height for performance

Micro-interactions

  • Button press: brief scale-down (0.97) on :active
  • Tooltip on hover for truncated text (CSS text-overflow: ellipsis + title attribute)
  • Copy-to-clipboard: brief "Copied!" feedback toast
  • Empty states: helpful message + action button, not just blank space
  • @media print: light background, dark text, visible borders
  • Hide interactive controls (buttons, search, navigation)
  • Severity badges: add borders (colors may not print)
  • Page-break-inside: avoid on cards
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 First seen · 38 lines · 465 tokens per session scan A 3c2e003d8fa7

Subscribe to this mod's changes

reexamine_polish is a cursor rule published in the GitHub repository HomenShum/NodeBenchAI (14 stars, last pushed 19d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 465 tokens. 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-08-30.