Skip to content

Commit 77bfce2

Browse files
bokelleyclaude
andauthored
feat(agents): switch triage nudge prefix to @claude-triage (#265)
Mirror of adcontextprotocol/adcp. GitHub's native slash menu collides with /claude-triage; @ prefix avoids the menu and matches @dependabot / @claude conventions. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5af8b47 commit 77bfce2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.agents/routines/triage-prompt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ If > 0, skip — another session beat you to it.
6161
## Manual nudge — overrides the already-engaged check
6262

6363
If the event context contains a `MANUAL NUDGE:` line, a repo member
64-
explicitly requested triage via `/claude-triage`. **Skip the
64+
explicitly requested triage via `@claude-triage`. **Skip the
6565
already-engaged check** and proceed with full triage.
6666

67-
Modifiers: `/claude-triage execute` / `clarify` / `defer` bias the
67+
Modifiers: `@claude-triage execute` / `clarify` / `defer` bias the
6868
outcome. No modifier = standard logic.
6969

7070
## Already-engaged check — before any expert work

.github/workflows/claude-issue-triage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Claude Issue Triage Bridge
33
# Bridges GitHub events to a Claude Code routine's /fire endpoint.
44
# Two entry points:
55
# 1. `issues.opened` / `issues.reopened` — automatic triage on new issues.
6-
# 2. `issue_comment.created` with `/claude-triage` in the body — manual
6+
# 2. `issue_comment.created` with `@claude-triage` in the body — manual
77
# nudge from a repo member, useful when you want the routine to
88
# (re-)look at a specific issue on demand.
99
#
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
timeout-minutes: 2
3737
# Skip bots always. For comment events: only repo members can nudge,
38-
# and the comment body must contain `/claude-triage`.
38+
# and the comment body must contain `@claude-triage`.
3939
if: >-
4040
github.event.issue.user.type != 'Bot' &&
4141
!endsWith(github.event.issue.user.login, '[bot]') &&
@@ -44,7 +44,7 @@ jobs:
4444
github.event_name == 'issues' ||
4545
(
4646
github.event_name == 'issue_comment' &&
47-
contains(github.event.comment.body, '/claude-triage') &&
47+
contains(github.event.comment.body, '@claude-triage') &&
4848
(
4949
github.event.comment.author_association == 'OWNER' ||
5050
github.event.comment.author_association == 'MEMBER' ||
@@ -89,7 +89,7 @@ jobs:
8989
# The already-engaged check should pass this through; the nudge IS
9090
# the explicit request.
9191
if [ "$EVENT_NAME" = "issue_comment" ]; then
92-
nudge_note="MANUAL NUDGE: @${COMMENT_AUTHOR} requested triage via /claude-triage. Comment body (trimmed): \"${COMMENT_BODY_SAFE}\". Treat this as an explicit request; do NOT silent-defer on already-engaged signals — the nudge overrides."
92+
nudge_note="MANUAL NUDGE: @${COMMENT_AUTHOR} requested triage via @claude-triage. Comment body (trimmed): \"${COMMENT_BODY_SAFE}\". Treat this as an explicit request; do NOT silent-defer on already-engaged signals — the nudge overrides."
9393
else
9494
nudge_note=""
9595
fi

0 commit comments

Comments
 (0)