Claude plugin oadp cli#209
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: NicholasYancey 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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds marketplace and plugin manifests, workflow validation, and README and skill documentation for ChangesOADP CLI plugin packaging and docs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@plugins/oadp-cli/README.md`:
- Around line 10-16: The markdown file-tree block in README.md is missing a
language label, causing markdownlint MD040. Update the opening fence for the
tree snippet to use a text label so the fenced code block is properly
identified; this change should be made in the README.md content that shows the
plugin structure.
In `@plugins/oadp-cli/skills/backup-restore/SKILL.md`:
- Around line 90-91: The CLI examples in SKILL.md are too broad and imply a
top-level verb-noun command that does not exist. Update the backup-restore usage
text to keep the noun-verb example for `oc oadp backup create` and narrow the
verb-noun example to the `nonadmin` command path, using the backup-restore skill
section as the place to adjust the documented command forms.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 3d456a38-97a8-4baf-9c22-e60664852976
📒 Files selected for processing (4)
.claude-plugin/marketplace.jsonplugins/oadp-cli/.claude-plugin/plugin.jsonplugins/oadp-cli/README.mdplugins/oadp-cli/skills/backup-restore/SKILL.md
…cli, and removed unneeded info
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.github/workflows/test.yml (1)
31-32: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick winPin the Claude CLI version in CI.
npm install -g@anthropic-ai/claude-code`` makes this job nondeterministic: a new upstream release can break validation or silently change what gets validated between runs. Please install a vetted version explicitly, and preferably pair it withactions/setup-nodeso the job is not coupled to the runner image.Suggested fix
+ - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: '22' + - name: Install Claude CLI - run: npm install -g `@anthropic-ai/claude-code` + run: npm install -g `@anthropic-ai/claude-code`@<validated-version>🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/workflows/test.yml around lines 31 - 32, The CI step that installs Claude CLI is unpinned and can change behavior between runs; update the workflow job using the Install Claude CLI step to install an explicit vetted `@anthropic-ai/claude-code` version instead of the floating latest, and preferably add actions/setup-node before that step so the Node environment is controlled rather than inherited from the runner image.Source: Linters/SAST tools
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/test.yml:
- Around line 29-32: Disable the persisted credentials from actions/checkout
before the Install Claude CLI step so the job token is not left in local git
config. Update the workflow around the actions/checkout and Install Claude CLI
steps to turn off credential persistence since this job only needs to read the
repo and then runs third-party npm code. Refer to the checkout step and the
Install Claude CLI step to apply the change in the same job sequence.
---
Nitpick comments:
In @.github/workflows/test.yml:
- Around line 31-32: The CI step that installs Claude CLI is unpinned and can
change behavior between runs; update the workflow job using the Install Claude
CLI step to install an explicit vetted `@anthropic-ai/claude-code` version instead
of the floating latest, and preferably add actions/setup-node before that step
so the Node environment is controlled rather than inherited from the runner
image.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 31aacfa0-9266-484e-97f4-a249f987adf5
📒 Files selected for processing (4)
.github/workflows/test.ymlplugins/oadp-cli/.claude-plugin/plugin.jsonplugins/oadp-cli/README.mdplugins/oadp-cli/skills/backup-restore/SKILL.md
✅ Files skipped from review due to trivial changes (3)
- plugins/oadp-cli/.claude-plugin/plugin.json
- plugins/oadp-cli/skills/backup-restore/SKILL.md
- plugins/oadp-cli/README.md
Why the changes were made
Adds a Claude Code plugin under plugins/oadp-cli/ so assistants recommend oc oadp / kubectl oadp for OpenShift backup and restore instead of generic oc/kubectl or manual CRD edits.
How to test the changes made
Restart Claude Code or run /reload-plugins, then:
Expect responses to point to oc oadp setup and admin or nonadmin commands.
After merge use Claude marketplace
Summary by CodeRabbit
New Features
backup-restoreskill (/oadp-cli:backup-restore).Documentation
Tests / CI