NO-JIRA: /microcopy-review improvements#16026
NO-JIRA: /microcopy-review improvements#16026logonoff wants to merge 1 commit intoopenshift:mainfrom
/microcopy-review improvements#16026Conversation
|
/label px-approved |
|
@logonoff: This pull request explicitly references no jira issue. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
Tried this out and verified that it reads more files now before making a review /verified by @logonoff |
|
@logonoff: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: logonoff The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@logonoff: This pull request explicitly references no jira issue. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/verified by @logonoff |
|
@logonoff: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
📝 WalkthroughWalkthroughThe changes update a microcopy review skill configuration file to enhance how style guide references are accessed and utilized. The modification expands available automation tools and introduces a user prompt for detecting outdated IBM Style Guide versions (>2 years old). Step 3 retrieval logic replaces fixed references with comprehensive sources including PatternFly UX writing guides and Red Hat supplementary guidance, with dynamic content-design document retrieval instructions. Step 4 and related sections update source references accordingly. The final IBM Style Guide reference path is simplified from a longer relative path to 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.claude/skills/microcopy-review/SKILL.md:
- Around line 96-97: Replace the grammatically incorrect phrase "whether if the
file is up to date by checking the copyright year" with a correct variant such
as "whether the file is up to date by checking the copyright year" (or use "if
the file is up to date..." consistently) in the SKILL.md text that contains the
phrase "whether if the file is up to date by checking the copyright year. If
outdated by more than two years, inform the user..." so the sentence reads
correctly.
🧹 Nitpick comments (2)
.claude/skills/microcopy-review/SKILL.md (2)
96-97: Clarify the copyright year extraction logic.The step mentions "checking the copyright year" to determine if the file is outdated, but doesn't specify how to extract this year from the text file. The implementation should include:
- Which pattern to search for (e.g., "Copyright © 2024" or similar)
- How to handle multiple copyright years
- Fallback behavior if no copyright year is found
💡 Suggested implementation guidance
Add explicit instructions after line 95:
**If status is EXISTS**: Read `.claude/skills/microcopy-review/references/ibm-style-guide.txt`. First, determine whether the file is up to date by: 1. Extract the copyright year by searching for patterns like "Copyright © YYYY" or "Copyright YYYY" 2. Compare the extracted year with the current year (2026) 3. If the difference is more than two years, mark as outdated 4. If no copyright year is found, assume the file is outdated and prompt the user If outdated, inform the user that the file may be outdated and use `AskUserQuestion` with the following prompt:
116-117: Consider varying sentence structure for readability.Three successive sentences begin with "If". While functionally correct, varying the structure slightly improves flow.
✨ Optional readability improvement
-If user selects "Use it anyway": Proceed with the review using the existing file. If the user selects "Update file": Prompt -the user to provide a new IBM Style Guide PDF using the same prompt as in the NOT FOUND case below. +When the user selects "Use it anyway", proceed with the review using the existing file. When selecting "Update file", prompt +the user to provide a new IBM Style Guide PDF using the same prompt as in the NOT FOUND case below.As per coding guidelines, LanguageTool flagged repeated sentence beginnings.
- Increased context of PatternFly and RH guidelines (reads whole directories now) - Fixed inline execution not working for detection of style guide txt - Check for age of style guide txt before using it
|
/verified by @logonoff |
|
@logonoff: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@logonoff: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Summary by CodeRabbit
New Features
Updates