Skip to main content
rule CX Codex

list-performance-images — Claude Code rule for list images

list-performance-images is a Claude Code rule for loading appropriately sized images in lists. It applies when editing interfaces that display image thumbnails.

AGPL-3.0 ★ 88 updated 2026-11-17

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/list-performance-images.md
Open on GitHub

What list-performance-images does

The rule directs the agent to request images sized for their display area instead of loading full-resolution originals into lists. A server can return thumbnails, or an image CDN can resize them through URL parameters. For Retina screens, it recommends requesting images at twice their displayed dimensions.

It also names image components with caching and placeholder support, including expo-image and SolitoImage. The rule links oversized images to higher memory use and janky scrolling.

What it helps with

  • reduce the size of images loaded in lists
  • lower memory use when displaying thumbnails
  • avoid scroll jank caused by full-resolution images

Example prompts for the agent

  • Update the product list to load thumbnails instead of original images.
  • Adjust list image requests for Retina displays.
  • Use an image component with caching and placeholders in this list.

How to install list-performance-images

Manually: put the files in place

.claude/rules/list-performance-images.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about list-performance-images

How do I install list-performance-images in Claude Code?

Add the rule file at .claude/rules/list-performance-images.md.

What does list-performance-images do?

It tells the agent to request images sized for their display area in lists, and gives guidance for Retina screens and image components with caching.

What image size does list-performance-images recommend for Retina screens?

It recommends requesting images at twice their displayed dimensions.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set47

The whole set →
ui-scrollview-content-inset ui-scrollview-content-inset is a Claude Code rule for changing ScrollView spacing when keyboards, toolbars, or content alter the available space. CX Codex +1 ★ 88repo stars monorepo-single-dependency-versions monorepo-single-dependency-versions is a Claude Code rule that pins identical dependency versions across monorepo packages. It stops bundle bloat and runtime version clashes. CX Codex +1 ★ 88repo stars animation-derived-value animation-derived-value is a Claude Code rule for computing one animated shared value from another. It applies to React Native Reanimated code that derives values. CX Codex +1 ★ 88repo stars fonts-config-plugin fonts-config-plugin is a Claude Code rule that embeds Expo fonts at build time. It directs the assistant to configure the expo-font plugin instead of runtime loaders. CX Codex +1 ★ 88repo stars imports-design-system-folder imports-design-system-folder is a Claude Code rule that forbids importing UI packages directly into application code. All components must pass through a local design system directory. CX Codex +1 ★ 88repo stars ui-pressable ui-pressable is a Claude Code rule for choosing touch components in React Native. It applies when an agent adds or edits buttons and list items. CX Codex +1 ★ 88repo stars ui-safe-area-scroll ui-safe-area-scroll is a Claude Code rule that enforces native iOS safe area handling in React Native ScrollViews. It stops layout jumping during keyboard transitions. CX Codex +1 ★ 88repo stars design-system-compound-components design-system-compound-components is a Claude Code rule that forbids raw string children in non-text components. It enforces compound structures like ButtonText and ButtonIcon across the design system. CX Codex +1 ★ 88repo stars

Project sponsors

Companies that keep this analytics open