Skip to content

Conversation

@david-martin
Copy link

@david-martin david-martin commented Dec 11, 2025

What this PR does / why we need it:

Adds the github:what-next command to help developers identify what to focus on next by analyzing open PRs, assigned work, and milestone issues. It presents a prioritized list of actionable items based on common open-source contribution workflows.

Which issue(s) this PR fixes:

n/a

Special notes for your reviewer:

Example output in a github repo I'm active on:

⏺ What to Focus on Next

  PRs Needing Your Review

  1. https://github.com/kagenti/mcp-gateway/pull/435 - "external mcp server doc updates" by @jasonmadigan
    - Has comment activity from @maleck13, last updated 1 day ago
    - No explicit approval yet
  2. https://github.com/kagenti/mcp-gateway/pull/434 - "docs: Add design document for tool prefix matching" by @trepel
    - You commented recently (today)
    - Active discussion ongoing
  3. https://github.com/kagenti/mcp-gateway/pull/423 - "Virtual server test - Filtered tools refactor" by @maleck13
    - No reviews yet, updated 1 day ago
  4. Dependabot PRs (3 total):
    - https://github.com/kagenti/mcp-gateway/pull/431 - bump gateway-api to 1.4.1
    - https://github.com/kagenti/mcp-gateway/pull/430 - bump mcp-go to 0.43.2
    - https://github.com/kagenti/mcp-gateway/pull/403 - bump go-redis to 9.17.2

  Your Open PRs

  1. https://github.com/kagenti/mcp-gateway/pull/412 - "Remove keycloak/kuadrant/cert-manager install from default dev environment"
    - Status: Approved by @guicassolato, ready to merge
    - Recent discussion about OIDC test server dependency on Keycloak
  2. https://github.com/kagenti/mcp-gateway/pull/432 - "Add vision doc"
    - Status: Waiting for review - requested from @maleck13, @esnible, @huang195, @shaneutt
    - No reviews submitted yet (updated 2 days ago)

  Your Drafts

  1. https://github.com/kagenti/mcp-gateway/pull/424 - "Disable writeTimeout to allow long running SSE connections for notifi…"
    - Last updated 6 days ago
  2. https://github.com/kagenti/mcp-gateway/pull/398 - "Break out registration process into more detail"
    - Last updated 9 days ago, has comments from @maleck13

  Priority Issues for https://github.com/kagenti/mcp-gateway/milestone/2 (due 2026-01-26)

  High Priority:
  1. https://github.com/kagenti/mcp-gateway/issues/278 - "CRD name collision with ToolHive" priority/high - Unassigned
  2. https://github.com/kagenti/mcp-gateway/issues/321 - "Operator & OLM Install" priority/high - Unassigned
  3. https://github.com/kagenti/mcp-gateway/issues/389 - "External Service MCP Server bypasses HTTPRoute" priority/high - Unassigned
  4. https://github.com/kagenti/mcp-gateway/issues/24 - "Notifications Support" priority/high - Assigned to you

  Good First Issue:
  5. https://github.com/kagenti/mcp-gateway/issues/382 - "Upgrade Gateway API dependency from v1.3.0 to v1.4.0" good first issue priority/low - Unassigned (note: dependabot PR #431 may address this)

  ---
  Suggested focus order:
  1. Merge your approved PR #412 (dev environment cleanup)
  2. Review PR #423 (virtual server test refactor) - no reviews yet
  3. Review PR #435 (external mcp server docs)
  4. Follow up on PR #432 (vision doc) if no reviews come in
  5. Continue work on your assigned issue #24 (Notifications Support) or pick up an unassigned high-priority issue

Example output in this ai-helpers repo (where I'm not active):

  What to Focus on Next

  PRs Needing Your Review

  No PRs currently need your review.

  (All 3 open PRs are either drafts, authored by bots, or have requested reviews from other specific users)

  Your Assigned PRs with Activity

  You have no assigned PRs.

  Your Open PRs

  You have no open PRs.

  Your Drafts

  You have no draft PRs.

  Open PRs from Others (FYI)

  These PRs are awaiting review from others, not you:

  1. https://github.com/openshift-eng/ai-helpers/pull/213 - "Add autoscale-cluster command to openshift plugin" by @shyadav10
    - Awaiting review from: @Prashanth684, @theobarberbany
    - Updated 4 hours ago
  2. https://github.com/openshift-eng/ai-helpers/pull/212 - "Add JIRA template system and create command enhancements" by @jaypoulz
    - Awaiting review from: @bentito, @bryan-cox
    - Updated 1 day ago
    - Note: Pipeline failure - PLUGINS.md and docs/data.json are out of sync (needs make update)
  3. https://github.com/openshift-eng/ai-helpers/pull/214 - "feat(jira): Add AI-powered activity type categorization command" by @GrimmiMeloni
    - Draft - not ready for review
    - 3 CodeRabbit review comments posted

  Priority Issues

  No open milestones with due dates found.

  Open Issues (unassigned):
  1. https://github.com/openshift-eng/ai-helpers/issues/25 - "Add cleanup command for session plugin"
  2. https://github.com/openshift-eng/ai-helpers/issues/21 - "Using many plugins can create noise due to file creation"
  3. https://github.com/openshift-eng/ai-helpers/issues/19 - "Missing standards on plugin authorship"

  ---You have no PRs requiring immediate attention. Consider picking up one of the open issues above, or reviewing pending PRs if you have domain expertise in those areas.

Checklist:

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.

Summary by CodeRabbit

  • New Features
    • Added GitHub plugin with /github:what-next command to analyze PRs, issues, and milestones to identify and prioritize next work items.

✏️ Tip: You can customize this high-level summary in your review settings.

Signed-off-by: David Martin <davmarti@redhat.com>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 11, 2025
@openshift-ci
Copy link

openshift-ci bot commented Dec 11, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: david-martin
Once this PR has been reviewed and has the lgtm label, please assign bentito for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 11, 2025

Walkthrough

A new GitHub plugin is introduced with a what-next command that analyzes pull requests, issues, and milestones to prioritize work. The plugin is registered in the marketplace, documented, and added to the data registry alongside command specifications.

Changes

Cohort / File(s) Summary
Plugin Registration
.claude-plugin/marketplace.json, plugins/github/.claude-plugin/plugin.json
New GitHub plugin entry added to marketplace with metadata (name, source path, description, version, author) for plugin discovery and initialization.
Plugin Documentation
PLUGINS.md, plugins/github/README.md, plugins/github/commands/what-next.md
Documentation structure added: plugin index entry, README with installation and usage instructions, and detailed command specification for the what-next command including prerequisites, implementation logic, error handling, and usage examples.
Data Registry
docs/data.json
GitHub plugin declaration registered with version 0.0.1, description, readme reference, and what-next command definition including argument hints and synopsis.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Changes consist of consistent plugin metadata additions across registration and documentation files with no complex logic
  • Documentation is descriptive and straightforward
  • All new entries follow established patterns from existing plugins

Pre-merge checks and finishing touches

✅ Passed checks (7 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add github:what-next cmd' clearly and concisely describes the main change: introducing a new GitHub command for workflow prioritization.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
No Real People Names In Style References ✅ Passed Comprehensive search found no real person names used as style references in plugins/github/ directory.
No Assumed Git Remote Names ✅ Passed New github plugin files do not contain hardcoded git remote names like 'origin' or 'upstream'.
Git Push Safety Rules ✅ Passed Pull request adds only documentation and configuration files with no git push commands, force push operations, or autonomous push workflows.
No Untrusted Mcp Servers ✅ Passed The pull request introduces a GitHub plugin with the what-next command using only documentation files and JSON manifest, with no MCP servers or untrusted dependencies added.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 11, 2025
@openshift-ci
Copy link

openshift-ci bot commented Dec 11, 2025

Hi @david-martin. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between 03038ce and 9abdc43.

📒 Files selected for processing (6)
  • .claude-plugin/marketplace.json (1 hunks)
  • PLUGINS.md (2 hunks)
  • docs/data.json (1 hunks)
  • plugins/github/.claude-plugin/plugin.json (1 hunks)
  • plugins/github/README.md (1 hunks)
  • plugins/github/commands/what-next.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
plugins/github/commands/what-next.md

[uncategorized] ~6-~6: The official name of this software platform is spelled with a capital “H”.
Context: ...int: [--contributing path] --- ## Name github:what-next ## Synopsis ``` /github:what...

(GITHUB)


[uncategorized] ~15-~15: The official name of this software platform is spelled with a capital “H”.
Context: ...tributing path] ``` ## Description The github:what-next command helps developers ide...

(GITHUB)

plugins/github/README.md

[uncategorized] ~9-~9: The official name of this software platform is spelled with a capital “H”.
Context: ...scription | |---------|-------------| | /github:what-next | Identify what to focus on ...

(GITHUB)

PLUGINS.md

[uncategorized] ~133-~133: The official name of this software platform is spelled with a capital “H”.
Context: ...ME.md) for detailed documentation. ### Github Plugin GitHub workflow automation and ...

(GITHUB)


[uncategorized] ~140-~140: The official name of this software platform is spelled with a capital “H”.
Context: ...s, issues, and milestones See plugins/github/README.md fo...

(GITHUB)


[uncategorized] ~140-~140: The official name of this software platform is spelled with a capital “H”.
Context: ...ilestones See plugins/github/README.md for detailed documentation. ...

(GITHUB)

🪛 markdownlint-cli2 (0.18.1)
plugins/github/README.md

25-25: Bare URL used

(MD034, no-bare-urls)


34-34: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


46-46: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (5)
plugins/github/.claude-plugin/plugin.json (1)

1-8: Manifest structure is correct.

The plugin manifest follows established conventions and is valid. No concerns here.

.claude-plugin/marketplace.json (1)

131-136: Marketplace entry is well-formed.

The new plugin entry is properly formatted, correctly positioned, and maintains JSON validity.

plugins/github/commands/what-next.md (1)

1-226: Comprehensive and well-structured command specification.

The what-next command specification is thorough, with clear implementation steps, well-defined heuristics, comprehensive error handling, and practical examples. The five-step process for gathering and prioritizing work items is logical and actionable.

docs/data.json (1)

985-1000: Plugin metadata is correct and consistent.

The github plugin entry in docs/data.json properly declares the what-next command with matching argument hints, descriptions, and synopses across all related files. The metadata structure is consistent with other plugin entries.

plugins/github/README.md (1)

9-9: Capitalize company name "GitHub".

The static analysis correctly flagged that the official name should be capitalized.

 | Command | Description |
 |---------|-------------|
-| `/github:what-next` | Identify what to focus on next based on PRs, issues, and milestones |
+| `/GitHub:what-next` | Identify what to focus on next based on PRs, issues, and milestones |

Note: The command name itself (/github:what-next) should remain lowercase in actual usage, but the text describing "GitHub workflow" should use proper capitalization.

Likely an incorrect or invalid review comment.

- [Doc](#doc-plugin)
- [Etcd](#etcd-plugin)
- [Git](#git-plugin)
- [Github](#github-plugin)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Capitalize GitHub in table of contents.

The company name should use proper capitalization throughout the document.

- [Github](#github-plugin)
+ [GitHub](#github-plugin)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- [Github](#github-plugin)
- [GitHub](#github-plugin)
🤖 Prompt for AI Agents
In PLUGINS.md around line 14, the table-of-contents entry "Github" should be
capitalized as "GitHub"; update that line to "GitHub" and scan the document for
any other instances of "Github" to correct them to "GitHub" for consistent
casing, leaving existing anchors/links intact unless their target headings also
need capitalization changes to match.

Comment on lines +133 to +140
### Github Plugin

GitHub workflow automation and utilities

**Commands:**
- **`/github:what-next` `[--contributing path]`** - Identify what to focus on next based on PRs, issues, and milestones

See [plugins/github/README.md](plugins/github/README.md) for detailed documentation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Capitalize GitHub in plugin section header and link path.

The plugin section header and internal references should use the proper capitalization of the company name, though the fragment identifier should remain lowercase.

-### Github Plugin
+### GitHub Plugin

-GitHub workflow automation and utilities
+GitHub workflow automation and utilities

 **Commands:**
 - **`/github:what-next` `[--contributing path]`** - Identify what to focus on next based on PRs, issues, and milestones

-See [plugins/github/README.md](plugins/github/README.md) for detailed documentation.
+See [plugins/github/README.md](plugins/github/README.md) for detailed documentation.

Note: The command name and path remain lowercase as intended.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### Github Plugin
GitHub workflow automation and utilities
**Commands:**
- **`/github:what-next` `[--contributing path]`** - Identify what to focus on next based on PRs, issues, and milestones
See [plugins/github/README.md](plugins/github/README.md) for detailed documentation.
### GitHub Plugin
GitHub workflow automation and utilities
**Commands:**
- **`/github:what-next` `[--contributing path]`** - Identify what to focus on next based on PRs, issues, and milestones
See [plugins/github/README.md](plugins/github/README.md) for detailed documentation.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~133-~133: The official name of this software platform is spelled with a capital “H”.
Context: ...ME.md) for detailed documentation. ### Github Plugin GitHub workflow automation and ...

(GITHUB)


[uncategorized] ~140-~140: The official name of this software platform is spelled with a capital “H”.
Context: ...s, issues, and milestones See plugins/github/README.md fo...

(GITHUB)


[uncategorized] ~140-~140: The official name of this software platform is spelled with a capital “H”.
Context: ...ilestones See plugins/github/README.md for detailed documentation. ...

(GITHUB)

🤖 Prompt for AI Agents
PLUGINS.md around lines 133-140: change the section header from "Github Plugin"
to "GitHub Plugin" and update the internal README link from
"plugins/github/README.md" to use the proper capitalization
("plugins/GitHub/README.md"); keep the command name and any fragment identifiers
in lowercase as they are.


- **GitHub CLI (`gh`)** must be installed and authenticated
- Check: `gh auth status`
- Install: https://cli.github.com/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Format bare URL as markdown link.

Line 25 contains a bare URL without markdown link syntax.

- **GitHub CLI (`gh`)** must be installed and authenticated
   - Check: `gh auth status`
-  - Install: https://cli.github.com/
+  - Install: [https://cli.github.com/](https://cli.github.com/)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Install: https://cli.github.com/
- Install: [https://cli.github.com/](https://cli.github.com/)
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

25-25: Bare URL used

(MD034, no-bare-urls)

🤖 Prompt for AI Agents
In plugins/github/README.md around line 25, the Install entry uses a bare URL;
replace it with a markdown link by wrapping the URL in square and round brackets
(e.g., [Install GitHub CLI](https://cli.github.com/) or simply
[https://cli.github.com/](https://cli.github.com/)) so the URL is rendered as a
clickable link in Markdown.


Get a prioritized list of what to work on:

```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add language identifiers to fenced code blocks.

Lines 34 and 46 have code blocks without language specification. This improves readability and syntax highlighting.

-```
+```bash
 /github:what-next
-```
+```

And:

-```
+```bash
 /github:what-next --contributing docs/CONTRIBUTING.md
-```
+```

Also applies to: 46-46

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

34-34: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
In plugins/github/README.md around lines 34 and 46, the fenced code blocks are
missing language identifiers; update each opening triple-backtick to include the
language "bash" (i.e., change ``` to ```bash) for the code examples
"/github:what-next" and "/github:what-next --contributing docs/CONTRIBUTING.md"
so they render with bash syntax highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant