marktantongco/opencode-os/animation-auditor
Claude Code and agent skill by marktantongco/opencode-os
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Audit codebases for animation anti-patterns, performance violations, accessibility issues, and framework integration errors. Use when reviewing animation code, running CI checks, pre-commit validation, or when the user asks "does this animation code look right", "audit my animations", or "check for animation issues". Also trigger for animation code review, performance audit, bundle size check, accessibility compliance review, or when animation-related PRs are submitted. Always use this skill for any animation code review — do not review animation code without it.
Install
npx vskill@latest install marktantongco/opencode-os/animation-auditorSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as marktantongco/opencode-os/animation-auditor.
Animation Auditor
context
This skill enforces animation quality gates for the Design OS. It scans code for the 8 most common animation anti-patterns that cause bugs, performance issues, and accessibility failures. It runs as a validation pipeline step and as a manual review tool.
instructions
Step 1: Determine Audit Scope
| Trigger | Scope | Command | |
|---|---|---|---|
| Pre-commit CI | Full project scan | python scripts/audit-animation.py ./ | |
| PR review | Changed files only | python scripts/audit-animation.py --diff | |
| Manual review | Specific file | Read file + apply checklist inline | |
| Bundle check | Import analysis | Check imports against budget |
Step 2: Run the Audit Script
The script checks:
- Bundle optimization — Full
motionimport (34KB) withoutLazyMotionoruseAnimate - Tailwind conflict —
transition-*classes on Motion elements - Next.js directive — Missing
"use client"for Motion in App Router - AnimatePresence —
exitprop without<AnimatePresence>wrapper - Accessibility — Missing
useReducedMotion()check - GSAP registration — Plugins used but not registered
- GSAP React integration — Raw
useEffect+ GSAP instead ofuseGSAP() - CSS conflict — CSS animations alongside Motion
Step 3: Review Results
The script outputs JSON:
Severity rules:
- Error → Block commit. Must fix before merge.
- Warning → Review recommended. Non-blocking but flagged.
Step 4: Manual Review Checklist
For files the script can't analyze (dynamic imports, template strings):
- [ ] Import strategy matches bundle budget
- [ ] No Tailwind
transition-*on Motion elements - [ ]
"use client"present for Next.js App Router - [ ]
AnimatePresencewraps anyexitanimations - [ ]
useReducedMotion()checked before heavy animations - [ ] GSAP plugins registered before use
- [ ]
useGSAP()used instead of rawuseEffect - [ ] No CSS
@keyframesmixed with Motion - [ ]
layoutprop used correctly (not on every element) - [ ] ScrollTrigger instances cleaned up on unmount
Step 5: Generate Report
Format findings as:
constraints
- NEVER skip the audit for "quick fixes" — animation bugs compound silently.
- NEVER treat warnings as optional — they predict future errors.
- NEVER audit only the happy path — check error states, loading states, and reduced motion.
- NEVER forget to check cleanup — unmounted GSAP ScrollTriggers leak memory.
examples
Example 1: CI Audit Failure
Input: "Run animation audit on our Next.js project."
Output:
references
references/audit-rules.md— Full rule definitions with code examplesreferences/ci-integration.md— Pre-commit hook, GitHub Action, and pipeline setup
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/animation-auditor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/marktantongco/opencode-os/animation-auditor)