transitions-ui-generation
ما الذي تفعله
تضيف هذه المهارة حركة رسم إلى عنصر في الصفحة، فيبدو كأن وكيل الذكاء الاصطناعي هو من يولّده. وهي مناسبة للمصممين والمطورين الذين يريدون ظهوراً لافتاً للواجهات أو العناوين أو الصور.
متى تستخدمها
- ✓عندما تريد أن تظهر بطاقة أو لوحة كأن وكيلاً يبنيها.
- ✓عندما تريد أن يُرسم العنوان بالنقاط قبل أن يتلاشى.
- ✓عندما تريد أن تكشف الصورة الرئيسية نفسها من نمط نقطي.
رابط المهارة
https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-ui-generation/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اجعل عنوان الصفحة الرئيسية يظهر كأن الذكاء الاصطناعي يرسمه بالنقاط قبل أن يستقر النص.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقيس التأثير العنصر الحقيقي في الصفحة، ويرسم نسخة منقطة من حدوده، ثم ينتقل إلى المحتوى الحقيقي حتى تتطابق كل الأجزاء.
المحتوى التقني (ملف 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):
- 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.
- 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.
- 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.
- 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.
- 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 adelay. 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
الشعبية
- نجوم GitHub
- 6.0k
- الترتيب
- #14457
- الترخيص
- —
- آخر تحديث
- 29/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
transitions-agent
6.0kيتيح لوكيلك فحص كود موقع إلكتروني بحثاً عن حركات واجهة مفقودة أو غير متساوية، ثم إصلاحها بوصفات transitions.dev الجاهزة.
refine-live
6.0kيتيح لوكيلك الرد على طلبات Refine القادمة من Timeline Inspector في transitions.dev، عبر متابعة وسيط محلي داخل المحادثة.
transitions-dev
6.0kيعلّم وكيلك كيف يضيف 32 حركة CSS جاهزة، مثل النوافذ المنبثقة والقوائم المنسدلة والشارات وتبديل النصوص، إلى تطبيق ويب.
transitions-polish
6.0kيساعد وكيلك على ضبط الحركات الموجودة في تطبيق ويب، فتتوحد مدد الانتقال والمسافات والتسارع والضبابية وفق مقياس تصميم واحد.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.