Building Mechanics

🌐Community
by bbeierle12 · vlatest · Repository

Analyzes building structures to identify weaknesses, suggest improvements, and estimate material requirements for repairs.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add building-mechanics npx -- -y @trustedskills/building-mechanics
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "building-mechanics": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/building-mechanics"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides a complete building system for Three.js games, focusing on performance optimization, structural physics simulation, and multiplayer networking capabilities. It allows AI agents to analyze and validate building placements, optimize stability, and manage networked building interactions within a game environment. The system offers different physics modes (arcade, heuristic, realistic) to suit various gameplay needs.

When to use it

  • Validating Building Placements: To ensure new structures are stable and won't collapse based on defined rules.
  • Optimizing Structural Integrity: To suggest improvements or reinforcements for existing building designs.
  • Simulating Damage Propagation: To predict how damage affects a structure and potentially cause cascading collapses.
  • Managing Multiplayer Building Interactions: To handle simultaneous builds and resolve conflicts between players in networked games.

Key capabilities

  • Spatial Indexing: Uses SpatialHashGrid or Octree for fast queries of nearby building pieces.
  • Structural Validation: Includes a heuristic validator (similar to those found in Rust/Valheim) to assess stability.
  • Physics Modes: Supports Arcade, Heuristic, and Realistic physics simulations.
  • Multiplayer Networking: Features client prediction, delta compression, and conflict resolution for networked building systems.
  • Damage Propagation: Simulates how damage spreads through a structure.

Example prompts

  • "Validate the placement of this new wall piece."
  • "What is the stability percentage of this tower?"
  • "Simulate the impact of damage to this support beam."
  • “How can I optimize this building for multiplayer conflict resolution?”

Tips & gotchas

  • The skill's performance depends on the distribution of building pieces; consider using SpatialHashGrid for uniform distributions and Octree for clustered bases.
  • Realistic physics mode is computationally expensive and may impact game performance.
  • The system utilizes a server-authoritative model with client prediction for multiplayer functionality.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
bbeierle12
Installs
31

🌐 Community

Passed automated security scans.