summaryrefslogtreecommitdiff
path: root/claude/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'claude/CLAUDE.md')
-rw-r--r--claude/CLAUDE.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/claude/CLAUDE.md b/claude/CLAUDE.md
new file mode 100644
index 0000000..ffda0b7
--- /dev/null
+++ b/claude/CLAUDE.md
@@ -0,0 +1,2 @@
+- Whenever updating code, also update the comments in the code to reflect the reality and the reasoning.
+- When a function reaches 50 lines of code or more, try to refactor it into several functions of about 30 lines each. In case of a go project, when main.go becomes too large, move code into the ./internal package.