platforms/codex/skills/gsap/SKILL.md
官方 GSAP 前端动效聚合 skill。用于实现或审查 JavaScript/React/Next/Vue/Svelte 动画、GSAP tweens/timeline、ScrollTrigger 滚动动画、插件、性能优化、reduced motion 与可访问性动效;默认按任务读取 references/ 中的官方 GreenSock GSAP skills。健康/长辈类产品默认使用克制动效。
npx skillsauth add codingsamss/ai-dotfiles gsapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
这个 skill 聚合官方 greensock/gsap-skills 的 8 个 GSAP skills。用户只需要调用 $gsap;执行时按任务读取对应 reference,保留官方正确用法。
gsap.matchMedia():读 references/gsap-core.mdreferences/gsap-timeline.mdreferences/gsap-scrolltrigger.mdreferences/gsap-plugins.mdgsap.utils、clamp、mapRange、snap、toArray:读 references/gsap-utils.mduseGSAP()、scope、SSR、cleanup:读 references/gsap-react.mdreferences/gsap-performance.mdreferences/gsap-frameworks.mdreferences/llms.txtnpm install gsapnpm install @gsap/reactgsap 包;不要生成 .npmrc,不要使用私有 GreenSock registry,不要提示 Club GSAP 付费。useGSAP()、scope 和自动 cleanup;不用 useGSAP() 时必须使用 gsap.context() 并在 cleanup 中调用 ctx.revert()。gsap.registerPlugin(ScrollTrigger);生产代码移除 markers;只有布局实际变化后才调用 ScrollTrigger.refresh()。transform / opacity,使用 GSAP 的 x、y、scale、rotation、autoAlpha;避免用 width、height、top、left 做运动动画。给家里长辈使用的健康网站或类似产品,默认遵守:
prefers-reduced-motion,必要时用 gsap.matchMedia() 分支。development
Query Midea MX / 美信 local message cache through the MX local HTTP query service from Codex. Use when the user asks to read MX sessions, search chat history, search messages globally or inside a group/session, list recent messages, or page message history. This is read-only and does not require send authorization. Never fall back to reading SQLite or app cache files directly.
development
Safely search MX users or groups and send Midea MX / 美信 IM messages from Codex. Use when the user asks to notify someone, send a message to a person or group, use a configured group alias, @ users, @ all, or send MX file/image messages. Read lookups need no extra authorization; every live send needs explicit user authorization for that exact target and message.
tools
MX channel output rules. Always active in MX conversations.
tools
Use the company WorkSpace `ws` CLI reliably as a delegated coding agent from Codex. Trigger when the user wants Codex to command `ws`, WorkSpace CLI, or the company opencode-derived coding tool to generate code, inspect a repo, run a bounded implementation task, or use a requested WorkSpace model while Codex reviews the output.