Skip to content

The open alternative to Salesforce, designed for AI.

Update claude session settings for a proper PR behavior (#22619)

martmull46d281f0cb3d
diff --git a/.claude/settings.json b/.claude/settings.json
index 0ae22050977..ca23ce8ab65 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"
+ }
+ ]
+ }
+ ]
}
}