transitions-agent
Ce qu’il fait
Cette skill lance l'outil transitions-agent pour vérifier une base de code à la recherche de problèmes d'animation et propose des corrections. Elle s'adresse aux développeurs web qui veulent des mouvements fluides et cohérents.
Quand l’utiliser
- ✓Quand vous voulez vérifier un projet pour détecter des animations manquantes ou inégales.
- ✓Quand vous lancez la commande transitions-agent et voulez l'analyse guidée et les corrections.
- ✓Quand vous voulez que les fenêtres modales, les menus déroulants ou les infobulles s'animent de façon cohérente.
Lien du skill
https://github.com/Jakubantalik/transitions.dev/blob/main/agent/skill/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Analyse mon projet pour repérer les animations d'interface saccadées ou incohérentes, et guide-moi dans les corrections.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lance une analyse en lecture seule, affiche un score de mouvement et les constats, puis propose des options de correction. Il ne modifie aucun fichier avant que vous ayez choisi et approuvé une option.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Scan (safe, read-only, no account needed) from the repository root:
npx transitions-agent@latest --jsonReport to the user: the motion score (0-100), then the
componentslist - 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.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
- 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:
License: hosted fixes need a key. It resolves from
TRANSITIONS_AGENT_LICENSE, or~/.transitions-agent.json. If neither exists, offer:npx transitions-agent@latest signupThis 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>.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 signupopens the browser; existing accounts sign in the same way. Wait for it, then re-runinit-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
Questions fréquentes
L'analyse modifie-t-elle mes fichiers ?
Non. L'analyse est en lecture seule et ne demande aucun compte.
Corrige-t-elle sans demander ?
Non. Chaque correction attend votre choix et votre accord.
Quelles parties d'une interface vérifie-t-elle ?
Elle examine des composants comme les fenêtres modales, les menus déroulants, les infobulles, les notifications, les accordéons et les onglets.
Détails
Description originale de l’auteur
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.
Popularité
- Étoiles GitHub
- 6.0k
- Position au classement
- #14453
- Licence
- —
- Mis à jour
- 29/10/2026
Commentaires
- …
Autres skills de ce dépôt
refine-live
6.0kPermet à votre agent de répondre aux demandes Refine de l'Inspecteur de chronologie transitions.dev, en interrogeant un relais local depuis le chat.
transitions-dev
6.0kApprend à votre agent à ajouter à une app web 32 transitions CSS prêtes à l'emploi, pour fenêtres modales, menus déroulants, badges et changements de texte.
transitions-polish
6.0kAide votre agent à régler les animations existantes d'une app web : durées, distances, courbes et flou suivent une même échelle de design cohérente.
transitions-ui-generation
6.0kPermet à votre agent d'ajouter un effet de génération par IA : une interface, un titre ou une image se dessine en points avant l'apparition du contenu réel.
Skills similaires
canvas
394kPermet à votre agent d'afficher un widget visuel hébergé sur un panneau Mac connecté, puis de masquer ce panneau ou de le déplacer vers une autre page.
control-ui
394kAide votre agent à organiser et dépanner l'interface de contrôle d'OpenClaw, y compris les sessions, les tableaux de bord et les passerelles connectées.
diagram-maker
394kAide votre agent à créer des diagrammes clairs en SVG, HTML ou Excalidraw modifiable, pour des processus, des architectures système et des croquis de tableau blanc.