Command Palette

Search for a command to run...

Back to skills
skill № 96576

terrain-surface

Use when terrain chunks crack, slopes and materials disagree, shorelines look detached, or water entry and collision fail to match the visible surface.

FreeNo executable scripts
jammyfuby jammyfu★ 27 GitHub stars

Install terrain-surface in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Terrain surface

Scope

Own geometry/surface boundaries and their shared data contract. Do not replace world topology, swimming moves or camera rules. Coordinate with swim-water, locomotion and materials only when needed. Fix geometry and gameplay boundaries before hiding defects under foam or particles.

Modes

Mode Boundary model
heightfield elevation samples with shared tile edges
voxel-surface extracted surface with explicit neighbor/LOD boundaries
tilemap edge/corner-matched terrain tiles and authored shapes

Procedure

  1. Record coordinate axes, units, cell resolution, border ownership, collision representation and the authoritative water level/volume. Publish surface IDs and gameplay properties separately from visual color. Name an allowable render/collision error with units and a reason.
  2. Derive neighboring boundaries from shared global samples. A heightfield with N cells needs N+1 edge samples; normals may require a neighbor halo. Treat negative coordinates consistently. Preserve intended cliff discontinuities; continuity does not mean smoothing every hard edge.
  3. Define geometry stitching/transition rules at each supported LOD boundary. Skirts can hide a visual gap but do not repair collider cracks or navigation holes. Test collision continuity separately; do not change gameplay slope/step limits to cover a rendering defect.
  4. Derive slope/height material transitions and shoreline placement from the same canonical data. Smooth appearance without silently moving the ground or water trigger. Set explicit enter/exit hysteresis where needed to prevent walk/swim flapping. Visible waves may be cosmetic; disclose any difference from the gameplay water surface.
  5. For tilemap mode, author edge/corner variants plus collision/navigation metadata, including empty and diagonal neighbors. A correctly matched picture is not a generated collider. Terrain/water edits invalidate dependent mesh, collision and navigation versions before the region becomes traversable again.

Outputs

Adapt the surface contract: representations, border/LOD policy, surface table, water transition thresholds, error tolerances, regeneration dependencies and debug overlays. Measure signed heights/normals and collision crossings; a screenshot alone cannot establish walkability.

Acceptance

Walk across four-chunk corners, steep boundaries, water entry/exit and mixed LODs; repeat at low quality and after a terrain edit. Record collision continuity, visible seam error and swim transitions against chosen tolerances. Keep valid cliffs and deliberate water behavior. Cases remain not-run until target-engine checks and visual review are performed.

References

Godot TileSets separates terrain matching from collision/navigation shapes. Tiled terrain sets documents edge/corner variants for the 2D mode. These do not supply a universal 3D shoreline shader or collider.

Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • assets/contract.example.json
  • assets/evals.json

FAQ

What does the terrain-surface skill do?

Use when terrain chunks crack, slopes and materials disagree, shorelines look detached, or water entry and collision fail to match the visible surface.

How do I install the terrain-surface skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the terrain-surface skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare terrain-surface with