Skip to content

feat: Claude code plugin#2

Open
tolusha wants to merge 1 commit into
mainfrom
skills
Open

feat: Claude code plugin#2
tolusha wants to merge 1 commit into
mainfrom
skills

Conversation

@tolusha

@tolusha tolusha commented Jun 8, 2026

Copy link
Copy Markdown

Summary by CodeRabbit

  • New Features

    • Introduced a new devfile plugin for Claude Code marketplace to create, modify, and review devfile configurations.
  • Documentation

    • Added comprehensive schema reference and usage guide for devfile functionality.
    • Updated README with marketplace listing and installation instructions.

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@openshift-ci

openshift-ci Bot commented Jun 8, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tolusha

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

Details 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

@tolusha tolusha requested a review from elsony June 8, 2026 11:08
@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR introduces a new Claude Code plugin for devfile YAML configuration management. It adds marketplace registration metadata, plugin configuration, comprehensive skill guidance with authoring constraints and override rules, a detailed devfile v2.3.0 schema reference, and updated README with installation instructions.

Changes

Devfile Claude Plugin Introduction

Layer / File(s) Summary
Plugin registration and marketplace metadata
.claude-plugin/marketplace.json, plugins/devfile/.claude-plugin/plugin.json, README.md
Plugin is registered in the marketplace with devfile metadata and category, configured with plugin name and description, and documented with marketplace listing and step-by-step installation instructions.
Devfile skill guide and authoring constraints
plugins/devfile/skills/devfile/SKILL.md
Skill guide defines core usage patterns for devfile generation including default templates and registry-based framework lookups, authoring guidelines for container/volume/image components, variable substitution rules with forbidden targets and undefined-variable handling, reserved environment variable restrictions, and pod/container override mechanics including merge strategy order and restricted properties.
Devfile schema reference documentation
plugins/devfile/skills/devfile/devfile-schema-reference.md
Full Devfile v2.3.0 schema reference with top-level property listings, detailed subsections for metadata, components (container, Kubernetes/OpenShift, image, volume, endpoints), commands (exec, apply, composite), events, projects, starter/dependent projects, and parent devworkspace templates with YAML examples and field constraints.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

A plugin takes shape, with devfiles in sight,
From marketplace registration to schema, all right!
Config and skills and examples so clear,
The devfile dance begins, hip hip cheer! 🐰✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'feat: Claude code plugin' is vague and generic, failing to convey the specific nature of the changes (marketplace configuration, plugin metadata, and devfile skill documentation). Consider a more descriptive title that specifies the main addition, such as 'feat: Add devfile Claude plugin with marketplace configuration and skill documentation' or similar.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch skills

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.

❤️ Share

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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/devfile/skills/devfile/devfile-schema-reference.md`:
- Line 211: Fix the wording and heading consistency in the devworkspace section
intros: change the phrase "sources locations" to "source locations" in the
Projects description and rename any heading labeled "Parents" to "Parent" so it
matches the schema field name `parent`; apply the same edits to the other
occurrences referenced around the headings and paragraph blocks (the lines near
the Projects intro and the sections that mention `parent`) to keep phrasing and
heading names consistent across the file.

In `@README.md`:
- Around line 17-27: The fenced code blocks containing the shell commands
"/plugin marketplace add" and "/plugin install devfile@devfile" are missing a
language identifier; update those three backtick fences to include a shell
language (e.g., bash) so they read ```bash instead of ``` to satisfy
markdownlint MD040 and ensure correct syntax highlighting for the command
examples.
🪄 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: 39026fbe-d986-47e7-b795-da0ef37a883c

📥 Commits

Reviewing files that changed from the base of the PR and between 03801b2 and d7efcec.

📒 Files selected for processing (5)
  • .claude-plugin/marketplace.json
  • README.md
  • plugins/devfile/.claude-plugin/plugin.json
  • plugins/devfile/skills/devfile/SKILL.md
  • plugins/devfile/skills/devfile/devfile-schema-reference.md


## Projects

Projects worked on in the devworkspace, containing names and sources locations

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Tighten wording and heading consistency in section intros.

There are a couple of small phrasing issues (“sources locations”) and the heading “Parents” is inconsistent with the schema field name parent, which can confuse readers.

Suggested patch
-Projects worked on in the devworkspace, containing names and sources locations
+Projects worked on in the devworkspace, containing names and source locations
@@
-Additional projects related to the main project in the devfile, containing names and sources locations
+Additional projects related to the main project in the devfile, containing names and source locations
@@
-## Parents
+## Parent

Also applies to: 250-250, 267-269

🧰 Tools
🪛 LanguageTool

[grammar] ~211-~211: Ensure spelling is correct
Context: ... ## Projects Projects worked on in the devworkspace, containing names and sources locations...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 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 `@plugins/devfile/skills/devfile/devfile-schema-reference.md` at line 211, Fix
the wording and heading consistency in the devworkspace section intros: change
the phrase "sources locations" to "source locations" in the Projects description
and rename any heading labeled "Parents" to "Parent" so it matches the schema
field name `parent`; apply the same edits to the other occurrences referenced
around the headings and paragraph blocks (the lines near the Projects intro and
the sections that mention `parent`) to keep phrasing and heading names
consistent across the file.

Source: Linters/SAST tools

Comment thread README.md
Comment on lines +17 to +27
```
/plugin marketplace add
```

Select "GitHub repository" and enter `devfile/claude-plugin`.

### 2. Install plugins

```
/plugin install devfile@devfile
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add fence languages to command examples.

Both fenced blocks are missing a language identifier, which triggers markdownlint MD040.

Suggested patch
-```
+```bash
 /plugin marketplace add

@@
- +bash
/plugin install devfile@devfile

🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 17-17: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 25-25: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 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 `@README.md` around lines 17 - 27, The fenced code blocks containing the shell
commands "/plugin marketplace add" and "/plugin install devfile@devfile" are
missing a language identifier; update those three backtick fences to include a
shell language (e.g., bash) so they read ```bash instead of ``` to satisfy
markdownlint MD040 and ensure correct syntax highlighting for the command
examples.

Source: Linters/SAST tools

@michael-valdron michael-valdron mentioned this pull request Jun 8, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant