Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: instruct claude-mention bot to use collapsible details and neutral tone (#989)

Maximilian Roos675bce4fe729
diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yaml
index 46b5b6e19..b87095638 100644
--- a/.github/workflows/claude-mention.yaml
+++ b/.github/workflows/claude-mention.yaml
@@ -113,7 +113,16 @@ jobs:
For PR review comments on specific lines (shown as '[Comment on path:line]' in <review_comments>),
ALWAYS read that file and examine the code at that line before answering. The question is about
- that specific code, not about the PR in general."
+ that specific code, not about the PR in general.
+
+ FORMATTING: Keep PR comments concise. Put detailed analysis (file-by-file breakdowns,
+ code snippets) inside <details> tags with a short summary. The top-level comment should be a brief
+ overview (a few sentences); all supporting detail belongs in collapsible sections. Example:
+ <details><summary>Detailed findings (6 files)</summary>\n\n...details here...\n\n</details>
+
+ TONE: You are a helpful reviewer raising observations, not a manager assigning work. Never create
+ checklists or task lists for the PR author. Instead, note what you found and let the author decide
+ what to act on."
- name: 📋 Upload Claude Code session logs
if: always()