From 59d4a997e2ef5363a840a48ba90feb11049be1a7 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 5 Feb 2026 19:56:30 +0000 Subject: [PATCH] fix(claude): clarify git working directory instruction Be explicit about avoiding the `-C` flag rather than the vague "flags to specify a working directory" phrasing. Co-Authored-By: Claude Opus 4.6 --- claude/CLAUDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/claude/CLAUDE.md b/claude/CLAUDE.md index f164a16..d9ea8d1 100644 --- a/claude/CLAUDE.md +++ b/claude/CLAUDE.md @@ -58,8 +58,8 @@ Below are rules to follow with everything you do. etc. - If commands fail due to a missing file you expect to exist, double check the current directory with `pwd`, and `cd` to the project root if needed. -- Avoid using flags to specify a working directory (e.g., `git -C `). - Instead, verify you're not already in that directory, then `cd` to it. +- Do not execute `git` with the `-C` flag. Instead, verify you're not already + in the target directory, then `cd` to it. - When investigating third-party libraries, use deepwiki to look up information if available.