Skip to content
godot-organize-assets logo

Organize Asset Files

godot-organize-assets

Use when Godot project has disorganized assets (sprites, audio, fonts, materials). Detects scattered asset files and organizes them into clear categories with consistent naming. Creates sprite atlases where beneficial, organizes audio by type, and groups related assets together.

SKILL.md

Full skill instructions

Organize Asset Files

Core Principle

Assets organized by type and purpose. Easy to find, easy to maintain, easy to optimize.

What This Skill Does

Finds asset directories like:

assets/
├── player_sprite.png
├── enemy1.png
├── enemy2.png
├── jump.wav
├── background_music.ogg
├── font.ttf
├── tile1.png
├── tile2.png
└── ... (100 more mixed assets)

Transforms to:

assets/
├── sprites/
│   ├── characters/
│   │   └── player_sprite.png
│   ├── enemies/
│   │   ├── enemy1.png
│   │   └── enemy2.png
│   └── environment/
│       ├── tiles/
│       │   ├── tile1.png
│       │   └── tile2.png
│       └── atlases/
│           └── environment_atlas.png  # Combined tiles
├── audio/
│   ├── music/
│   │   └── background_music.ogg
│   └── sfx/
│       └── jump.wav
└── fonts/
    └── font.ttf

Detection Patterns

Identifies:

  • Assets in wrong categories
  • No subdirectory organization
  • Inconsistent naming conventions
  • Potential sprite atlas opportunities
  • Unused/​duplicate assets

When to Use

Building Asset-Heavy Game

Games with many sprites, sounds, or visual assets.

Optimizing Performance

Creating sprite atlases reduces draw calls.

Managing Large Asset Library

Finding specific asset becomes difficult.

Preparing for Asset Pipeline

Clean structure enables automated processing.

Process

  1. Scan - Inventory all asset files by type
  2. Analyze - Determine logical groupings
  3. Group - Identify related assets (animation frames, tile sets)
  4. Optimize - Create sprite atlases where beneficial
  5. Move - Relocate assets to organized structure
  6. Update - Fix all references in scenes and scripts
  7. Validate - Ensure assets load correctly
  8. Commit - Git commit per asset category

Organization Strategies

By Asset Type

Primary organization: sprites, audio, fonts, materials.

By Domain

Secondary organization: characters, enemies, environment, ui.

By Purpose

Tertiary organization: animations, icons, backgrounds, effects.

Sprite Organization

sprites/
├── characters/
│   ├── player/
│   │   ├── idle/
│   │   │   ├── idle_01.png
│   │   │   ├── idle_02.png
│   │   │   └── idle_03.png
│   │   ├── run/
│   │   └── jump/
│   └── npc/
├── enemies/
│   ├── goblin/
│   ├── orc/
│   └── dragon/
├── items/
│   ├── weapons/
│   ├── consumables/
│   └── collectibles/
├── environment/
│   ├── tiles/
│   ├── props/
│   └── backgrounds/
└── ui/
    ├── icons/
    ├── buttons/
    └── panels/

Audio Organization

audio/
├── music/
│   ├── main_theme.ogg
│   ├── battle_music.ogg
│   └── ambient/
│       ├── forest.ogg
│       └── cave.ogg
├── sfx/
│   ├── player/
│   │   ├── jump.wav
│   │   ├── land.wav
│   │   └── attack.wav
│   ├── enemies/
│   │   ├── hit.wav
│   │   └── death.wav
│   ├── ui/
│   │   ├── click.wav
│   │   └── hover.wav
│   └── environment/
│       ├── door_open.wav
│       └── chest_open.wav
└── voice/  # For games with voice acting

Sprite Atlas Creation

Detects atlas opportunities:

  • Multiple small sprites used together (UI icons)
  • Animation frames (8+ frames in sequence)
  • Tileset pieces (can be combined)
  • Related sprites loaded simultaneously

Creates atlases when:

  • 4+ sprites under 128x128 pixels
  • Related sprites (same domain)
  • Performance benefit (reduce draw calls)

Example:

# Before: 20 separate UI icon files (20 draw calls)
ui/​icons/​health_icon.png
ui/​icons/​mana_icon.png
... (18 more)

# After: 1 atlas texture (1 draw call)
ui/​atlases/​ui_icons_atlas.png
ui/​atlases/​ui_icons_atlas.png.import  # Atlas regions defined

Naming Conventions

Sprites

  • character_player_idle_01.png
  • enemy_goblin_attack_03.png
  • item_sword_iron.png

Audio

  • music_main_theme.ogg
  • sfx_player_jump.wav
  • ambient_forest_birds.ogg

Materials

  • mat_character_player.tres
  • mat_environment_grass.tres

Consistent naming enables:

  • Alphabetical sorting groups related assets
  • Easy searching and filtering
  • Automated processing scripts

What Gets Created

  • Organized asset directories by type
  • Subdirectories by domain/​purpose
  • Sprite atlases where beneficial
  • Renamed files for consistency (optional)
  • Updated references in all scenes/​scripts
  • Git commits per asset category

Smart Analysis

Detects usage patterns:

  • Frequently used together → group together
  • Animation sequences → organize in frames
  • UI elements → candidate for atlas
  • Unused assets → flag for review

Optimizes based on:

  • File size (small sprites → atlas)
  • Load frequency (often used → optimize)
  • Relationships (animation frames → folder)

Integration

Works with:

  • godot-organize-files - Base organization first
  • godot-organize-scripts - Parallel script organization
  • godot-organize-project (orchestrator) - Full project organization

Safety

  • All asset references preserved during moves
  • Godot .import files regenerated correctly
  • Sprite atlas creation validates regions
  • Rollback on validation failure
  • Original structure in git history

When NOT to Use

Don't reorganize if:

  • Assets already well organized
  • External asset management tool in use
  • Mid-production (bad timing for large changes)
  • Custom organization required by pipeline

Benefits

  • Performance - Sprite atlases reduce draw calls
  • Organization - Find assets quickly
  • Workflow - Import new assets to correct location
  • Scalability - Structure supports more assets
  • Collaboration - Team knows where assets belong

Atlas Performance

Without atlases:

  • 20 UI icons = 20 separate textures = 20 draw calls
  • 30 enemy sprites = 30 textures = 30 draw calls

With atlases:

  • 20 UI icons = 1 atlas texture = 1 draw call
  • 30 enemy sprites = 2-3 atlases = 2-3 draw calls

Significant performance improvement, especially for mobile.

Common Transformations

BeforeAfter
player.png in rootassets/​sprites/​characters/​player/​idle.png
sound.wav mixedassets/​audio/​sfx/​player/​jump.wav
20 icons scatteredassets/​sprites/​ui/​atlases/​ui_atlas.png
font.ttf in assetsassets/​fonts/​main_font.ttf

Configuration Options

  • Enable/​disable sprite atlas creation
  • Minimum atlas sprite count (default: 4)
  • Maximum atlas size (default: 4096x4096)
  • Naming convention style
  • Organization depth (flat vs deep hierarchy)

Defaults follow Godot best practices and performance guidelines.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View