界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

rust-bevy-asset-pipeline

rust-bevy-asset-pipeline

【开发与工程】Build and review Bevy game asset loading pipelines with typed asset catalogs, path validation, loading states, handle ownership, sprite sheets, audio, and runtime resource checks. Use when organizing Bevy assets, replacing hard-coded paths, adding loading screens, diagnosing missing handles, or packaging Rust game resources.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: rust-bevy-asset-pipeline description: Build and review Bevy game asset loading pipelines with typed asset catalogs, path validation, loading states, handle ownership, sprite sheets, audio, and runtime resource checks. Use when organizing Bevy assets, replacing hard-coded paths, adding loading screens, diagnosing missing handles, or packaging Rust game resources. license: MIT compatibility: Codex, Claude Code, and other Agent Skills-compatible clients. metadata: version: "0.1.0" displayName: Rust Bevy Asset Pipeline category: Rust tags: rust,bevy,gamedev,assets,packaging

Rust Bevy Asset Pipeline

Use this skill to make Bevy assets explicit, typed, validated, and packageable. The goal is to remove scattered string paths and make loading state observable.

Core Workflow

  1. Inventory images, atlases, fonts, sounds, music, and data files.
  2. Create a typed catalog resource that owns paths and loaded handles.
  3. Validate paths before gameplay systems depend on the assets.
  4. Load assets in a dedicated loading state or plugin.
  5. Pass handles through resources/components; avoid reloading from gameplay systems.
  6. Smoke test release packaging from the same runtime layout users will run.

Read Next

TaskLoad
Design a catalog or loading pluginguidelines.md, references/asset-pipeline-patterns.md
Replace scattered asset pathsworkflows/build-asset-pipeline.md
Diagnose missing assets in packaged buildsguidelines.md, workflows/build-asset-pipeline.md

Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson, Advanced Hands-On Rust, especially Chapter 6 on game assets and the recurring release-readiness checks across the book. Examples are original skeletons.

我的收藏