正在打开每日关注
正在打开每日关注
通过场景频率、跳过理由与优先级,让 Agent 判断哪里该动、哪里不该动。
Here are a few example prompts that go well with the /find-animation-opportunities skill: Scoped to one view with extra context for more accurate judgement: “Find animation opportunities in the checkout flow. It’s used a few times per session by each customer, factor this in.” Combined with the /improve-animations skill, this works extremely well: “Look through the dashboard UI for places that would benefit from motion, tell me what you'd skip and why, then turn the top suggestion into an improve-animations plan.” Using this as a “shield” instead of trying to find ways to add animations: “Before we add any motion to this dashboard, is there anything here that should animate at all?” Right after an agent builds new UI: “I just generated this settings page and it has zero motion. What should animate and what shouldn’t?”
是什么
这是一条围绕 Agent 动效审查的提示词示例。它将 /find-animation-opportunities 用于发现潜在动效,再通过 /improve-animations 把优先项转成改进计划。重点不是鼓励界面到处运动,而是让 Agent 先判断动效是否必要。
核心设计 提示词引入了三个重要约束:限定具体视图、补充使用频率、要求说明哪些地方应该跳过。结账流程需要结合每次会话的使用次数判断投入价值;仪表盘则先审查是否值得添加动效;新生成的设置页还可以作为零动效界面的质量检查入口。
关键洞察 这套方法把动效从装饰性工作转化为交互设计决策,并把负向判断纳入 Agent 输出。它适合充当 UI 生成后的轻量质量门,帮助团队在可见反馈、状态转换、注意力引导和实施成本之间排序,而不是单纯追求更多动画。
边界与风险 原文没有提供具体界面、时长、缓动或实现代码,无法验证最终体验。实际使用时仍需补充可访问性、减少动态效果、性能、设备环境和用户任务目标等约束;否则 Agent 可能只能给出合理但泛化的动效建议。