threejs-skills – skill Thiết kế & UI cho agent AI
Tạo cảnh 3D, trải nghiệm tương tác và hiệu ứng hình ảnh bằng Three.js. Dùng khi người dùng yêu cầu đồ họa 3D, trải nghiệm WebGL, trực quan hóa 3D, hoạt ảnh hoặc phần tử 3D tương tác.
Cài skill threejs-skills bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/threejs-skills-f75da.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /threejs-skills – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/threejs-skills-f75da.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $threejs-skills – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/threejs-skills-f75da.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /threejs-skills – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/threejs-skills-f75da.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /threejs-skills – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Three.js Skills
Systematically create high-quality 3D scenes and interactive experiences using Three.js best practices.
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) 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"
1. Setup: Import Three.js, create scene/camera/renderer
2. Geometry: Create SphereGeometry(1, 32, 32) for smooth sphere
3. Material: Use MeshStandardMaterial for realistic look
4. Lighting: Add ambient + directional lights
5. Interaction: Track mouse position, update camera
6. Animation: Rotate sphere, render continuously
7. Responsive: Add window resize handler
8. 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.
Skill liên quan
- tile-design – Hướng dẫn triển khai Web và App theo Tile Design. Kích hoạt khi người dùng muốn phong…
- tone-of-voice-analyzer – Bộ phân tích giọng văn (Tone of Voice). Dùng khi làm việc với văn bản và mẫu giọng…
- tool-design – Xây dựng công cụ mà agent có thể dùng hiệu quả, bao gồm các mẫu thu gọn kiến trúc. Dùng…
- typography-first – Hướng dẫn triển khai Typography First Design cho Web và App. Kích hoạt khi người dùng…
- ui-a11y – Kiểm tra component hoặc trang để tìm lỗi khả năng truy cập (accessibility) và sửa chúng.
- ui-component – Tạo component UI mới theo quy ước thiết kế của StyleSeed.
- ui-from-screenshot – Chuyển ảnh chụp màn hình hoặc mockup thành giao diện tương ứng bằng chính các component…
- ui-lint – Lint tự động nhanh — phát hiện các vi phạm design system phổ biến chỉ trong vài giây.