Skip to content

Fix: Correct PR-review title/commit convention to capitalized prefixes - #2021

Merged
rubambiza merged 3 commits into
rossoctl:mainfrom
rubambiza:fix/pr-review-title-convention
Jun 23, 2026
Merged

rubambiza merged 3 commits into
rossoctl:mainfrom
rubambiza:fix/pr-review-title-convention

Conversation

@rubambiza

Copy link
Copy Markdown
Contributor

Summary

The github:pr-review skill instructed the reviewer to check for emoji-prefixed commit subjects and PR titles. That is the wrong convention:

  • The org's reusable workflow pr-verifier-required.yml enforces capitalized conventional prefixes (Build, Chore, CI, Docs, Feat, Fix, Perf, Refactor, Revert, Style, Test, Feature, Bug fix, Proposal, Breaking change, Other), not emoji.
  • That check is advisory, not blocking — verify-pr-title / pr-title-check is not a required status check, and only ~8 org repos invoke the workflow at all.

This change updates .claude/skills/github:pr-review/SKILL.md:

  • Replace the emoji criteria in §3.1 (commits) and §3.2 (PR title) with the real capitalized-prefix list.
  • Mark the title/prefix checks advisory (nit); keep DCO sign-off as the only blocking commit check.
  • Note the title check only applies in repos that invoke pr-verifier.yml — skip it elsewhere.
  • Flag (in §3.1) that the git:commit skill still documents the stale emoji style; not changed here.

Out of scope

Making verify-pr-title a required/blocking check — intentionally not done (would block Dependabot's lowercase chore(deps): titles).

Fixes #2020

Assisted-By: Claude Code

The github:pr-review skill checked for emoji-prefixed commit subjects and
PR titles, but the org's pr-verifier-required.yml workflow enforces
capitalized conventional prefixes (Feat, Fix, Docs, ...), not emoji — and
that check is advisory, not blocking.

- Replace emoji criteria in 3.1/3.2 with the capitalized prefix list
- Mark title/prefix checks advisory (nit), keep DCO as the only blocker
- Note the check only applies in repos that invoke pr-verifier.yml
- Flag the stale emoji guidance in the git:commit skill (not changed here)

Assisted-By: Claude Opus 4.6 <[email protected]>

Signed-off-by: Gloire Rubambiza <[email protected]>
@rubambiza rubambiza moved this from New/ToDo to In progress in Rossoctl Issue Prioritization Jun 22, 2026
@rubambiza rubambiza self-assigned this Jun 22, 2026
@rubambiza rubambiza added the ready-for-ai-review Request automated AI code review from clawgenti label Jun 22, 2026

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Documentation-only update to .claude/skills/github:pr-review/SKILL.md — replaces emoji-prefix convention with the correct capitalized conventional prefixes (Fix:, Feat:, etc.) and marks title/prefix checks as advisory. The change accurately reflects the org's pr-verifier-required.yml workflow behavior and DCO as the sole blocking check.

Agent/IDE config note: The modified file lives under .claude/ (§3.5a supply-chain gate). Content is pure markdown documentation with no executable payloads, hooks, or permission grants — risk is low.

All checks pass. Ready for human review.


Reviewed by clawgenti using github:pr-review

@rubambiza rubambiza added ready-for-human-review AI review passed, ready for human reviewer and removed ready-for-ai-review Request automated AI code review from clawgenti labels Jun 22, 2026
@rubambiza rubambiza moved this from In progress to In review / Needs Testing in Rossoctl Issue Prioritization Jun 22, 2026

@mrsabath mrsabath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verified the core claims directly against kagenti/.github/.github/workflows/pr-verifier-required.yml:

  • Prefix set + case-sensitivity — correct. The workflow uses deepakputhraya/action-pr-title with prefix_case_sensitive: true and exactly the capitalized conventional prefixes this PR documents. The old emoji guidance was indeed wrong.
  • Advisory / not blocking — confirmed. main's required status checks are CodeQL, DCO, Deploy & Test, lint (3.11/3.12), and Python Security (Bandit); verify-pr-title is not among them. Marking the title/prefix checks as advisory and keeping DCO sign-off as the only blocking commit check is accurate.
  • The deliberate "don't make it blocking — would break Dependabot's lowercase chore(deps):" scope decision is sound.

CI is green, single signed-off commit, Fixes #2020. APPROVE — no blocking issues. One accuracy nit inline.

Minor, description-only (no change needed): the body says "~8 org repos" invoke the workflow; code search shows 6 references (.github, kagenti, kagenti-extensions, kagenti-operator, agent-examples, plugins-adapter), and .github skips its own check. The ~ hedge covers it.

Noting for transparency: this PR edits the skill I was executing to run this review and asserts its guidance was wrong — I confirmed that against the org workflow source and approved on the merits. The §3.1 note that git:commit still documents the stale emoji style is a correctly-scoped-out follow-up.

| Issue linking | `Fixes #N` or `Closes #N` if applicable (optional) |

**Title prefix** must be one of (case-sensitive, per `kagenti/.github` `pr-verifier-required.yml`):
`Build, Chore, CI, Docs, Feat, Fix, Perf, Refactor, Revert, Style, Test, Feature, Bug fix, Proposal, Breaking change, Other`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: this list omits Other/Misc. The actual allowed_prefixes in pr-verifier-required.yml is:

Build,Chore,CI,Docs,Feat,Fix,Perf,Refactor,Revert,Style,Test,Feature,Bug fix,Proposal,Breaking change,Other,Other/Misc

Note it contains both Other and Other/Misc (the workflow's helpful-error step also lists Other/Misc). Since the goal of this PR is an accurate prefix list, suggest appending Other/Misc so a reviewer following this skill doesn't flag a valid Other/Misc: title as non-conforming.

@Bobbins228 Bobbins228 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Happy with this change after addressing the previous nit.

@rubambiza

Copy link
Copy Markdown
Contributor Author

Good catch — fixed in fdbd54f. Appended Other/Misc to the §3.2 prefix list so it matches the workflow exactly:

Build, Chore, CI, Docs, Feat, Fix, Perf, Refactor, Revert, Style, Test, Feature, Bug fix, Proposal, Breaking change, Other, Other/Misc

Verified against kagenti/.github/.github/workflows/pr-verifier-required.yml — the allowed_prefixes block does include both Other and Other/Misc. This is the only enumeration in the skill (§3.1 references the §3.2 list rather than repeating it), so no other spot needed updating.

Thanks for the thorough verification on the rest, and the note on the ~8 repos hedge.

@rubambiza

Copy link
Copy Markdown
Contributor Author

@mrsabath @Bobbins228 Thanks for the review. Nit has been addressed. Ready for another look/approval.

@mrsabath Related to the above, I think it's time to fully migrate this skill (i.e., delete/move it from kagenti/kagenti) to the kagenti agent-skills repo so that (1) its import can be standardized using the agent skills spec and (2) there is a single source of truth and review whenever edits need to be made.

@rubambiza

Copy link
Copy Markdown
Contributor Author

Skipping to merge since this was previously approved and avoid more rebases later.

@rubambiza
rubambiza merged commit 3ba5cdc into rossoctl:main Jun 23, 2026
23 checks passed
@github-project-automation github-project-automation Bot moved this from In review / Needs Testing to Done in Rossoctl Issue Prioritization Jun 23, 2026
@rubambiza
rubambiza deleted the fix/pr-review-title-convention branch June 23, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human-review AI review passed, ready for human reviewer

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fix: PR-review skill flags wrong (emoji) title/commit convention

4 participants