web-3d-asset-pipeline

bởi openai

Chuẩn bị và tối ưu hóa tài sản 3D cho game trình duyệt. Sử dụng khi người dùng yêu cầu công việc xuất GLB hoặc glTF, bao gồm dọn dẹp và xuất trong Blender, va chạm hoặc LOD…

npx skills add https://github.com/openai/plugins --skill web-3d-asset-pipeline

Web 3D Asset Pipeline

Overview

Use this skill for shipped 3D assets, not runtime scene code. The default output format for browser 3D work in this plugin is GLB or glTF 2.0. The goal is predictable runtime assets, not whatever the DCC tool happened to export first.

This guidance is engine-agnostic and can serve Three.js, React Three Fiber, Babylon.js, or PlayCanvas.

Use This Skill When

  • the task is about GLB or glTF shipping format
  • the task is about model cleanup, texture packaging, compression, LOD, or collision proxies
  • the runtime stack is already chosen and the remaining problem is asset quality or size

Do Not Use This Skill When

  • the task is about scene, camera, renderer, or game-loop structure
  • the task is purely about React versus vanilla Three.js routing
  • the user is still deciding between runtime engines

Default Pipeline

  1. Author and clean the source asset in a DCC tool such as Blender.
  2. Export to GLB or glTF 2.0.
  3. Optimize with glTF Transform.
  4. Validate naming, pivots, transforms, material reuse, and texture budgets.
  5. Add collision proxies, LOD strategy, and baked-lighting assumptions as needed.
  6. Ship the optimized asset and load it with engine-native GLTF support.

Format Rules

  • Default shipping format: GLB or glTF 2.0.
  • Do not treat FBX, OBJ, or DCC-native formats as the long-term runtime contract.
  • Apply or normalize transforms before shipping.
  • Keep units, pivots, and orientation conventions consistent across the whole asset set.

Optimization Rules

  • Use glTF Transform for pruning, deduplication, simplification, and packaging.
  • Use geometry compression intentionally.
    • Draco is a valid option when decode cost and compatibility fit the runtime.
    • Meshopt is often a strong default for web delivery.
  • Compress textures deliberately.
    • Use KTX2 or BasisU when the runtime stack supports it.
    • Use WebP or AVIF where they make sense in the broader asset pipeline.
  • Reuse materials and textures where possible to cut memory and draw-call cost.

Runtime-Ready Asset Rules

  • Keep model hierarchy names stable and meaningful.
  • Set pivots and origins for gameplay interaction, not just for DCC convenience.
  • Author explicit collision proxies for physics-heavy scenes.
  • Decide whether lighting is dynamic, baked, or hybrid before final export.
  • Plan LODs for large environments or repeated props.
  • Keep texture resolution proportional to on-screen use, not source-art ambition.

Common Failure Modes

  • Shipping raw DCC exports without cleanup
  • Too many unique materials
  • Texture sizes far above visible need
  • Missing collision proxies
  • Scale or pivot mismatches between assets
  • Runtime code compensating for asset mistakes that should be fixed upstream

References

  • Three.js stack: ../../references/threejs-stack.md
  • React Three Fiber stack: ../../references/react-three-fiber-stack.md
  • GLB loader starter: ../../references/gltf-loading-starter.md
  • Rapier starter: ../../references/rapier-integration-starter.md
  • 3D asset pipeline reference: ../../references/web-3d-asset-pipeline.md
  • Alternative engines: ../../references/alternative-3d-engines.md

Thêm skills từ openai

user-context
openai
Tải hoặc quản lý các tùy chọn định tuyến nguồn bền vững, logic giới thiệu, tiến trình thiết lập và sổ đăng ký lớp ngữ nghĩa của plugin Phân tích Dữ liệu.
official
notion-research-documentation
openai
Nghiên cứu nội dung Notion và tổng hợp thành các bản tóm tắt có cấu trúc, báo cáo hoặc so sánh kèm trích dẫn. Tìm kiếm và truy xuất các trang Notion bằng truy vấn mục tiêu, sau đó sắp xếp kết quả theo chủ đề với trích dẫn nguồn trong văn bản và phần tài liệu tham khảo. Chọn từ bốn định dạng đầu ra (tóm tắt nhanh, tổng hợp nghiên cứu, so sánh, báo cáo toàn diện) dựa trên phạm vi và mục tiêu của người dùng. Tạo và cập nhật các trang Notion bằng mẫu có sẵn; liên kết trực tiếp nguồn và theo dõi thay đổi khi
official
rcsb-pdb-skill
openai
Gửi yêu cầu RCSB PDB nhỏ gọn để lấy siêu dữ liệu cốt lõi, truy vấn API Tìm kiếm và tải xuống FASTA. Sử dụng khi người dùng muốn tóm tắt RCSB ngắn gọn; lưu JSON thô hoặc…
official
pdf
openai
Đọc, tạo và xác thực PDF với kết xuất trực quan và tạo theo chương trình. Kết xuất các trang PDF sang PNG để kiểm tra trực quan bố cục, khoảng cách và kiểu chữ trước khi bàn giao bằng Poppler (pdftoppm). Tạo PDF theo chương trình với reportlab để định dạng đáng tin cậy; trích xuất văn bản và siêu dữ liệu bằng pdfplumber hoặc pypdf. Thực thi các tiêu chuẩn chất lượng: không có văn bản bị cắt, phần tử chồng lấn, bảng bị hỏng hoặc hiện vật kết xuất; chỉ sử dụng dấu gạch nối ASCII, trích dẫn dễ đọc cho con người. Sử dụng...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
Tự động hóa trình duyệt qua terminal với ảnh chụp nhanh phần tử và quy trình UI tương tác. Hoạt động thông qua script wrapper playwright-cli (yêu cầu npx); hỗ trợ chế độ headless và headed để gỡ lỗi trực quan. Quy trình cốt lõi: mở trang, chụp nhanh để tham chiếu phần tử ổn định, tương tác bằng refs, chụp lại sau khi điều hướng hoặc thay đổi DOM. Bao gồm điền biểu mẫu, nhấp chuột, gõ văn bản, quản lý nhiều tab, chụp ảnh màn hình/PDF và ghi lại trace để gỡ lỗi luồng. Tham chiếu phần tử (ví dụ: e3, e15)...
official
ukb-topmed-phewas-skill
openai
Lấy các bản tóm tắt PheWAS UKB-TOPMed nhỏ gọn cho các biến thể đơn lẻ bằng cách chấp nhận đầu vào rsID, GRCh37 hoặc GRCh38 và phân giải thành truy vấn GRCh38 cần thiết. Sử dụng khi một…
official
code-review-context
openai
Ngữ cảnh hiển thị của mô hình
official