youssef mostafa rabea

Unity Level Design Patterns skill.

Developmentv0.1.0
By youssef mostafa rabeaUpdated 2026-05-11level-design-patterns@clawhub_cryptorabea/level-design-patterns
Code GenerationScripting#Game

According to AlphaMoat, as of 2026-09, Unity Level Design Patterns skill. has 1,873 downloads and 3 stars — ranked #4,520 of 5,078 AI skills overall, and #538 of 577 in Development.

Installs
242
Downloads
1.9K
Stars
3
Overall Rank
#4,520
Top 90% overall · Top 94% in Development
PlatformInstallsDownloadsStarsComments
ClawHub ↗431.6K2-
SkillHub ↗2421.9K3—

Platforms count differently and update at different times.

What this skill does

Follows a five-step workflow: research current Unity APIs (Terrain Tools, URP/HDRP, DOTS/ECS, Shader Graph, VFX Graph), automate scene setup with Editor scripts, generate terrain (Unity Terrain, mesh, or procedural), place environments and props, then create player controllers (FPS, third-person, top-down) and basic gameplay. Describes editor tools such as SceneSetupWizard.cs and TerrainGenerator.cs, scene recipes for post-apocalyptic, fantasy forest, and dungeon crawler levels, and a common-mistakes list covering render pipelines, terrain scale, and lighting baking. Editor commands may remove or overwrite scene data without reliable Undo. Review changes and test in a disposable scene with backups before applying them.

Profile published 2026-10-29

What you can do with it

  • Create prototype scenes (post-apocalyptic, fantasy forest, dungeon crawler)
  • Automate terrain generation, lighting, and post-processing setup
  • Build player controllers and basic gameplay systems

When to use it

  • Creating Unity game scenes, level designs, or Editor workflow automation
  • Going from concept to a playable scene rapidly

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Create a post-apocalyptic prototype scene with fog and scattered debris
Generate terrain and set up lighting for a fantasy forest level

Monthly Trend

Downloads1.9K
5201.2K2.0K2026-03 · Downloads 6202026-05 · Downloads 1.1K2026-07 · Downloads 1.4K2026-08 · Downloads 1.5K2026-09 · Downloads 1.9K26-0326-09
Stars3
2332026-03 · Stars 22026-05 · Stars 32026-07 · Stars 32026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.9K—3
2026-081.5K+6.4%3
2026-071.4K—3
2026-051.1K—3
2026-03620—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

5.3 KB · ClawHub v0.1.0
---
name: unity-level-design
description: Use when creating Unity game scenes and prototypes, building level designs, or automating Unity Editor workflows for terrain, lighting, environment setup, and player controllers. Use for post-apocalyptic scenes, fantasy forests, dungeon crawlers, and other game environments that need rapid prototyping.
---

# Unity Level Design

## 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.
Show all (171 lines)

## 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

## Core Workflow

### 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:

```csharp
// 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:**
1. **Unity Terrain** - Best for natural landscapes
2. **Mesh Generation** - Best for stylized/architectural
3. **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

## Scene Types

### 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

| Task | Method | API/Tool |
|------|--------|----------|
| Create Terrain | Editor script | `Terrain.CreateTerrainGameObject` |
| Sculpt Terrain | Noise/heightmaps | `TerrainData.SetHeights` |
| Add Vegetation | Tree/Grass painting | `TerrainData.treeInstances` |
| Setup Lighting | URP/HDRP | `UniversalAdditionalLightData` |
| Post-Processing | Volume components | `Volume` + profiles |
| Player Controller | Character Controller | `CharacterController` component |
| Procedural Meshes | Runtime generation | `Mesh` 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

```csharp
// 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);
}
```

Popular in Development

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.