threejs-debug-profiler

诊断 Three.js 问题:基于可复现的重现步骤和实测证据,排查渲染、资源加载、动画、窗口大小调整、音频、物理、输入、移动端与性能相关的问题。

仓库最近推送
GitHub Stars
126
Forks
11
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "threejs-debug-profiler":https://skillpi.com/zh/skills/deepskill-f32ae4ec6f5bc490eef4abff765c4e6f185628ec776372ad641e08d07adee761。安装前核对上游来源和版本:https://github.com/mintdotgg/mint-threejs-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

诊断 Three.js 问题:基于可复现的重现步骤和实测证据,排查渲染、资源加载、动画、窗口大小调整、音频、物理、输入、移动端与性能相关的问题。

0 下载

介绍来源: third_party · mintdotgg · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: threejs-debug-profiler
description: "Diagnose Three.js rendering, loading, animation, resize, audio, physics, input, mobile, and performance problems using reproduction and measured evidence."

Three.js Debug Profiler

Find the owning cause or measured bottleneck before changing code.

Read references/debug-profile-checklists.md for the applicable render, runtime, loading, mobile, audio, physics, or performance path.

Debug Workflow

  1. Reproduce in the correct build mode.
  2. Read the first console, page, and relevant network errors.
  3. Check canvas display/drawing-buffer size, renderer/context, and loop ownership.
  4. Check camera, clipping, lights, fog, materials, visibility, transforms, and scene contents.
  5. Check asset paths, loaders, CORS, base path, async ordering, and Mint artifact integration.
  6. Check delta units, update order, fixed timestep, bodies/colliders, listeners, pointer/touch behavior, resize, and audio unlock/decode.
  7. Fix the cause in the owning module.
  8. Retest the broken path plus screenshot, canvas pixels, and errors.

Performance Workflow

  1. Record target device, viewport, DPR, build mode, and worst-case scenario.
  2. Measure frame time/FPS, draw calls, triangles, resources, memory, bundle, and expensive shadows/shaders/post-processing.
  3. Identify CPU, GPU, memory, or network ownership.
  4. Change one bottleneck at a time using reuse, instancing, culling, LOD, pooling, disposal, DPR limits, or cheaper rendering.
  5. Re-measure the same scenario and verify playability and visuals.

Final Response

Lead with root cause or bottleneck. Report files changed, baseline/post metrics, commands, screenshots/artifacts, retested paths, and residual risks.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供系统化的 Three.js 问题诊断与性能优化工作流
  • 覆盖渲染、加载、动画、性能等开发者常见痛点
触发精准55/100

待提升项

  • 缺少 When to Use 和具体触发关键词 原报告严重程度:轻微

    description 描述了功能范围,但未提供明确的触发关键词和使用场景说明

    改进建议:补充 When to Use 章节,并列出如 'threejs debug'、'threejs performance' 等具体触发词

结构规范75/100

待提升项

  • 缺少端到端示例 原报告严重程度:轻微

    工作流步骤清晰,但缺少具体问题场景的完整示例(如错误现象、诊断过程、修复结果)

    改进建议:添加一个完整的调试或性能优化示例,展示从问题复现到修复验证的全过程

亮点

  • Debug Workflow 和 Performance Workflow 步骤划分清晰
  • 包含明确的出口条件和验证步骤
执行可靠65/100

待提升项

  • 工具来源不明,异常处理覆盖不足 原报告严重程度:轻微

    未提及具体调试工具来源,对网络失败、CORS 错误等主要异常缺乏具体应对措施

    改进建议:明确推荐使用的调试工具(如 Chrome DevTools),并补充常见异常的处理建议

亮点

  • 强调使用实测证据和复现,流程科学合理
  • 性能优化建议具体(如 instancing、culling、LOD 等)
证据可验 (前四项均值)70/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。