# list-performance-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.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 88 repo stars
- Author: alexj11324
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/alexj11324/Mikka/tree/HEAD/.claude/skills/react-native-skills/rules/list-performance-images.md
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/list-performance-images

## What it 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.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/list-performance-images.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/list-performance-images.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/list-performance-images.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/list-performance-images.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/list-performance-images.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/alexj11324/Mikka/tree/HEAD/.claude/skills/react-native-skills/rules/list-performance-images.md

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

## Example prompts
- 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.

## Similar
- [list-performance-item-memo](https://affpapa.org/en/nevibecode/rules/list-performance-item-memo.md) — rule · ★ 1216 repo stars
- [list-performance-function-references](https://affpapa.org/en/nevibecode/rules/list-performance-function-references.md) — rule · ★ 1216 repo stars
- [angular-performance](https://affpapa.org/en/nevibecode/skills/angular-performance.md) — skill · 353 installs
- [seo-images](https://affpapa.org/en/nevibecode/skills/seo-images.md) — skill · 7800 installs
- [unsplash-asset-images](https://affpapa.org/en/nevibecode/skills/unsplash-asset-images.md) — skill · 1900 installs
- [aura-asset-images](https://affpapa.org/en/nevibecode/skills/aura-asset-images.md) — skill · 1800 installs

From the same set: [alexj11324/mikka](https://affpapa.org/en/nevibecode/by/alexj11324/mikka.md) — 47 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
