跳到主要内容

3d-object 精选

three.js model, downloadable as OBJ or GLB

在 GitHub 打开

安装方式

cp -r Anthropic/claude-design/skills/3d-object ~/.claude/skills/3d-object

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks.git

依赖与权限

  • 无需 API Key
  • 需要联网访问外部服务
  • 依赖外部命令:node
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 asgeirtj/system_prompts_leaks@a09e0e7 · 许可 CC0-1.0 · 内容未修改

3D object

Model a 3D object the user can inspect from every angle and download,

built with three.js and presented in the three_d_stage starter.

START by calling copy_starter_component with kind: "three_d_stage.js" —

it is the whole viewer: studio lighting, ground shadow, orbit controls,

an auto-framed camera, and a toolbar that downloads the object as

OBJ + MTL or GLB. Read the copied file's usage block and follow its page

skeleton exactly. You only write the model-building module script.

Build the page as plain HTML — a .html file with ordinary <script>

tags — even when the project's other designs are .dc.html Design

Components: DC restricts scripts to <helmet>, which races the stage's

mount and can't host this skeleton.

Load three.js ONLY through this exact pinned import map, in <head>,

before any module script. Do not change versions, URLs, or hashes, do

not add other copies of three.js, and do not import addons beyond the

three listed — the map is deliberately a closed set, so anything else

fails to resolve rather than loading unverified:

<script type="importmap">

{

"imports": {

"three": "https://unpkg.com/[email protected]/build/three.module.js",

"three/addons/controls/OrbitControls.js": "https://unpkg.com/[email protected]/examples/jsm/controls/OrbitControls.js",

"three/addons/exporters/OBJExporter.js": "https://unpkg.com/[email protected]/examples/jsm/exporters/OBJExporter.js",

"three/addons/exporters/GLTFExporter.js": "https://unpkg.com/[email protected]/examples/jsm/exporters/GLTFExporter.js"

},

"integrity": {

"https://unpkg.com/[email protected]/build/three.module.js": "sha384-8FCZ1eVO6it4+pbec2aDtnTrwjWXZLJRC+MAGCIPDgsYnUrl/E0A2YlF8ioMKI/J",

"https://unpkg.com/[email protected]/build/three.core.js": "sha384-dw2ooPewaEIrAgl6oFDBmmBWCE9oW9LxRGcfwZ0hLvEprzo202wXl7vCYHRlSnOT",

"https://unpkg.com/[email protected]/examples/jsm/controls/OrbitControls.js": "sha384-4rziNxOBZKQ69i+w+f89KJ55TCYquwchVbByQwmaOeIOXdOU2PLDn3kOfXHwIJC9",

"https://unpkg.com/[email protected]/examples/jsm/exporters/OBJExporter.js": "sha384-nbwtoZENJD3Vq+ACK0CuGQdPMuDWHkamC2KJD70EV5nfg6jQjfppKOea07YJN+N3",

"https://unpkg.com/[email protected]/examples/jsm/exporters/GLTFExporter.js": "sha384-VofkvpG6HERhFCYbsUOHeNXBCqID2nfqkQqnVzE1jc/oPcz+qJ13ADdXH08hE+cQ"

}

}

</script>

Build the model programmatically, as a THREE.Group composed of named

parts:

  • Compose primitives (BoxGeometry, CylinderGeometry, SphereGeometry,

TorusGeometry, LatheGeometry, ExtrudeGeometry with Shape) before

reaching for raw BufferGeometry; real objects decompose into far more

primitives than you'd guess.

  • NAME every mesh and every material ("hull", "walnut", "brass") — the

names become the o / usemtl entries in the exported OBJ and the node

names in the GLB, which is what makes the download usable in Blender.

  • Use MeshStandardMaterial with a small curated palette (3-5 materials,

shared across parts); set roughness/metalness deliberately. Textures

don't survive the OBJ export — prefer geometry and material color over

texture detail.

  • Model in real-world meters, y-up, centered on the origin, base resting

at the lowest y. Offset deliberately coplanar faces by ~0.001 so

nothing z-fights.

  • Curved surfaces need enough segments to read as smooth at full screen

(32+ radial segments on feature surfaces), but don't tessellate what

no one will see.

The stage's toolbar gives the user OBJ + MTL (universal, geometry +

per-material colors) and GLB (the modern interchange format — keeps the

part hierarchy and PBR materials; imports cleanly into Blender, Maya,

Cinema 4D, Unity, Unreal). Those two are the export formats on offer —

when the user asks for something else (FBX, USDZ, STEP), say plainly

that the stage exports OBJ + MTL and GLB.

Iterate with screenshots: the stage keeps its last frame readable, so

the ordinary screenshot tools capture the live canvas — no extra steps.

After editing a module file, reload with show_html before screenshotting

(the iframe caches already-loaded modules). Look at the object from the

default framing and refine silhouette, proportion, and material

separation — the silhouette carries the object.

质量与来源

所属仓库
asgeirtj/system_prompts_leaks
仓库星标
6.9 万
最近更新
今天
采集时间
今天
commit
a09e0e708710
内容指纹
sha256:b2fca2c7f0ca6f6
文件路径
Anthropic/claude-design/skills/3d-object/SKILL.md

同仓库其它 Skill

查看全部 48 个
dashboard
Use this for a dashboard, metrics page, KPI tracker, scorecard, data visualization or recurring report: a page or scroll story of charts, numbers and tables of data, whatever the data and wherever it comes from. Read it when creating, filling, refreshing or revising one. You write datasets (a live query on a connector, or an attached CSV/TSV/JSON file), then the page as plain HTML, in the dashboard's own store.
精选 asgeirtj/system_prompts_leaks 6.9 万 原文
Claude CodeCodex CLICursor
design-system
How to create and revise a design system made from the Design System appifact type: its files under project/, the exact shapes and size caps, the order to write in, how to change one later, and the checklist.
精选 asgeirtj/system_prompts_leaks 6.9 万 原文
Claude CodeCodex CLICursor
design
How to fill and revise a canvas made from the Design (canvas) appifact type.
精选 asgeirtj/system_prompts_leaks 6.9 万 原文
Claude CodeCodex CLICursor
pages
The shared Claude Docs viewer — an artifact TYPE. An artifact made from it is a doc: a live document that people and Claude read and edit together (people may also call it a page). The doc's content does not live in this artifact's files at all — it lives in the Claude Docs service and is read and written ONLY through the Claude Docs connector (its create, batch, read and update tools). Read this before touching such an artifact: it says what the files are, that an instance owns none of its own, how to change what the doc says (the connector, never a publish), and where a comment on the doc — including one sent to you from it — is read and answered (the connector's comment verbs; never these files, never the artifact's comment relay).
精选 asgeirtj/system_prompts_leaks 6.9 万 原文
Claude CodeCodex CLICursor
slides
How to fill and revise a deck made from the Slides appifact type.
精选 asgeirtj/system_prompts_leaks 6.9 万 原文
Claude CodeCodex CLICursor
deep-research
Use this skill when the user's prompt requires (1) researching a topic across multiple sources, comparing options or alternatives, analyzing trends or history, understanding markets or industries, or reviewing literature or studies and (2) synthesizing that research into a comprehensive, narrative report. If you're planning to search the web or internal knowledge bases, consider using this skill. This skill coordinates research subagents, so use it only when you have a tool for spawning subagents (the Agent or Task tool); otherwise, research the question directly.
精选 asgeirtj/system_prompts_leaks 6.9 万 原文
Claude CodeCodex CLICursor

相似 Skill

更多「编码」
access
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the iMessage channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Check iMessage channel setup and review access policy. Use when the user asks to configure iMessage, asks "how do I set this up" or "who can reach me," or wants to know why texts aren't reaching the assistant.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端