-
Notifications
You must be signed in to change notification settings - Fork 13
HYPERFLEET-1029 - feat: Add /open-prs skill #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ddb3a63
ecf7c73
c0a1413
0fdce38
d070cee
7df5bb4
028c3fc
94bafdc
1859c75
6ebd785
48681f9
35583cd
a9019ff
4ba3a2a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "hyperfleet-work-triage", | ||
| "version": "0.2.0", | ||
| "description": "Work triage skills for HyperFleet: /bugs-triage for interactive JIRA bug and GitHub issue triage. /open-prs surfaces and prioritizes open PRs across the org using GitHub + JIRA context with multi-factor scoring and confidence levels.", | ||
| "author": { | ||
| "name": "Rafael Benevides", | ||
| "email": "rbenevid@redhat.com" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # hyperfleet-work-triage | ||
|
|
||
| Work triage skills for HyperFleet: bug/issue triage and PR prioritization. | ||
|
|
||
| ## Installation | ||
|
|
||
| ```bash | ||
| /install hyperfleet-work-triage@openshift-hyperfleet/hyperfleet-claude-plugins | ||
| ``` | ||
|
|
||
| ## Skills | ||
|
|
||
| ### `/bugs-triage` — Bug & Issue Triage | ||
|
|
||
| ```bash | ||
| /bugs-triage # Triage both JIRA bugs and GitHub issues | ||
| /bugs-triage jira # Triage only JIRA bugs | ||
| /bugs-triage github # Triage only GitHub issues | ||
| ``` | ||
|
|
||
| **What it does:** | ||
|
|
||
| - **JIRA Bug Triage:** Fetches all bugs with status "New" in HYPERFLEET, skips assigned ones, and for each bug recommends an action (move to Backlog, request info, close, convert to RFE, escalate) | ||
| - **GitHub Issues Triage:** Fetches untriaged issues across all repos, checks if already tracked in JIRA or resolved by PRs, and recommends an action (accept as Bug/RFE, help, reject, duplicate) | ||
| - Reports bugs/issues open for more than 3 sprints (6 weeks) | ||
|
|
||
| ### `/open-prs` — Intelligent PR Review Queue | ||
|
|
||
| ```bash | ||
| /open-prs # Compact ranked list (default) | ||
| /open-prs --explain # Full reasoning + factor breakdowns | ||
| /open-prs --repo hyperfleet-api # Scope to one repo | ||
| /open-prs --component Adapter # Filter by JIRA component | ||
| ``` | ||
|
|
||
| **What it does:** | ||
|
|
||
| - Scans all repos in the org for open PRs (parallel queries) | ||
| - Cross-references with JIRA: priority, sprint deadlines, story points, blocking chains | ||
| - Reads PR diffs and ticket descriptions to understand actual urgency | ||
| - Checks CI status from all sources (GitHub Actions + Prow) | ||
| - Detects unresolved reviewer comments and author responsiveness | ||
| - Applies 8-factor weighted scoring with confidence levels | ||
| - Groups PRs into 4 tiers: Immediate Attention, Should Review Soon, When You Have Time, Informational | ||
| - Works without JIRA CLI (graceful degradation with reduced confidence) | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - [GitHub CLI](https://cli.github.com/) (`gh`) — authenticated with access to openshift-hyperfleet repos (required) | ||
| - [jira-cli](https://github.com/ankitpokhrel/jira-cli) — configured for the HYPERFLEET project (required for `/bugs-triage`, optional for `/open-prs`) | ||
|
|
||
| ## Shared Reference Data | ||
|
|
||
| | File | Used by | Purpose | | ||
| |------|---------|---------| | ||
| | `references/github-repos.md` | Both skills | Repositories in scope | | ||
|
tirthct marked this conversation as resolved.
|
||
| | `skills/bugs-triage/references/owners.csv` | `/bugs-triage` | Component/domain owners for assignee suggestions | | ||
|
|
||
| Ticket creation (formatting, Activity Types, Story Points) is delegated to the `hyperfleet-jira:jira-ticket-creator` skill. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| # GitHub Repositories in Triage Scope | ||
| # GitHub Repositories in Scope | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file includes much more repos than the original: https://github.com/openshift-hyperfleet/hyperfleet-claude-plugins/blob/main/hyperfleet-bugs-triage/skills/bugs-triage/references/github-repos.md - he original Is this intentional?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the irrelevant repos as discussed |
||
|
|
||
| Only issues from these `openshift-hyperfleet` repositories should be triaged. | ||
| Issues from repos not listed here should be skipped. | ||
| Repositories in the `openshift-hyperfleet` organization that are actively maintained. | ||
| Used by `/bugs-triage` (issue triage) and `/open-prs` (PR prioritization). | ||
|
tirthct marked this conversation as resolved.
|
||
|
|
||
| ## Core Components | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
|
|
||
|
|
@@ -22,6 +22,10 @@ Issues from repos not listed here should be skipped. | |
| - `hyperfleet-e2e` | ||
| - `maestro-cli` | ||
|
|
||
| ## API & Specifications | ||
|
|
||
| - `hyperfleet-api-spec` | ||
|
|
||
| ## Documentation & Tooling | ||
|
|
||
| - `architecture` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/open-prsrequiresjqand refuses to run without it (SKILL.md line 59: "stop and tell the user —jqis required"). Consider adding it to the prerequisites: