跳到正文
Skillpedia
界面(UI/UX)6.0k · #14457

transitions-ui-generation

它能做什么

这项技能为页面元素添加一个绘制动画,让它看起来像是由 AI 智能体生成的。适合希望为界面、标题或图片做出醒目呈现的设计师和开发者。

适用场景

  • ✓当你想让一张卡片或面板看起来像是智能体正在构建它时。
  • ✓当你想让标题先以点阵描摹,再淡入显示的时候。
  • ✓当你想让主视觉图片从点阵图案中逐渐显现时。

技能链接

https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-ui-generation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-ui-generation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请让我的首页标题先像 AI 用点阵绘制一样出现,然后文字再稳定下来。”

每周 5 个新技能,1 分钟读完。

工作原理

这项效果会测量页面上真实元素的尺寸,绘制其轮廓的点阵版本,然后切换到真实内容,使两者完全对齐。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Transitions UI generation

Plays an "agent is generating this" animation over any element on the page, then hands over to the real UI. Nothing is faked: the drawing is measured from the element itself, so the dotted outline, text lines and icons land exactly where the real ones appear. Headlines are traced along their real glyph outlines, and images are drawn from their own pixels.

Variants

Variant What it generates Use for Reference
ui (default) The component's dotted wireframe: dot field, guides, outline, every box, text line and icon, then the real UI behind a scan line. Cards, panels, components an agent produced. 01-skeleton.md
text Every glyph traced along its real outline in flowing dots, then fading in one by one (140ms after its outline, 90ms each, 90ms apart on a gentle in-out curve), with dots flying in to each glyph. Headlines, titles, pull quotes, slide titles. 03-text.md
small-text A dotted line through each line of text; the characters fade in as it passes. Eyebrows, subtitles, captions, labels. 04-small-text.md
image A dotted frame, a sketch of the photo's tones, a fine halftone of its pixels, a dot matrix in its colours, then the photo. Hero images, image cards, covers. 05-image.md
auto Text and images in one block: text at display (32px) or larger as text, smaller as small-text, every image as image. A hero or editorial block mixing a headline, copy and a photo.

text, small-text, image and auto are drawn by text-image-generation.js, which ships with this skill; generate(el, { variant }) from ui-generation.js hands them over. Those variants generate only their own content; the rest of the element shows as it is.

Works in every agent that reads skills (Claude Code, Cursor, Codex, and others): install with npx skills add Jakubantalik/transitions.dev, or copy this folder into the project.

What the ui variant draws

In order, over one build (default 2400ms of drawing, about 2.6s in all):

  1. Dot field. A grid of small dots ripples out from the centre, with matrix rain falling down its columns and a probe line sweeping across.
  2. Construction. Guides run along the element's edges past its corners, corner handles pop in, and a size label counts up to the real size with a build timer.
  3. Outline. The outline is traced from the top centre in both directions in small flowing dots, while loose dots fly in and land on it.
  4. Parts. Every box, text line and icon path is traced in document order. Key elements (buttons, inputs, the largest boxes) get their own guides, handles and size label, and a targeting reticle jumps from part to part with a coordinate readout.
  5. Reveal. The real UI comes in top to bottom behind a scan line, fading and sharpening on --ease-smooth-out, while the drawing is wiped away and the dots clear.

Modes

Every variant takes the same two modes (for the text and image variants, skeleton maps to their trace and skeleton-texts to trace-texts: an agent log of every glyph and image and a step line, see 06-text-image-texts.md).

Mode What you get Use for Reference
skeleton The dotted drawing and the reveal. Most places: a card or panel an agent produced, an empty state filling in, a hero moment. 01-skeleton.md
skeleton-texts The same, plus generation texts: an agent log (one line per part with a progress bar), the motion CSS being written (the element's own values on the transitions.dev token scale), and a step line ("Planning layout" … "Ready"). Showcases and launch moments where the "agent at work" story matters: landing pages, demos, onboarding, product videos. Needs space beside or under the element; it places the texts only where the page is empty. 02-skeleton-texts.md

Decision rules

  • A headline → text. Its subtitle or eyebrow → small-text. A photo → image. A hero mixing them → auto, or each element with its own variant and a delay. A card or component → ui.
  • An AI feature returns UI (a generated component, a chart, a summary card, a draft) → skeleton, played when the result arrives.
  • **A launch page, demo or video
常见问题

这个动画是假的吗?

不是。绘制内容是根据元素本身测量出来的,因此会与真实内容出现的位置完全吻合。

页面的哪些部分可以使用它?

它适用于界面组件、标题、小段文字和图片,每种都有自己的变体。

默认变体是什么?

默认是 ui,它会绘制组件结构的点阵线框图。

详情

作者的原始描述

Make any UI, headline or image appear as if an AI agent is generating it. Five variants: ui (the default: a dotted wireframe drawn from the element's own structure, outline, boxes, text lines, icon paths, with guides, corner handles and size labels, then the real UI revealed behind a scan line), text (every glyph of a headline traced along its real outline in flowing dots, then fading in one by one), small text (a dotted line through each line of text), image (a frame, a sketch of the photo's tones, a halftone of its own pixels, colour dots, then the photo) and auto (text by size and images in

repo: Jakubantalik/transitions.dev

热度

GitHub 星标
6.0k
排名
#14457
许可证
—
更新时间
2026/10/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能