bovinphang/frontend-craft/fec-list-virtualization
Claude Code and agent skill by bovinphang/frontend-craft
- community
Checking that the SKILL.md file is still in the repository.
Use when optimizing or reviewing large lists, virtual scrolling, windowing, react-window, TanStack Virtual, variable-height rows, dynamic measurement, infinite scroll, grid virtualization, or scroll performance; Chinese triggers include virtual lists, large list optimization, scroll performance.
Install
npx vskill@latest install bovinphang/frontend-craft/fec-list-virtualizationSKILL.md
The same SKILL.md was published earlier as bovinphang/frontend-craft/fec-list-virtualization.
List virtualization optimization
Purpose
Only the visible area is rendered through windowing, which solves the problem of excessive DOM and stuck scrolling in large lists.
Procedure
- First confirm the list size and bottleneck: 500+ items, scrolling frame drops, too many DOM nodes, or memory surge before introducing virtualization.
- First follow the existing framework, dependencies and design system constraints of the project, and then select the library according to the scenario: React can consider
react-windowor TanStack Virtual; Vue/Solid/Svelte, dynamic measurement, grid or cross-framework scenarios give priority to TanStack Virtual; the legacyreact-virtualizedis only maintained and not added. - Clarify item size, overscan, container height, key, rolling container and resize behavior.
- Separate data paging and DOM virtualization during infinite scrolling; data acquisition can be combined with the data acquisition workflow.
- Verify DOM node count, scrolling FPS, keyboard/screen reader experience, and Ctrl+F/SEO limitations.
Detailed reference
Load references/virtualization-patterns.md when it comes to the need for virtualization, library selection, fixed height, variable/dynamic height, infinite scrolling, grid virtualization, and performance considerations.
Constraints
- SEO key content doesn’t exist only in dummy items.
- Browser native Ctrl+F cannot search for unmounted items.
- The Row root element must transparently transmit the style/measure ref provided by the virtual library.
- If overscan is too high, memory will be wasted; if overscan is too low, the screen will be white.
- Dynamic height measurement to handle ResizeObserver and layout jitter.
Expected Output
The scrolling of the 10,000+ item list is close to 60fps, the number of DOM nodes is stable within the visible area and buffer range, and the memory is reduced from O(n) to O(visible).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fec-list-virtualization/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bovinphang/frontend-craft/fec-list-virtualization)