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() 分支。tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。