Shapely Compute

🌐Community
by parcadei · vlatest · Repository

Shapely Compute allows you to perform spatial calculations (like area and distance) on geometric data within your game, streamlining level design & gameplay logic.

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 shapely-compute npx -- -y @trustedskills/shapely-compute
2

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

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

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

About This Skill

What it does

This skill allows AI agents to perform geometric computations on Shapely geometries. It can be used for tasks such as calculating areas, distances, and performing boolean operations (union, intersection, difference) between shapes. The tool leverages the Shapely library for robust and accurate spatial analysis.

When to use it

  • Land area calculation: Determine the precise area of a parcel of land defined by polygon coordinates.
  • Buffer zone creation: Generate a buffer around a road network or building footprint for safety or planning purposes.
  • Overlap detection: Identify areas where two different property boundaries intersect.
  • Distance measurement: Calculate the shortest distance between two points on a map represented as geometric shapes.

Key capabilities

  • Area calculation of Shapely geometries
  • Distance calculations between geometries
  • Boolean operations (union, intersection, difference)
  • Buffering of geometries

Example prompts

  • "Calculate the area of this polygon: [(0, 0), (0, 1), (1, 1), (1, 0)]"
  • "What is the distance between these two points: (2, 3) and (5, 7)?"
  • "Find the intersection of these two polygons: […], […]."

Tips & gotchas

  • Requires valid Shapely geometry input. Incorrectly formatted coordinates will lead to errors.
  • Complex geometric operations can be computationally intensive; performance may vary depending on the size and complexity of the shapes involved.

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
parcadei
Installs
0

🌐 Community

Passed automated security scans.