surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic ยท github.com/anthropics
Updates the prompt to correctly reference the reactionGroups field instead of reactions when counting engagements. ๐ค Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 | 2. For each issue, gather the following information using the GitHub MCP tools: |
| 36 | 36 | - Issue details (title, body, labels) using mcp__github__get_issue |
| 37 | 37 | - All comments using mcp__github__get_issue_comments |
| 38 | - - Reaction counts from the issue data | |
| 38 | + - Reaction counts from the issue data (available in the reactionGroups field) | |
| 39 | 39 | |
| 40 | 40 | 3. Evaluate each issue against the oncall criteria. An issue is oncall-worthy if ALL of the following are true: |
| 41 | 41 | |
| @@ -54,7 +54,7 @@ | ||
| 54 | 54 | - Activity includes: new comments, reactions, or label changes |
| 55 | 55 | |
| 56 | 56 | d) At least 5 engagements: |
| 57 | - - Count total reactions on the issue (๐, โค๏ธ, ๐, ๐, ๐, ๐, etc.) | |
| 57 | + - Count total reactions from the reactionGroups field (sum all reaction counts) | |
| 58 | 58 | - Count total number of comments |
| 59 | 59 | - Sum must be >= 5 |
| 60 | 60 |