Delight

educlopez/ui-craft/cli/assets/codex/skills/delight

作者 educlopezceecc8e1fb0c2befda73da996435900d6dd0c1ac无许可证375 个星标收录于 2026年10月9日更新于 2026年10月9日仓库5周前更新

Delight pass — adds one or two memorable micro-interactions (copy specificity, hover choreography, state transitions, one signature detail) without decoration or confetti. Use when the UI works but feels generic, or when the user says "make it feel special" / "add some personality". Invoke when the user asks for delight on their UI, or mentions 'delight' alongside design / UI / frontend work.

仅含说明Design & Creative
AI 生成的概览

为界面添加一两个令人印象深刻的微交互,例如具体文案、悬停编排或状态过渡。

功能
该技能引导智能体对现有用户界面进行一次“愉悦感打磨”,添加一两个小而令人印象深刻的交互细节,而非装饰。它按安全程度排列候选改进:文案具体性、悬停编排、状态过渡,以及一个标志性细节。它列出了应避免的效果,例如弹跳缓动、在普通操作上撒彩带、以及滥用表情符号,并根据 MOTION_INTENSITY 设置限制动效程度。智能体直接编辑代码,并打印一张评审表,标明未采纳的候选项及原因。
适用场景
适用于界面可用但显得千篇一律时,或用户希望让它感觉特别、增添个性时。它面向设计、界面或前端工作,用于添加小的交互细节。
运行要求
该技能不附带脚本,仅为说明文档。它需要 ui-craft 技能及其参考文件(动效、文案、动画分镜)可用,并直接编辑项目的界面代码。
<!-- HARNESS MIRROR — do not edit here. Canonical source: skills/ or commands/. After editing source, copy into cli/assets/<harness>/ and repo-root harness mirrors. -->

Context: this sub-skill is one lens of the broader ui-craft skill. If the ui-craft skill is also installed, read its SKILL.md first for Discovery + Anti-Slop + Craft Test, then apply the specific lens below.

Add delight to the UI at $ARGUMENTS. Load the ui-craft skill.

Delight is specificity, not decoration. The goal is one or two moments a user would screenshot — not confetti, not bounce, not emoji.

Candidates, ordered by safety (start at the top):

  1. Copy specificity — confirmation toasts name the thing ("3 members invited — Alex, Sam, Jordan", not "Invites sent"). Empty states with wit but no cringe ("Nothing here yet — add your first project" > "Oops! Looks like it's empty 😅").
  2. Hover choreography — multi-property hover (transform + color + shadow) that moves together on one shared duration/easing. One card, not every card.
  3. State transitions — optimistic UI + tiny success micro-animation (checkmark stroke draw, count-up on a number, subtle scale-and-settle on the updated row).
  4. One signature detail — custom list markers tied to the domain, asymmetric column offset on a single section, scroll-linked progress that tracks something real (reading progress, form completion).

Never add:

  • Bounce easing (cubic-bezier(0.68, -0.55, 0.27, 1.55)) — flagged in anti-slop.
  • Confetti on mundane actions (file saved, field updated).
  • Emoji spam or "🎉 SUCCESS!" in ALL CAPS.
  • Idle float/bob/shimmer on elements that aren't waiting for anything.

Knob gating (MOTION_INTENSITY):

  • ≤ 3 → copy-only delight. No animated delight. Candidate 1 only.
  • 4-7 → copy + hover + state transitions (candidates 1-3).
  • 8+ → all four, including the signature detail.

References to read: references/motion.md (Decision Ladder + interaction rules), references/copy.md (microcopy voice), ../examples/animation-storyboard.md (if multi-stage).

Output: edit code directly. Print the Review Format table. Flag every candidate you chose not to add and why.

Next step: /finalize — delight is the last additive pass; gate it before shipping (rung 3).

来源与署名

来源:educlopez/ui-craft位于cli/assets/codex/skills/delight提交ceecc8e

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架