reconstructing-images-as-threejs
Skill1 starsChanged 3 months agoMITView on GitHub
Use when a supplied image should become a code-only procedural Three.js object or stylized character, especially when fidelity, hidden geometry, animation readiness, runtime hierarchy, review gates, or single-view limitations must be evaluated.
In this repository65 other files it gives its agents.
- analyzing-change-blast-radiusSkill
- analyzing-developer-career-opportunitiesSkill
- art-directing-web-interfacesSkill
- assessing-developer-proficiencySkill
- auditing-dependency-riskSkill
- auditing-pixel-perfect-frontendSkill
- bootstrapping-modern-web-appsSkill
- brag-slimSkill
- building-brand-guidelinesSkill
- building-conversion-product-pagesSkill
- building-developer-career-roadmapsSkill
- building-hybrid-game-assetsSkill
- building-premium-nextjs-interfacesSkill
- building-project-showcasesSkill
- building-regression-testsSkill
- building-reliable-node-api-boundariesSkill
- choosing-application-architectureSkill
- craft-premium-motionSkill
- creating-character-sprite-pipelinesSkill
- defining-brand-strategySkill
- designing-action-combatSkill
- designing-developer-portfolio-evidenceSkill
- designing-relational-data-modelsSkill
- designing-software-boundariesSkill
- designing-test-strategiesSkill
- designing-ui-systemsSkill
- designing-visual-identitiesSkill
- documenting-architecture-decisionsSkill
- editing-for-clarity-and-toneSkill
- engineering-gsap-animationsSkill
- evaluating-developer-proficiencySkill
- evolving-postgres-schemas-safelySkill
- humanizing-generated-proseSkill
- implementing-reference-faithful-uiSkill
- investigating-codebase-semanticallySkill
- managing-implementation-slicesSkill
- mapping-existing-codebase-structureSkill
- naming-brands-and-productsSkill
- optimizing-frontend-motion-performanceSkill
- orchestrating-cinematic-web-motionSkill
- planning-codebase-changes-with-evidenceSkill
- planning-engineering-workSkill
- planning-launch-distributionSkill
- planning-safe-refactorsSkill
- planning-written-communicationSkill
- preparing-project-launchSkill
- profiling-postgres-query-performanceSkill
- reviewing-api-securitySkill
- reviewing-apple-platform-interfacesSkill
- reviewing-pull-requestsSkill
- reviewing-web-securitySkill
- selecting-working-methodsSkill
- shipping-github-vercel-changesSkill
- teaching-developer-conceptsSkill
- testing-integration-boundariesSkill
- testing-playable-gamesSkill
- testing-web-applications-end-to-endSkill
- threat-modeling-applicationsSkill
- tracing-code-execution-pathsSkill
- translating-figma-to-nextjsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Treat image-to-3D as evidence-limited reconstruction, not extraction.
- Very specific: line 12
REQUIRED ROUTING: Use building-hybrid-game-assets first when procedural Three.js has not yet been chosen over GLB, Blender, sprites, …
- Distinctive: line 30
Write a reconstruction contract: component hierarchy, proportions, materials, moving parts, confidence by region, and explicit acceptance …
- Distinctive: line 32
Keep reconstruction data separate from renderer objects and emit a deterministic TypeScript factory.
- Very specific: line 34
Run deterministic checks before visual judgment, record failures and confidence, then choose exactly one: continue | refine-spec | …
- Distinctive: line 38
Never promise exact 360° geometry or likeness from one view.
- Distinctive: line 39
Never invent thresholds, triangle budgets, landmarks, or camera parameters.
- Distinctive: line 40
Never call a model animation-ready before pose stress, joint deformation, weight normalization, clipping, and runtime binding pass.
- Distinctive: line 41
Never use texture or lighting to conceal missing identity-defining structure.
- Distinctive: line 42
Stop and request input when hidden geometry, a specific likeness, or an unsupported runtime requirement materially determines success.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reconstructing Images as Three.js
Overview
Treat image-to-3D as evidence-limited reconstruction, not extraction. Produce only the fidelity the references can support, label every inferred region, and prove runtime claims with geometry and motion tests.
REQUIRED ROUTING: Use building-hybrid-game-assets first when procedural Three.js has not yet been chosen over GLB, Blender, sprites, billboards, or generated meshes. Use this skill only after code-only procedural reconstruction is justified.
Operating modes
| Mode | Output |
| Suitability | Verdict, evidence gaps, representation options, risks |
| Blockout | Camera-matched silhouette and macro volumes |
| Reconstruction | Staged factory with materials and named parts |
| Action-ready | Proven pivots, sockets, collisions, destruction groups |
| Animation-ready | Valid rig payload plus deformation and pose evidence |
A THREE.Group, Skeleton, or AnimationClip alone does not prove action or animation readiness.
Workflow
- Admit the references and define what is visible, occluded, distorted, or unknown. Read intake-and-confidence.md.
- Fix the target camera, runtime, performance budget, output API, acceptable stylization, and whether inferred surfaces are allowed.
- Write a reconstruction contract: component hierarchy, proportions, materials, moving parts, confidence by region, and explicit acceptance gates.
- Build in gated passes: camera → silhouette → structure → form → material → lighting → interaction → optimization. Change one diagnostic group per correction.
- Keep reconstruction data separate from renderer objects and emit a deterministic TypeScript factory. Read factory-contract.md.
- Capture front, rear, sides, and meaningful three-quarter views. Compare only views supported by evidence; review inferred views for plausibility, not likeness.
- Run deterministic checks before visual judgment, record failures and confidence, then choose exactly one:
continue | refine-spec | refine-code | request-input | stop. Read review-gates.md.
Hard rules
- Never promise exact 360° geometry or likeness from one view.
- Never invent thresholds, triangle budgets, landmarks, or camera parameters. Derive them from the target or label them as proposed values requiring approval.
- Never call a model animation-ready before pose stress, joint deformation, weight normalization, clipping, and runtime binding pass.
- Never use texture or lighting to conceal missing identity-defining structure.
- Stop and request input when hidden geometry, a specific likeness, or an unsupported runtime requirement materially determines success.
- Inspect dependency versions and scripts before execution. Do not install or run the upstream toolkit automatically.
Common mistakes
- Spending detail on the face before camera and silhouette agree.
- Treating the reference pixels as topology evidence.
- Comparing inferred backs against a nonexistent source.
- Combining camera, geometry, material, and lighting changes in one correction.
- Calling a better-looking render “validated” without repeatable captures and recorded gates.
Technical basis: img2threejs, Apache-2.0. This adaptation does not bundle or claim execution of its Forge scripts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

