# Send Unity Level Design Patterns skill. to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "level-design-patterns",
    "name": "Unity Level Design Patterns skill.",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/CryptoRabea/level-design-patterns",
    "canonicalUrl": "https://clawhub.ai/CryptoRabea/level-design-patterns",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/level-design-patterns",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=level-design-patterns",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/level-design-patterns.md",
      "references/unity-apis.md",
      "scripts/LightingSetup.cs",
      "scripts/PlayerSetup.cs",
      "scripts/SceneSetupWizard.cs",
      "scripts/TerrainGenerator.cs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/level-design-patterns"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/level-design-patterns",
    "downloadUrl": "https://openagent3.xyz/downloads/level-design-patterns",
    "agentUrl": "https://openagent3.xyz/skills/level-design-patterns/agent",
    "manifestUrl": "https://openagent3.xyz/skills/level-design-patterns/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/level-design-patterns/agent.md"
  }
}
```
## Documentation

### Overview

Rapidly prototype Unity game scenes using Editor automation, modern Unity APIs, and best practices for level design. This skill automates terrain generation, lighting setup, environment placement, and player controller creation to get you implementing gameplay ideas quickly.

### When to Use

Use this skill when:

Creating prototype scenes (post-apocalypse, fantasy, sci-fi, dungeon crawler, etc.)
Setting up Unity terrain, meshes, and ground geometry
Automating lighting, post-processing, and environment setup
Building player controllers and basic gameplay systems
Need to go from concept to playable scene rapidly

### Step 1: Research Current APIs

Before implementing, check Unity's latest APIs and best practices:

Modern Unity Systems:

Terrain Tools package (GPU-accelerated sculpting)
Universal Render Pipeline (URP) or High Definition Render Pipeline (HDRP)
DOTS/ECS for performance-critical scenarios
Shader Graph for custom materials
VFX Graph for particle effects

Key APIs to reference:

UnityEngine.Terrain - Terrain manipulation
UnityEditor.TerrainTools - Editor terrain tools
UnityEngine.Rendering.Universal - URP components
UnityEditor.SceneManagement - Scene automation

### Step 2: Scene Setup Automation

Use Editor scripts to automate repetitive setup:

// Example: Automated scene initialization
public static class SceneSetupHelper
{
    [MenuItem("Level Design/Create Basic Scene")]
    public static void CreateBasicScene()
    {
        // Setup lighting
        SetupLighting();
        
        // Create terrain
        CreateTerrain();
        
        // Setup post-processing
        SetupPostProcessing();
        
        // Create player
        CreatePlayerController();
    }
}

### Step 3: Terrain Generation

Options:

Unity Terrain - Best for natural landscapes
Mesh Generation - Best for stylized/architectural
Procedural Generation - Best for endless/replayable worlds

### Step 4: Environment & Props

Automate placement of:

Vegetation (trees, grass, rocks)
Structures (buildings, ruins, dungeons)
Lighting (sun, ambient, point lights)
Effects (fog, particles, post-processing)

### Step 5: Player & Gameplay

Create basic:

Player controller (FPS, third-person, top-down)
Camera setup
Input handling
Basic interactions

### Post-Apocalyptic Scene

Destroyed urban environment
Ruined buildings and debris
Overgrown vegetation
Atmospheric fog and lighting
Scattered resources/props

### Fantasy Forest

Dense woodland terrain
Rivers and lakes
Fantasy vegetation
Magical lighting effects
Pathways and clearings

### Dungeon Crawler

Procedural room generation
Corridor systems
Torch/candle lighting
Traps and enemy spawners
Loot chests

### Quick Reference

TaskMethodAPI/ToolCreate TerrainEditor scriptTerrain.CreateTerrainGameObjectSculpt TerrainNoise/heightmapsTerrainData.SetHeightsAdd VegetationTree/Grass paintingTerrainData.treeInstancesSetup LightingURP/HDRPUniversalAdditionalLightDataPost-ProcessingVolume componentsVolume + profilesPlayer ControllerCharacter ControllerCharacterController componentProcedural MeshesRuntime generationMesh class

### Editor Tools

See scripts/ for automation tools:

SceneSetupWizard.cs - One-click scene initialization
TerrainGenerator.cs - Procedural terrain creation
EnvironmentPainter.cs - Batch environment placement
LightingSetup.cs - Automated lighting configuration

### References

See references/ for detailed documentation:

unity-apis.md - Current Unity API reference
terrain-tools.md - Terrain system documentation
urp-setup.md - Universal Render Pipeline guide
level-design-patterns.md - Best practices and patterns

### Common Mistakes

Wrong render pipeline: Check if project uses URP, HDRP, or Built-in RP
Terrain scale: Unity terrain uses different height/length scales
Lighting baking: Realtime GI can be slow; use baked lighting for static geometry
Performance: Too many trees/colliders will kill performance
Scale consistency: Keep player, environment, and props to consistent scale

### Example Usage

// Create a post-apocalyptic scene
[MenuItem("Level Design/Post-Apocalyptic Scene")]
static void CreatePostApocalypticScene()
{
    // 1. Create terrain with noise
    var terrain = TerrainGenerator.CreateRuinedTerrain();
    
    // 2. Setup dramatic lighting
    LightingSetup.CreateDramaticLighting(Color.gray * 0.3f);
    
    // 3. Add fog and post-processing
    PostProcessingSetup.CreateAtmosphericFog();
    
    // 4. Scatter debris and props
    EnvironmentPainter.ScatterDebris(50);
    
    // 5. Create player
    var player = PlayerSetup.CreateFPSPlayer();
    player.transform.position = new Vector3(0, 5, 0);
}
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: CryptoRabea
- Version: 0.1.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/level-design-patterns)
- [Send to Agent page](https://openagent3.xyz/skills/level-design-patterns/agent)
- [JSON manifest](https://openagent3.xyz/skills/level-design-patterns/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/level-design-patterns/agent.md)
- [Download page](https://openagent3.xyz/downloads/level-design-patterns)