무엇을 만들고 싶으세요?

Hotkit
로그인요금제 업그레이드
실행 환경
생성 모델이 스킬이 결과를 생성하기 위해 호출하는 모델입니다. 접근 권한은 직접 준비해야 합니다.
호스트 에이전트 LLM
필수 환경
Node.js 22+Google Chrome, Chromium 또는 Microsoft EdgeFFmpeg
프롬프트 미리 보기
# Shape to UI States

One shape, never cut. A pill becomes a loader, a check, a status pill, a player you press and scrub, a volume bar dragged past its maximum, a toggle whose knob turns into a liquid tab indicator, a chart you hover and switch, a command palette you type into, and a toast that folds back into the first button. Fourteen seconds on a 120 BPM grid, 1080x1080, 30 fps; the last frame equals the first, so it loops.

## First-run setup

This skill runs on the user's own computer and needs three free tools: **Node.js 22+**, **Google Chrome, Chromium or Microsoft Edge**, and **FFmpeg**. Check them before the first render in a conversation. Talk to the user in the language they are writing in, in plain words, with no jargon they did not use first.

1. **Check.** Run `node -v`. If it prints v22 or newer, run `node scripts/check-setup.mjs` (add `--route hyperframes` for that route). It prints one line per tool (`OK` / `MISSING` / `OPTIONAL`) and ends with `RESULT: ready` (exit 0) or `RESULT: N missing` (exit 1). If `node` is not found or is older than 22, treat Node.js as missing and still look for the others with `ffmpeg -version` and the browser paths in `scripts/check-setup.mjs`.
2. **All OK:** say nothing about setup and go straight to "Before you start". Do not re-run the check later in the same conversation; run it again only if a later command fails with "not found", "too old" or a missing-tool error.
3. **Something missing:** stop and explain before doing anything else. Use this shape, translated into the user's language:
   > To make this video on your computer I need a few free tools that are not installed yet:
   > - **Node.js** (version 22 or newer) - runs this skill's scripts.
   > - **FFmpeg** - turns the rendered frames into an MP4 file.
   > - **Google Chrome** (or Chromium / Edge) - draws each frame of the animation.
   > I can install them for you now ([the exact commands for this computer]). It takes a few minutes and your computer may ask for your login password. Shall I go ahead?
   List only what is actually missing. Do not install anything until the user clearly says yes.
4. **Install, after a yes**, using the user's system (detect with `uname` on macOS / Linux, or `$env:OS` in PowerShell on Windows):
   - **macOS:** check `brew --version`. If Homebrew exists: `brew install node ffmpeg` and `brew install --cask google-chrome` (skip what is already there). If Homebrew is missing, explain that Homebrew is the free standard installer for Mac tools and ask a second time before installing it. Its official installer asks for the Mac login password, so give the user this one line to paste into Terminal themselves: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`, then follow the "Next steps" lines it prints (they add `brew` to the PATH). If the user prefers not to use Homebrew, use the official installers from the links in step 6.
   - **Windows:** `winget install -e --id OpenJS.NodeJS.LTS`, `winget install -e --id Gyan.FFmpeg`, `winget install -e --id Google.Chrome` (Edge is usually preinstalled, so the browser is often already OK). Open a new terminal afterwards so the PATH updates.
   - **Linux (Debian / Ubuntu):** `sudo apt-get install -y ffmpeg chromium` (on Ubuntu the browser package may be `chromium-browser`). Distribution Node.js is often older than 22: install Node 22+ from the official instructions at nodejs.org instead.
   - Ask for nothing except the system's own password prompt; never ask for account names, tokens or keys. If your sandbox blocks the install, request permission to run that command, or show the user the command to paste into their own terminal.
5. **Verify** with the same check: `node -v` (22 or newer), `ffmpeg -version`, then `node scripts/check-setup.mjs` until it prints `RESULT: ready`. Tell the user in one sentence that setup is done, then continue the task they originally asked for without making them repeat it.
6. **If an install fails** or the user wants to do it by hand, give the official download page and the shortest steps, then re-run step 5 when they say it is done:
   - Node.js: https://nodejs.org/en/download (pick the LTS installer, run it, open a new terminal).
   - FFmpeg: https://ffmpeg.org/download.html (Windows and macOS builds are linked there; put the `ffmpeg` binary on the PATH, or pass `--ffmpeg <path>` to `render.mjs`).
   - Google Chrome: https://www.google.com/chrome/ (or pass `--chrome <path>` to an existing Chromium / Edge).

Once setup is done, continue with "Before you start": ask for the items the user has not given yet; do not start from the example values unless the user asks for a sample.

<!-- fill-in:start -->
<!-- Generated by packing/scripts/fillin.py from references/fill-in.json. Edit the JSON and re-run gen; do not edit this block by hand. -->
## Before you start

The user fills in the items below; `references/fill-in.json` holds the same list in machine-readable form. Talk to the user in the language they are writing in.

| Item | What it is | Example | Required | Limit |
| --- | --- | --- | --- | --- |
| Button word (`slot:button-label`) | The word on the button in the first and last state | Render | yes | up to 12 characters |
| Player title (`slot:player-title`) | Track or project title in the music player card | Late Shift Demo | yes | up to 25 characters |
| Chart number (`slot:chart-value`) | Big number on the chart card when it opens (third tab) | 48,915 | yes | up to 7 characters |
| Chart number after the switch (`slot:chart-value-2`) | Big number after the cursor switches to the second tab | 12,377 | yes | up to 8 characters |
| Chart caption (`slot:chart-label`) | Caption under the big number, saying what it counts | new signups | yes | up to 26 characters |
| Toast message (`slot:toast-text`) | Message in the toast at the end, usually the result of the chosen command | Shipped to production | yes | up to 27 characters |
| Color (`option:--theme`) | Warm off-white canvas with black shapes and a warm gradient cover, cool grey with a blue accent, dark with an orange accent, or sand with a green accent | paper | no, default: paper | one of: frost (grey, blue) / night (dark, orange) / paper (off-white, black) / sand (beige, green) |
| Brand color (`option:--accent`) | Only if the user wants their own brand color instead of the preset colors | #1E3A8A | no, default: none | #RRGGBB |
| Video size (`option:--resolution`) | 1080p for social posts, 4K for big screens | 1080p | no, default: 1080p | one of: 1080p / 4K |

**Ask first, then make.**

1. Take every item the user already gave, from this message or earlier in the conversation.
2. If a **required** item is still missing (Button word, Player title, Chart number, Chart number after the switch, Chart caption, Toast message), stop and ask before creating anything. Use one short message in the user's language: list only the missing items, each with its plain name, the one-line explanation and the example, and mention the defaults of the optional items in the same message so the user can change them in one reply.
3. Never make up the user's content: no invented names, places, dates, prices, claims, people or photos. The examples in the table are only examples.
4. Use the example values only when the user explicitly asks for a sample (for instance "show me an example first", in any language); then say in one sentence that the result uses sample content to be replaced.
5. If an answer breaks a limit, propose a shorter version or a valid option and ask; never cut or change it silently.
6. Read the final values back in one line, then go on to Steps.

- The chart numbers and the tooltip are figures: use the user's own or ask; never invent them for a real product.
- Keep the interface story consistent: `palette-query` is what gets typed, rows 4 and 5 (`palette-4`, `palette-5`) are its matches and the toast reports the result of row 5.
- This scene is type and flat shapes only: no logos, photos, footage or real product screenshots.
- The bundled typefaces have Latin letters only (no Chinese, Japanese or Korean characters). If the user writes a line in one of those scripts, say so and ask for a Latin-letter version; do not translate their names yourself.
- The render route (built-in or HyperFrames) is not a fill-in item: use the built-in renderer unless the user asks for HyperFrames.

Not asked (the agent decides): `slot:island-label` - status word on the small pill; interface filler the agent writes to match the user's product and reads back; `slot:player-sub` - line under the player title; interface filler the agent writes and reads back; `slot:player-time` - elapsed time in the player, like 1:04; interface filler, kept unless the user asks; `slot:player-remain` - remaining time in the player, like -2:31; interface filler, kept unless the user asks; `slot:tab-*` - three tab names shared by the tab bar and the chart card; generic period words (Today, Week, Quarter) changed only to fit the user's product; `slot:chart-tip` - tooltip figure on the chart; use a figure the user gave, otherwise ask, never an invented one; `slot:palette-*` - command palette search, shortcut and five command rows; written by the agent to match the user's product, kept consistent with the toast and read back before rendering.

Fill-in prompt shown to the user after install (copy, replace the brackets, send):

> Use shape-to-ui-states to make a UI morph loop: button word = [button word], player title = [title in the player], chart numbers = [first chart number] then [second chart number], chart caption = [what the number counts], toast = [toast message], color = [paper / frost / night / sand]

Show it in the user's language (`references/fill-in.json` also holds a Chinese version), with the brackets left for the user to fill.

Not sure what to put? The user can say "show me an example first" and you use the example values.
<!-- fill-in:end -->

## Text slots

Every visible word is a named slot. Defaults live in `references/defaults.json`; `create.mjs` refuses text over the limit.

| Slot | Default | Max | Where |
| --- | --- | --- | --- |
| `button-label` | Render | 12 | first and last state |
| `island-label` | Exporting | 11 | status pill |
| `player-title` | Late Shift Demo | 25 | player card |
| `player-sub` | built frame by frame | 35 | player card |
| `player-time` | 1:04 | 13 | under the scrub bar, left |
| `player-remain` | -2:31 | 13 | under the scrub bar, right |
| `tab-1` | Today | 6 | tab bar and chart header |
| `tab-2` | Week | 6 | tab bar and chart header (clicked on the chart) |
| `tab-3` | Quarter | 7 | tab bar and chart header (selected first) |
| `chart-value` | 48,915 | 7 | big number for tab 3 |
| `chart-value-2` | 12,377 | 8 | big number after switching to tab 2 |
| `chart-label` | new signups | 26 | caption under the number |
| `chart-tip` | +18% | 7 | tooltip on the hovered point |
| `palette-hint` | Search actions | 30 | empty search field |
| `palette-query` | ship | 34 | text typed into the search |
| `palette-key` | Ctrl K | 10 | shortcut chip |
| `palette-1` .. `palette-3` | New scene, Duplicate layer, Motion blur | 39 | rows filtered out by the query |
| `palette-4` | Ship preview | 39 | first match |
| `palette-5` | Ship to production | 39 | second match, chosen with Enter |
| `toast-text` | Shipped to production | 27 | toast |

Keep the story consistent: `palette-query` should appear in rows 4 and 5, and `toast-text` should be the result of row 5. Limits were measured with `render.mjs --measure` (longest text that fits at every check time) and set to about nine tenths. Wide letters fill a line sooner, so step 2 is the real gate. There are no picture slots.

## Steps

1. **Create** an editable copy with the user's words:
   ```bash
   node scripts/create.mjs --out ./ui-scene --theme paper \
     --set "button-label=Publish" --set "palette-query=pub" \
     --set "palette-5=Publish to web" --set "toast-text=Published to web"
   ```
   `--set slot=value` repeats; `--data content.json` takes an object of slot values; `--help` lists every slot. Result: `./ui-scene/index.html` and `scene.json`.
2. **Check** every label: `node scripts/render.mjs ./ui-scene --check`. It must print `Text fit check passed`. If a slot is listed, shorten it and repeat step 1 with `--force`.
3. **Look** at stills: `node scripts/render.mjs ./ui-scene --frames 2200,6450,8300,10300,11200,12200`. PNGs land next to the folder.
4. **Render** with the chosen route and hand back the MP4 plus the scene folder.

## Render

Built-in renderer (Node.js 22+, Chrome / Chromium / Edge, FFmpeg; fully offline):

```bash
node scripts/render.mjs ./ui-scene --output ./ui-scene.mp4
```

It seeks the scene frame by frame in headless Chrome and encodes H.264 with FFmpeg (420 frames, about 1.5 to 2 minutes). Pass `--chrome <path>` or `--ffmpeg <path>` if they are not found.

HyperFrames (Node.js 22+, FFmpeg, internet once for `npx`, which downloads the CLI and its own Chrome):

```bash
node scripts/hyperframes.mjs ./ui-scene --out ./ui-hf
cd ./ui-hf
npx --yes hyperframes@0.9.26 check
npx --yes hyperframes@0.9.26 render --output ui.mp4
```

The project keeps the same HTML, fonts and timing; `hf-runtime.js` hands the clock to HyperFrames. Change words by repeating step 1 and re-running `hyperframes.mjs`, not by editing the project. Set `HYPERFRAMES_NO_TELEMETRY=1` if the user does not want anonymous usage counters sent. If the user does not choose, use the built-in renderer.

## Rules

- Keep the timeline: change words and the theme, never timings, sizes or the order of states.
- One shape carries all twelve states. Do not add a second card, a background panel or a border.
- One accent color plus the theme's two surfaces and a muted gray. No gradients, glows or extra colors.
- Every label stays on one line. Never put a sentence in a slot.
- Never invent facts, client names or numbers; use only what the user gave you, or the defaults.

## Check

- `node scripts/render.mjs ./ui-scene --check` passes.
- Open the stills from step 3: at 2200 ms the player title and both times are readable; at 6450 ms the first tab label sits on the dark indicator; at 8300 ms the tooltip sits on the line; at 10300 ms all five commands show; at 11200 ms only rows 4 and 5 remain and the typed text is complete; at 12200 ms the toast text is not cut.
- Compare `--frames 0` with `--frames 13999`: they must look the same, or the loop jumps.
- HyperFrames route: `npx hyperframes check` reports no errors.

## Not for

- Clips longer than 14 seconds or with several scenes.
- Logos, photos, footage or real product screenshots; this scene is type and flat shapes only.
- Voiceover, music or subtitles.

## References

- `scripts/check-setup.mjs` - first-run tool check (read-only; same Chrome / FFmpeg lookup as `render.mjs`).
- `references/defaults.json` - slots, limits, check times, themes.
- `references/project/` - the scene (HTML, fonts, `runtime.js`).
- `references/hyperframes/hf-runtime.js` - clock bridge used by `scripts/hyperframes.mjs`.
- `references/third-party-notices.md` - font licenses.
- `references/inspiration.md` - credit to the original creator.

## Inspiration

The idea comes from a 14-second reel by @twoclipping, who open-sourced the prompt template behind it and invited people to recreate it. This Skill is an independent rebuild: new layout, palette, type, words and motion values, on our own renderer.

변수 수정 가능한 필드 없음

사용 방법

  1. 사용 방식 선택

    브라우저의 Studio에서 편집하거나 AI에 설치해 더 자유롭게 작업하세요.

    편집기 출시 예정

    Prompt / CLI / MCP / ZIP · API: 출시 예정

  2. 설치 방법 선택

    AI 설치는 모두 계정이 필요해요. 무료 팩은 로그인만, 유료 팩은 구매 또는 멤버십도 필요해요.

    Prompt
    다운로드와 검증 절차가 담긴 설치 프롬프트를 AI에 전달하세요.
    CLI
    로그인 후 AI를 선택하고 설치 명령을 실행하세요. Node.js 22+가 필요해요.
    MCP
    설정 추가 후 AI를 재시작하고 계정 연결, 검색, 설치를 요청하세요. Node.js 22+가 필요해요.
    ZIP
    ZIP을 풀고 SKILL.md가 바로 들어 있는 팩 폴더를 AI의 스킬 디렉터리에 넣으세요.

    설치 위치

    • Claude Code: ~/.claude/skills
    • Codex / Cursor / Gemini CLI / OpenCode / shared: ~/.agents/skills
    • OpenClaw: ~/.openclaw/workspace/skills

    설치 후 이렇게 말해 보세요:

    shape-to-ui-states로 내 콘텐츠를 만들어 줘. 필요한 자료를 먼저 물어봐.
  3. 팩 구성

    ZIP에 파일 17개

    • 단어와 테마가 포함된 편집 가능한 14초 1080x1080 장면 폴더
    • 내장 렌더러 또는 HyperFrames에서 렌더링된 MP4
    • 렌더링 전에 모든 라벨이 맞는지 자동 확인
  4. 준비할 것

    Studio는 브라우저, 설치는 스킬 지원 AI(Claude Code, Codex, Cursor, OpenClaw)가 필요해요. CLI / MCP 설치에만 Node.js 22+가 필요해요. 제작 의존성은 아래를 확인하세요.

    • 필수 · Node.js 22 이상
    • 필수 · Google Chrome, Chromium 또는 Microsoft Edge
    • 필수 · FFmpeg
    • 선택 · HyperFrames CLI (npx hyperframes)

제공 항목

  • 단어와 테마가 포함된 편집 가능한 14초 1080x1080 장면 폴더
  • 내장 렌더러 또는 HyperFrames에서 렌더링된 MP4
  • 렌더링 전에 모든 라벨이 맞는지 자동 확인

추천 대상

  • 랜딩 페이지 또는 앱 프로모션을 위해 반복되는 UI 모션 클립이 필요한 제품 팀
  • 구성 요소 라이브러리를 하나의 연속 샷으로 보여주는 디자인 스튜디오
  • 새로운 카피로 스타일을 변경할 수 있는 코드 기반 UI 애니메이션을 원하는 개발자

적합하지 않은 용도

  • 14초보다 길거나 여러 장면이 포함된 클립
  • 로고, 사진, 영상 또는 실제 제품 스크린샷
  • 음성 해설, 음악 또는 자막

평점과 리뷰

아직 평가 없음

팩 평가하기

리뷰

아직 리뷰가 없습니다

자주 묻는 질문

텍스트와 색상을 변경할 수 있나요?

예. 표시되는 모든 단어는 글자 수 제한이 있는 텍스트 슬롯이며, 종이, 서리, 밤, 모래 테마 또는 브랜드 액센트를 선택할 수 있습니다.

내 자산이 필요합니까, 아니면 API 키가 필요합니까?

아니요. 장면은 유형 및 평면 모양에만 해당되며 두 글꼴 모두 Skill과 함께 제공되며 두 렌더링 경로는 모두 무료로 로컬에서 실행됩니다.

스타일이나 모션을 변경할 수 있나요?

타임라인은 고정되어 있어 모든 렌더링이 깔끔하게 유지됩니다. 타이밍이 아닌 단어와 색상을 변경합니다.

이 팩을 잠금 해제하면 쓸 수 있어요

도형에서 UI 상태로

이 팩

일회성 결제

  • 내 AI에 설치
  • ZIP 다운로드
선택
추천

멤버십

  • 모든 Pro 팩
  • 하루 서로 다른 팩 50개 다운로드
선택

편집기가 있는 무료 팩은 편집과 내보내기가 가능해요.

비슷한 팩

모두 보기
아르데코 마키
미술사 스피드런
바우하우스 비트 포스터
출입금지 테이프 공개
초크 블루프린트 인트로
시네마틱 타이틀
막대 차트 포커스
큰 숫자
채팅 답변
프레젠터 체크리스트
핵심어 손그림 원
선 그래프 추세
마커 인용구
진행률 링
단계 연결
지우고 다시 쓰기
오려 붙인 이름 자막
사선 와이프 비포 애프터
플로 퍼널
목표 달성 액체 게이지
아이소메트릭 히트 그리드
KPI 카드 패널
마일스톤 트랙
주행계 카운터 월
순위 변동 리포트
지역별 핀 맵
데이터 스토리 차트
와플 플립 점유율
글자 도미노
입체 글자 스핀
피처 큐브
불꽃놀이 피날레
손전등 탐색 공개
접이식 초대장
만년필 서명
프레임 터널 다이브
가스 행성 워프
하프톤 마스코트 프로모션
하프톤 포트레이트 팝
홀로 포일 수집 카드
HUD 타깃 잠금
아이리스 챕터 스토리
포토 만화경
오로라 글래스 런치
커맨드 팔레트 런치
CTA 펄스 런치
기능 팬 런치
기능 토스트 런치
로고 록업 런치
요금 토글 런치
스켈레톤 리빌 런치
UI 마키 런치
워드 드럼 런치
글자 포털 비행
리퀴드 머지
돋보기 디테일 투어
메가 세일 슬램
메탈 코인 플립
네온사인 점등
한 줄로 그리는 도시
페이지 플립 룩북
팔레트 나이프 유화
종이비행기 메시지
파티클 로고 조립
포토 필 타이틀
픽토그램 카운트다운
픽셀 펫 컴패니언 런칭
팝아웃 프레임
모션 이력서 쇼릴
RGB 신호 글리치
3D 링 제품 라인업
물방울 물결 공개
스크랩북 붙이기
스크래치 카드 공개
실크 배너
실크스크린 포스터 스토리
스케치 코스모스 몽타주
슬라이스 셔터 갤러리
슬롯 릴 잭팟
양문 공개
스플릿 플랩 출발 안내판
스테인드글라스 햇살
스와이프 카드 픽
스위스 타이포 슬램
신스웨이브 나이트 드라이브
타일 플립 모자이크
기울어진 포토 월
토큰 스트림 런칭 필름
UX 결정 레드라인
화이트보드 스케치 설명
목판화 프린트
워드 보텍스 공개
문제 신고

스킬 요청