본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)6.0k · #14453

transitions-agent

하는 일

이 스킬은 transitions-agent 도구를 실행해 프로젝트의 애니메이션 문제를 점검하고 수정 방법을 제안합니다. 인터페이스 움직임을 부드럽고 일관되게 만들고 싶은 웹 개발자를 위한 것입니다.

사용하는 경우

  • ✓프로젝트에 빠졌거나 고르지 않은 애니메이션이 있는지 점검하고 싶을 때.
  • ✓transitions-agent 명령을 실행해 안내된 검사와 수정을 받고 싶을 때.
  • ✓모달, 드롭다운, 툴팁이 일관된 방식으로 애니메이션되기를 원할 때.

스킬 링크

https://github.com/Jakubantalik/transitions.dev/blob/main/agent/skill/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Jakubantalik/transitions.dev/blob/main/agent/skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 프로젝트를 검사해서 끊기거나 일관되지 않은 UI 애니메이션을 찾고, 수정 방법을 하나씩 안내해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 읽기 전용 검사를 실행해 모션 점수와 발견 사항을 보여 준 뒤 수정 옵션을 제시합니다. 사용자가 하나를 고르고 승인하기 전까지 파일을 바꾸지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Transitions Motion Agent

You drive the transitions-agent CLI for the user: scan, present choices, run the choice they pick, verify. The scan is deterministic and free; fixes change files, so every fix step needs the user's go-ahead first.

When the user's message is just the scan or fix command (npx transitions-agent, npx transitions-agent fix, or a variant), that IS the request for this whole workflow: run the scan, then ALWAYS continue to the options step below - never stop at reporting the scan output. init-ci is different: it is CI setup only (see CI setup) - never scan or fix as part of it.

Workflow

  1. Scan (safe, read-only, no account needed) from the repository root:

    npx transitions-agent@latest --json
    

    Report to the user: the motion score (0-100), then the components list - every UI component the scan recognized (modal, dropdown, tooltip, toast, accordion, tabs, toggle...) with its motion and the transitions.dev recipe it maps to, marked as matching the recipe, off the motion scale, built wrong, or hand-rolled - then the findings grouped by rule with file:line. Keep it short; lead with the score.

  2. Present exactly these two options and let the user choose (do not fix without a choice, and do not invent other options such as fixing the findings yourself):

    • Polish fix - the transitions-polish treatment: every value moved onto the motion-token scale by what it does (a 300ms modal close becomes 150ms), hover transitions covering what the hover changes, a reduced-motion guard. Small diffs, nothing restructured: npx transitions-agent@latest fix --yes
    • Revamp fix - everything polish does, plus the transitions.dev recipe installed on each recognized component (Pro recipes included): recipe CSS, state hooks, and the JS for enter and exit. Business plan: npx transitions-agent@latest fix --mode revamp --yes
  3. License: hosted fixes need a key. It resolves from TRANSITIONS_AGENT_LICENSE, or ~/.transitions-agent.json. If neither exists, offer:

    npx transitions-agent@latest signup
    

    This opens the user's browser; they enter their email there and the key saves itself. Wait for it to finish, then run the fix. If it reports the key could not be saved (sandboxed agent), pass it on every fix with --license <key>.

  4. Verify: re-run the scan and report the score change (for example "71 to 89"). If the user wants it as a pull request, use fix --pr (it creates a branch and opens a PR; it never touches the main branch) - only with their explicit ok.

CI setup

When the user asks to add the Agent to GitHub Actions / CI, or their message is npx transitions-agent init-ci (any flags), set up CI and nothing else: do NOT run a scan or a fix. Run:

npx transitions-agent@latest init-ci

It writes both workflows (score plus automatic fixes on every pull request: a fix pull request into that branch, never main, that the user merges to apply or closes to reject; and a manual fix run from the Actions tab), keeps existing ones, checks the GitHub side, shows which fix modes the user's key allows, and ends with lettered Options. Relay a one-line status, then present those options exactly as printed and ask which to do. Automatic fixes default to polish; ask the user which they want when it matters: --mode revamp (Business) or --no-auto-fix (scores only). Labels on a pull request override it per pull request: revamp, polish, no-motion-fix. Typical options:

  • Sign up or sign in (no key yet): npx transitions-agent@latest signup opens the browser; existing accounts sign in the same way. Wait for it, then re-run init-ci.
  • Finish the GitHub side (license secret + pull request permission): npx transitions-agent@latest init-ci --yes. The key never appears in output.
  • Revamp as the default fix mode (Business keys): npx transitions-agent@latest init-ci --mode revamp.
  • Turn on automatic fixes for an older workflow: npx transitions-agent@latest init-ci --upgrade.
  • Commit the workflow files: on a new branch with a pull request, never straight to main.
  • Create a GitHub repository when the project has none.

Run only what the user picks. If gh is missing or blocked by a sandbox, give the user the manual steps it printed. Finish when it says "CI is fully set up", or tell the user exactly which step is theirs.

Network

transitions-agent needs network access: npm has to fetch the

자주 묻는 질문

검사가 파일을 바꾸나요?

아니요. 검사는 읽기 전용이며 계정도 필요하지 않습니다.

물어보지 않고 고치나요?

아니요. 모든 수정은 사용자의 선택과 승인을 기다립니다.

UI의 어떤 부분을 검사하나요?

모달, 드롭다운, 툴팁, 토스트, 아코디언, 탭 같은 컴포넌트를 봅니다.

상세 정보

작성자의 원본 설명

Scan a codebase for missing, janky, or inconsistent UI motion and fix it with transitions.dev recipes. ALWAYS use this skill when the user's message is or contains a transitions-agent command (npx transitions-agent, npx transitions-agent fix, any variant) - the command is a request for the full guided flow, not just command execution. Also use when the user asks about UI transitions, animations, motion quality, a motion score, janky or missing transitions, "polish the motion", "fix the animations", or whether the motion is good after UI changes.

repo: Jakubantalik/transitions.dev

인기도

GitHub 스타
6.0k
순위
#14453
라이선스
—
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬