threejs-procedural-architecture
Skill1.1k starsChanged 5 days agoMITView on GitHub
Build authored procedural buildings, architectural kits, and composed architectural ornament and relief in Three.js. Use for massing grammars, exposed-edge analysis, façade bays, full-thickness walls with cut openings, curved-wall trims, classical orders, recessed portals, pier-buttresses, spandrel roses, arches, vaults, domes, cornices, roofs, stairs, architectural junctions, carved versus applied relief, rinceau scrolls, acanthus, cartouches, coffers, height-field carving, material-slot mesh compilation, dual-LOD instanced architectural kits, deterministic variants, and procedural city assets.
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- iberi22/skillsedited, first seen Oct 15, 2026
- jorgeasaurus/agent-skillsedited, first seen May 11, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- jorgeasaurus/agent-skills★ 1431% same
- iberi22/skills★ 046% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- threejs-atmosphere-aerial-perspectiveSkill
- threejs-bloomSkill
- threejs-camera-directionSkill
- threejs-exposure-color-gradingSkill
- threejs-image-pipelineSkill
- threejs-lighting-and-giSkill
- threejs-parallax-occlusion-mappingSkill
- threejs-precipitation-surfacesSkill
- threejs-procedural-animationSkill
- threejs-procedural-fieldsSkill
- threejs-procedural-geometrySkill
- threejs-procedural-materialsSkill
- threejs-procedural-planetsSkill
- threejs-procedural-vegetationSkill
- threejs-procedural-vfxSkill
- threejs-raymarched-space-effectsSkill
- threejs-reference-readingSkill
- threejs-screen-space-ambient-occlusionSkill
- threejs-shadow-systemsSkill
- threejs-skill-routerSkill
- threejs-spectral-oceanSkill
- threejs-temporal-stabilitySkill
- threejs-temporal-surfacesSkill
- threejs-terrain-and-landscapesSkill
- threejs-visual-validationSkill
- threejs-volumetric-cloudsSkill
- threejs-water-opticsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 26
Read references/grammar-and-mesh-compiler.md for deterministic mass grammars, compound footprints, exposed-edge subtraction, bay …
- Very specific: line 28
Read references/architectural-construction-and-junctions.md for full-thickness walls with through-openings, curved-wall sweeps, classical …
- Distinctive: line 30
Read references/ornament-and-relief-systems.md for carved versus applied relief, complete ornament composition vocabulary (rinceau scrolls, …
- Distinctive: line 51
Stop string courses, mouldings, and friezes cleanly at openings and blank faces.
- Very specific: line 69
Use $threejs-procedural-geometry for general hard-surface/vehicle modeling, reusable mesh-writer primitives, and whole-scene geometry …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Procedural Architecture
Separate design planning from mesh emission and construct architectural elements the way real masonry, stone, and timber are built. A building generator should produce an inspectable structural plan — with real wall thickness, through-openings, resolved junctions, and composed ornament — before emitting triangles.
This skill contains exemplary examples and assets beyond descriptive guidance, they're worth studying, referencing, or even copying. Use them sufficiently when relevant and do NOT blindly skip them.
Required architecture
settings
→ mass grammar & depth layers
→ exposed-surface graph
→ façade/roof/opening placements
→ structural & ornament module registry
→ material-slot mesh writer
→ geometriesRead references/grammar-and-mesh-compiler.md for deterministic mass grammars, compound footprints, exposed-edge subtraction, bay quantization, and material-slot compilation.
Read references/architectural-construction-and-junctions.md for full-thickness walls with through-openings, curved-wall sweeps, classical orders, arches/vaults/domes, roofs/stairs, exact-contact versus safe-sinking junction rules, and the architectural junction catalogue.
Read references/ornament-and-relief-systems.md for carved versus applied relief, complete ornament composition vocabulary (rinceau scrolls, mirrored scrolls, candelabra, cartouches, acanthus clusters, rhythmic friezes, strapwork, coffers, swags), motif geometry (Euler spirals, cupped leaves, rosettes), max-union height-field relief, and banned stand-ins.
Read the procedural financial tower compiler for seeded tier planning, semantic façade placement, reserved zones, material-slot BufferGeometry output, projected detail, and mechanism-specific diagnostics.
Read the sculpted castle keep compiler for multi-tier rectangular and polygonal massing, recessed multi-order arched portals and ribbed barrel vaults, projecting pier-buttresses with breaking entablatures, sunk spandrels with carved eight-petalled roses, carved niche walls, ribbed fish-scale domes with lantern and finials, dual-LOD instanced architectural parts, and procedural height-field relief shading.
Rules
- Massing, façade rhythm, openings, and ornament modules are separate layers; settle primary depth breaks in single-sided clay before adding ornament.
- Resolve exposed edges before façade placement; build convex corners once and never decorate hidden internal faces.
- Cut openings through full wall thickness and every backing layer; sweep trims on curved walls along the host curve rather than straight chords.
- Stop string courses, mouldings, and friezes cleanly at openings and blank faces.
- Decide carved versus applied relief from structural evidence; compose ornament continuously from stems/axes with full rounded sections rather than scattering disconnected primitives or tracing raw image pixels.
- Size architectural and relief depth tiers to viewing pixel footprint and shadow-map resolution (
reliefDepth > shadowTexelWidth + bias). - Compile by material slot to reduce draw calls without destroying material separation, preserving real dimensions for bay width, floor height, trim projection, and texel density.
- Provide topology, façade ownership, material/geometry, and shadow diagnostics appropriate to the renderer path.
Acceptance
The generated architecture must survive:
- silhouette-only view and single-sided untextured clay view from hero + 4 orbit angles;
- raking grazing light verifying massing breaks, rounded relief sections, and real shadow casting;
- close inspection of openings, curved hosts, corners, roof transitions, and ornament junctions;
- seed variation without broken bays, overlapping ownership, coplanar flicker, or floating ornament;
- triangle and module-count reporting.
Routing boundary
Use $threejs-procedural-geometry for general hard-surface/vehicle modeling, reusable mesh-writer primitives, and whole-scene geometry audits (geometry-quality-kit). Use $threejs-terrain-and-landscapes for building-to-slope foundations, retaining walls, and distant city/horizon tiers. This skill owns building grammars, architectural construction patterns, junctions, composed ornament/relief, and building-plan compilation.
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.

