From 46d281f0cb3dc6ef0ba04a87730db144c8211ba3 Mon Sep 17 00:00:00 2001 From: martmull Date: Tue, 7 Jul 2026 12:40:17 +0200 Subject: [PATCH] Update claude session settings for a proper PR behavior (#22619) required so it is taken into account by claude in Cloud claude sessions Review in cubic --- .claude/settings.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index 0ae2205097..ca23ce8ab6 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -3,5 +3,17 @@ "attribution": { "commit": "", "pr": "" + }, + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "cat <<'EOF'\nInstructions for this session:\n- Do NOT add any signature, footer, co-author tag, \"Generated with Claude\" or \"Co-Authored-By\" mention in commits, PRs, or files.\n- Be concise. Get to the point, no preamble or unnecessary recap.\n- Write like a human: natural, direct tone, no marketing language or overwrought phrasing.\n- No weird punctuation: never use em dashes, no emojis unless explicitly asked, standard punctuation only.\nEOF" + } + ] + } + ] } }