From fc840dd54ead1fe8c84c7d8af3b8269dbf3dfdeb Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 12 Mar 2026 17:34:54 +0200 Subject: [PATCH] Set core rules for Claude Code behavior --- .claude/CLAUDE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index d49e6d9..5f4fcab 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -1,5 +1,14 @@ # Project Instructions +## Core Rules + +- When asked to do ONE thing, do exactly that. Do not proactively migrate dependencies, refactor adjacent code, or expand scope. You may suggest further edits, but wait for confirmation before any scope expansion. +- Prefer the simplest, most localized solution. Changes should target the most-relevant section of code — for example, catch errors in the scope that best handles them rather than injecting data up or down the stack. Take time to think about the best approach rather than quickly jumping to an implementation. + +## Tool Usage Preferences + +For simple factual lookups (package versions, release dates), use targeted, purpose-built commands and local CLI tools first before attempting web searches — e.g. `pip index versions ` for Python, `npm view versions` for Node. Prefer fast local approaches over web research. + ## Container Environment (Podman) This environment runs inside a container with access to a Podman socket shared from the host. There is no `docker` or `podman` CLI available, but you can interact with containers via the Docker-compatible API.