From triage-github-notifications
Fetch and triage GitHub notifications, highlighting items that require action
How this command is triggered — by the user, by Claude, or both
Slash command
/triage-github-notifications:triage-github-notificationsThe summary Claude sees in its command listing — used to decide when to auto-load this command
## Name triage-github-notifications:triage-github-notifications ## Synopsis Fetch GitHub notifications for a user over a configurable date range and display actionable items. ## Description Triages GitHub notifications by fetching them via the `gh` CLI, categorizing by reason (review_requested, assign, author, mention, comment, subscribed), and presenting actionable notifications in prioritized tables. The argument (if any) is: $ARGUMENTS ## Implementation ### Step 1: Ask for GitHub username Prompt the user for their GitHub username. Do not assume a default. ### Step 2: Ask for da...
triage-github-notifications:triage-github-notifications
Fetch GitHub notifications for a user over a configurable date range and display actionable items.
Triages GitHub notifications by fetching them via the gh CLI, categorizing by reason (review_requested, assign, author, mention, comment, subscribed), and presenting actionable notifications in prioritized tables.
The argument (if any) is: $ARGUMENTS
Prompt the user for their GitHub username. Do not assume a default.
Ask the user how many days back they want to look (e.g., 1, 2, 7, 14, 30).
Use the gh CLI to fetch notifications:
gh api /notifications --method GET \
-f since="$(date -u -d '<N> days ago' +%Y-%m-%dT%H:%M:%SZ)" \
-f all=true \
--paginate \
--jq '.[] | {id, reason, unread, updated_at, title: .subject.title, type: .subject.type, repo: .repository.full_name, url: .subject.url}'
Group each notification by its reason field into these priority-ordered categories:
review_requested) — PRs where the user's review is requested. Highest priority.assign) — Issues/PRs assigned to the user.author) — The user's own PRs/issues that have new activity and may need follow-up.mention) — The user was @-mentioned and may need to respond.comment) — Threads the user is participating in that have new comments.subscribed) — FYI only, no action needed.Transform subject URLs from API format to web format:
https://api.github.com/repos/{owner}/{repo}/pulls/{number} → https://github.com/{owner}/{repo}/pull/{number}https://api.github.com/repos/{owner}/{repo}/issues/{number} → https://github.com/{owner}/{repo}/issues/{number}For each category (except subscribed), display a markdown table with columns:
For the Subscribed category, display a brief bullet list since these are FYI only.
End with a Summary section that:
Markdown-formatted triage report with prioritized, categorized notification tables.
npx claudepluginhub kannon92/kubernetes-maintainer-skills --plugin triage-github-notifications