Skip to main content
在 Manus 中运行任何 Skill
一键导入

liveview-optimistic-ui

星标19
分支4
更新时间2026年2月27日 10:06

Implements optimistic UI patterns in Elixir Phoenix LiveView: instant client feedback before server confirmation, loading states, rollback/revert on failure, race condition guards, stream insert/delete animations, undo windows, and accessibility for async interactions. Use when the user needs LiveView interactions to feel immediate, wants to add loading indicators or spinners, needs to handle double-submit or double-click, wants to animate stream inserts or deletes, needs undo/rollback for destructive actions, is dealing with stale data or flicker under latency, or needs aria-live announcements for optimistic state changes. Don't use for general LiveView form validation or changeset errors (use liveview-forms instead), non-LiveView frontend frameworks (React, Vue, Svelte), or server-side performance optimization unrelated to perceived UI responsiveness.

安装

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

文件资源管理器
3 个文件
SKILL.md
readonly