Skip to content

feat: add Claude Code skills for PR and issue triage#343

Merged
pszymkowiak merged 2 commits intomasterfrom
feat/claude-skills-pr-issue-triage
Mar 5, 2026
Merged

feat: add Claude Code skills for PR and issue triage#343
pszymkowiak merged 2 commits intomasterfrom
feat/claude-skills-pr-issue-triage

Conversation

@FlorianBruniaux
Copy link
Collaborator

Summary

Two Claude Code skills (slash commands) that power structured, repeatable audits directly in a Claude Code session — no more ad-hoc reviews.

/pr-triage

Scans open PRs, runs deep review on selected ones, and posts formatted review comments to GitHub.

  • Covers code quality, test coverage, security surface, CLAUDE.md conventions
  • Args: 42 57 (specific PRs), all (full audit), no arg = audit-only

/issue-triage

Audits open issues, auto-categorizes (bug/feature/doc/question), detects duplicates, cross-references related PRs, and estimates risk/priority.

  • Posts structured comments with action queue for maintainers
  • Args: all (deep analysis), issue numbers to focus, en/fr for language

Why this matters

Instead of reading PRs and issues manually before a review session, maintainers invoke a single slash command. The skill handles GitHub CLI calls, formats structured output, and posts comments — keeping everything inside the Claude Code session with full context.

Test plan

  • Skills load correctly in Claude Code (/pr-triage --help)
  • gh CLI integration tested on this repo
  • Templates render correctly for both FR and EN output

🤖 Generated with Claude Code

FlorianBruniaux and others added 2 commits March 5, 2026 20:41
Two skills that power structured audits directly in Claude Code sessions.
They replace ad-hoc manual reviews with a repeatable, documented workflow.

**`/pr-triage`** — Pull request audit
Scans open PRs, runs deep review on selected ones, and posts formatted
review comments to GitHub. Covers code quality, test coverage, security
surface, and alignment with CLAUDE.md conventions. Useful before every
merge and for contributor onboarding.

**`/issue-triage`** — Issue audit
Audits open issues, auto-categorizes (bug/feature/doc/question), detects
duplicates, cross-references related PRs, and estimates risk/priority.
Posts structured comments so maintainers have a clear action queue.

Both skills integrate with the `gh` CLI and can be invoked with args:
  /pr-triage 42 57        — deep review of specific PRs
  /pr-triage all          — full audit of all open PRs
  /issue-triage           — audit-only mode (no comments posted)
  /issue-triage all en    — deep analysis, English output

These reduce the overhead of code review and issue management to a single
slash command, keeping context inside the Claude Code session.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 5, 2026 19:43
@pszymkowiak pszymkowiak merged commit 6ad6ffe into master Mar 5, 2026
4 checks passed
dragonGR pushed a commit to dragonGR/rtk that referenced this pull request Mar 5, 2026
* feat: add Claude Code skills for PR and issue triage

Two skills that power structured audits directly in Claude Code sessions.
They replace ad-hoc manual reviews with a repeatable, documented workflow.

**`/pr-triage`** — Pull request audit
Scans open PRs, runs deep review on selected ones, and posts formatted
review comments to GitHub. Covers code quality, test coverage, security
surface, and alignment with CLAUDE.md conventions. Useful before every
merge and for contributor onboarding.

**`/issue-triage`** — Issue audit
Audits open issues, auto-categorizes (bug/feature/doc/question), detects
duplicates, cross-references related PRs, and estimates risk/priority.
Posts structured comments so maintainers have a clear action queue.

Both skills integrate with the `gh` CLI and can be invoked with args:
  /pr-triage 42 57        — deep review of specific PRs
  /pr-triage all          — full audit of all open PRs
  /issue-triage           — audit-only mode (no comments posted)
  /issue-triage all en    — deep analysis, English output

These reduce the overhead of code review and issue management to a single
slash command, keeping context inside the Claude Code session.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: fix version references 0.24.0 → 0.25.0 and module count (pre-existing)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants