Skip to main content

live-preview-render-loop

星标13
分支0
更新时间2026年6月3日 20:05

Wire a responsive, settings-driven live preview into a desktop app so dragging a control updates the rendered result smoothly without freezing the UI or redrawing redundantly. Use when building a tool with a live preview pane (image, audio waveform, chart, document), when a preview stutters or the window freezes during render, when many settings should each trigger a re-render, when scrubbing or auto-playing through a value, or when an expensive render must be debounced and run off the UI thread. Covers a single refresh funnel, suppressing redundant refreshes during bulk updates, debouncing, off-thread rendering with stale-result dropping, capping preview quality while exporting full, and keeping the scrub or play loop in the view. Triggers on live preview, preview not updating, UI freezes while rendering, debounce render, off-thread render, scrub preview, re-render on settings change, stale render result, MVVM preview.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly