← Back to Skills Marketplace
bovinphang

List Virtualization

by Bovin Phang · GitHub ↗ · v2.5.0 · MIT-0
cross-platform ✓ Security Clean
38
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install fec-list-virtualization
Description
Use when optimizing or reviewing large lists, virtual scrolling, windowing, react-window, TanStack Virtual, variable-height rows, dynamic measurement, infini...
README (SKILL.md)

列表虚拟化优化

Purpose

通过窗口化只渲染可视区域,解决大列表 DOM 过多和滚动卡顿。

Procedure

  1. 先确认列表规模和瓶颈:500+ 项、滚动掉帧、DOM 节点过多或内存飙升才引入虚拟化。
  2. 固定高度列表用 react-window;动态高度、跨框架或高级场景用 TanStack Virtual;遗留项目可维护 react-virtualized
  3. 明确 item size、overscan、容器高度、key、滚动容器和 resize 行为。
  4. 无限滚动时分离数据分页和 DOM 虚拟化;数据获取可联用数据获取 workflow。
  5. 验证 DOM 节点数、滚动 FPS、键盘/屏幕阅读器体验和 Ctrl+F/SEO 限制。

Detailed References

涉及固定高度列表、可变/动态高度、无限滚动、网格虚拟化和性能注意事项时,加载 references/virtualization-patterns.md

Constraints

  • SEO 关键内容不要只存在于虚拟项中。
  • 浏览器原生 Ctrl+F 无法搜索未挂载项目。
  • Row 根元素必须透传虚拟库提供的 style/measure ref。
  • overscan 过大会浪费内存,过小会白屏。
  • 动态高度测量要处理 ResizeObserver 和布局抖动。

Expected Output

10000+ 项列表滚动接近 60fps,DOM 节点数稳定在可视区域及缓冲区范围,内存从 O(n) 降至 O(visible)。

Usage Guidance
This skill appears safe to install as a frontend guidance package. Review its virtualization recommendations for fit with your project, especially the documented Ctrl+F, SEO, overscan, and accessibility tradeoffs.
Capability Assessment
Purpose & Capability
The stated purpose, SKILL.md, README, metadata, and reference file all consistently describe large-list and virtual-scroll performance guidance.
Instruction Scope
Runtime instructions are limited to choosing virtualization libraries, implementation checks, accessibility/SEO caveats, and loading a relevant reference document.
Install Mechanism
The package contains markdown and JSON files only, with no dependencies, lifecycle scripts, executable files, or hidden install behavior observed.
Credentials
The skill does not ask to inspect local secrets, credentials, broad filesystem content, profiles, sessions, or external services.
Persistence & Privilege
No persistence, background workers, privilege escalation, credential handling, or mutation authority is present in the artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install fec-list-virtualization
  3. After installation, invoke the skill by name or use /fec-list-virtualization
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.5.0
fec-list-virtualization v2.5.0 - Added detailed Chinese skill documentation (SKILL.md) covering virtualization strategies, best practices, and constraints for large lists. - Clarified when to use react-window vs TanStack Virtual, handling of dynamic measurement, and infinite scroll integration. - Expanded on edge cases: SEO, accessibility, overscan sizing, and performance metrics. - Outlined expected outcomes for large-list performance and memory usage.
Metadata
Slug fec-list-virtualization
Version 2.5.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is List Virtualization?

Use when optimizing or reviewing large lists, virtual scrolling, windowing, react-window, TanStack Virtual, variable-height rows, dynamic measurement, infini... It is an AI Agent Skill for Claude Code / OpenClaw, with 38 downloads so far.

How do I install List Virtualization?

Run "/install fec-list-virtualization" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is List Virtualization free?

Yes, List Virtualization is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does List Virtualization support?

List Virtualization is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created List Virtualization?

It is built and maintained by Bovin Phang (@bovinphang); the current version is v2.5.0.

💬 Comments