summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-24 20:25:36 +0300
committerPaul Buetow <paul@buetow.org>2025-06-24 20:25:36 +0300
commit6c6376a25e4b01dce60b10df2c6e3b31a007e1b1 (patch)
tree6f251175f5114525645e698d2746e395e38c41f5
parent90ccce5fed7f32a4b087a769aec87d4076a182ff (diff)
Update
-rw-r--r--dotfiles/claude/CLAUDE.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/claude/CLAUDE.md b/dotfiles/claude/CLAUDE.md
index 164777b..ffda0b7 100644
--- a/dotfiles/claude/CLAUDE.md
+++ b/dotfiles/claude/CLAUDE.md
@@ -1 +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.