Files
slimepire/AGENTS.md
2026-06-24 15:49:08 +02:00

18 lines
698 B
Markdown

# Slimepire Project — Agent Rules
## Before editing ANY file: ALWAYS re-read it first
I often edit code manually while the agent is running. If you edit a file based on
stale content from a previous read, you will overwrite my manual changes.
**Rule:** Before calling `edit` or `write` on any existing file, read it again with
`read` to get the current state. Never rely on file contents from earlier turns or
from a previous compaction/context window.
## Code style
- Godot 4.7 C# project targeting .NET 10.0
- Uses `GodotSharp.SourceGenerators` — provides `[Singleton]`, `[SceneTree]`,
`[ResourceTree]`, and `Instantiator.Instantiate<T>()`
- Keep things simple, avoid over-engineering