threejs-skills
它能做什么
这个工具可以帮你在网页上用 Three.js 库创建 3D 场景和视觉体验。你可以查看并与三维模型和动画互动。
适用场景
- ✓当你想以 3D 形式展示数据或物体时。
- ✓制作简单的游戏或交互式可视化作品时。
- ✓需要 3D 动画或视觉效果时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/threejs-skills/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个可交互的 3D 球体,当鼠标移到它上面时,它会旋转。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会搭建必要的 3D 环境,定义物体的形状和外观,添加灯光让所有内容都能被看到,并实现交互功能,方便你操作场景。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Three.js Skills
Systematically create high-quality 3D scenes and interactive experiences using Three.js best practices.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use
- Requests 3D visualizations or graphics ("create a 3D model", "show in 3D")
- Wants interactive 3D experiences ("rotating cube", "explorable scene")
- Needs WebGL or canvas-based rendering
- Asks for animations, particles, or visual effects
- Mentions Three.js, WebGL, or 3D rendering
- Wants to visualize data in 3D space
Example Workflow
User: "Create an interactive 3D sphere that responds to mouse movement"
- Setup: Import Three.js, create scene/camera/renderer
- Geometry: Create
SphereGeometry(1, 32, 32)for smooth sphere - Material: Use
MeshStandardMaterialfor realistic look - Lighting: Add ambient + directional lights
- Interaction: Track mouse position, update camera
- Animation: Rotate sphere, render continuously
- Responsive: Add window resize handler
- Result: Smooth, interactive 3D sphere ✓
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么是 Three.js?
Three.js 是一个编程库,能让你更轻松地在网页浏览器中制作 3D 图形和视觉体验。
什么是 WebGL?
WebGL 是一种技术,可以直接在浏览器中显示可交互的 2D 和 3D 图形,不需要额外的插件。
我需要会写代码才能使用它吗?
不需要。这个工具会根据你的请求,替你完成大部分的代码工作。
详情
作者的原始描述
Create 3D scenes, interactive experiences, and visual effects using Three.js. Use when user requests 3D graphics, WebGL experiences, 3D visualizations, animations, or interactive 3D elements.
热度
- GitHub 星标
- 48k
- 排名
- #5993
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。