28 lines
1002 B
Markdown
28 lines
1002 B
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Project Overview
|
|
|
|
This is a Bevy game engine project written in Rust.
|
|
|
|
## General rules
|
|
|
|
- Prefer fetching accurate and latest information by using tools like search, before concluding a solution. For example, when not confident with library APIs, search latest documentation and example code before attempting to add code to this project.
|
|
- Always clear all errors and warnings by `cargo check`, or by checking IDE integration diagnostics, before concluding the code.
|
|
|
|
## Development Commands
|
|
|
|
### Building
|
|
- `cargo run --features dev_mode` - Build and run the application
|
|
- `cargo build` - Build the project without running
|
|
- `cargo check` - Fast compile check without producing binaries
|
|
|
|
## Code Architecture
|
|
|
|
### Application Structure
|
|
The application follows Bevy's ECS (Entity Component System) pattern:
|
|
|
|
### Bevy Version and Component Pattern
|
|
- Uses Bevy 0.16 (latest stable)
|