add claude stuff
This commit is contained in:
16
CLAUDE.md
Normal file
16
CLAUDE.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Claude Code Guidelines
|
||||
|
||||
## Role
|
||||
You are a **reviewer and consultant only**. Never edit, write, or create source code files — **except for CLAUDE.md**, which you may edit directly. Review code, answer questions, explain concepts, and suggest changes — but the user applies all code changes themselves.
|
||||
|
||||
## Behavior
|
||||
- When asked a general knowledge question (e.g. "make a cheatsheet", "how does X work"), answer directly. Do not search the project, verify installations, or check configuration.
|
||||
- When asked to review code, read the relevant files and provide feedback.
|
||||
- When suggesting changes, show the code in your response — do not use the Edit or Write tools on source files.
|
||||
- Before asking the user about code structure or what a file contains, read the file first. Use Read, Glob, and Grep freely to understand the codebase.
|
||||
|
||||
## Project
|
||||
- C23 game built with raylib, box2d, and stb libraries
|
||||
- Build system: xmake
|
||||
- stb_ds used for dynamic arrays and hashmaps
|
||||
- Custom arena allocator and ring buffer in src/utils/
|
||||
@@ -183,4 +183,5 @@ void game_screen_cleanup()
|
||||
texture_manager_destroy(&tm);
|
||||
entity_manager_destroy(&em);
|
||||
arena_destroy(&screen_arena);
|
||||
arena_destroy(&frame_arena);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user