跳到正文
cccskills
免费在 GitHub 公开

zt-three-react

React Three Fiber architecture: production-level Canvas mount, component lifecycle, useFrame. Use when implementing, reviewing or testing react three fiber architecture for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

React Three Fiber architecture

When to activate

Use on tasks involving Canvas mount, component lifecycle, useFrame. For unrelated backend tasks do not load this skill.

Implementation sequence

  1. Choose perspective or orthographic camera, scene graph, model coordinate scale and render target.
  2. Allocate geometry and materials outside render loop; use indexed/instanced buffers when repeated objects.
  3. Constrain frame rendering to actual need, remove handlers and dispose GPU resources.
  4. Integrate screen-space text as DOM accessible overlay and provide WebGL failure fallback.
  5. Verify 320/375/768/1440, low end DPR=1 and interaction at 30/60FPS.

Task-specific requirements

  • Scope: Canvas mount, component lifecycle, useFrame. Design the full execution path, not a screenshot placeholder.
  • Identify dependency version and actual supported API signature; avoid inventing APIs.
  • Use original code, or install licensed upstream through its maintained tool if the user wants upstream code.
  • Choose measurable states, error handling, accessibility and performance budgets.

Implementation starter

Implementation notes: Model Canvas mount, component lifecycle, useFrame as explicit states, define input/output props and independent cleanup. Read master reference(s) below before writing code.

Evidence / acceptance

  • Renderer disposes; fallback provides content; no runaway GPU usage; no clipped subject at narrow widths.
  • Test common, edge, interrupted, accessibility and responsive states; provide concrete artifacts/evidence.

Deep references

  • ../perfect-ai-master/references/02-threejs-3d.md
  • ../perfect-ai-master/references/13-threejs-animation-atlas.md
  • ../perfect-ai-master/references/17-threejs-production-guide.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build, audit, and refactor premium Persian/English responsive websites and interactive 3D experiences with Anime.js v4, Three.js, motion choreography, color theory, RTL design systems, accessible UI/UX and VibeFarsi registry. Use for website design, animations, motion, landing pages, 3D/WebGL, responsive interfaces, visual quality, or Perfect_AI projects in Codex.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月10日 更新

Accessibility automation: production-level axe audits and manual keyboard checks. Use when implementing, reviewing or testing accessibility automation for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月10日 更新

قواعد پروژه assistant for Codex; apply when building Persian/RTL web products, localizing content or integrating the related Iranian workflow. Local independent adaptation inspired by publicly documented VibeFarsi topics.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月10日 更新

Easing mathematics: production-level cubic bezier, damped spring, velocity continuity. Use when implementing, reviewing or testing easing mathematics for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月10日 更新

Anime.js v4 core animations: production-level target selection, property keyframes, duration, ease, loop, play/pause. Use when implementing, reviewing or testing anime.js v4 core animations for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月10日 更新

Layout changes: production-level FLIP layout, additive composition, measurement. Use when implementing, reviewing or testing layout changes for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月10日 更新

查看 Realjustawall 的全部技能

报告此技能的问题