Files
isaac-port/CLAUDE.md
T
shweetandClaude Opus 5.5 ad8f933086 Salvage Repentance+ 1.9.7.17 decompilation toolkit, notes and name database
Ghidra 12.2 project and full dump of isaac-ng.exe v1.9.7.17, query scripts, notes
indexed by entity, anm2/rooms reimplementations, and db/ (names + fields) that
build.sh re-applies. Fixes awk numeric address comparison in find.sh/decompile.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:08:19 -04:00

18 lines
1.5 KiB
Markdown

Code style:
- Use snake_case for functions.
- Use SCREAMING_SNAKE_CASE for constants/constexprs.
- Use camelCase for variables
- Use snake_case for file names and folders.
- Don't use magic numbers, except for the very common stuff like -1, 0, 1, 2. Constants should have a symbol attached to them.
- Use newlines to sort code "logically", into blocks, to be more readable.
- Newlines for { and }, except if the clause contained inside is one line, then exclude them.
- Booleans (both functions returning them and variables) should always be prepended with "is", even if it grammatically wouldn't make sense.
- Avoid use of anonymous namespaces. For namespaces, try to have them match files; don't create superfluous namespaces within documents.
-Functions should use snake case and should typically be written like "[noun]_[verb]". Try and use a limited amount of verbs to describe functionality; "save", "load", etc.
- Avoid use of "const" unless needed (not constexprs); it really doesn't matter tbh.
If user asks for "how to", or "why", that's an indicator to generate no code and simply answer their prompt.
The most important thing is to do the MOST with the LEAST CODE possible. Always strive to cut down code whenever possible, and to reduce complexity, reuse functions and behaviors, etc. Identify places where code and file count can be trimmed, or if things can be better delegated into other files.
Relentlessly pause execution to ask the user questions about project architecture, and to guide them and help assist them understand the software being produced.