Skip to content

Fixes #29192: Install the OpenMetadata skills plugin from a local Claude Code marketplace - #38826

Merged
Vishnuujain merged 6 commits into
open-metadata:mainfrom
iamkiayun:fix/29192-claude-skills-marketplace
Nov 27, 2026
Merged

Vishnuujain merged 6 commits into
open-metadata:mainfrom
iamkiayun:fix/29192-claude-skills-marketplace

Conversation

@iamkiayun

@iamkiayun iamkiayun commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes

Fixes #29192

Register the checkout’s skills directory as a local marketplace and document the two install commands. Let Claude Code load the standard hooks file once. Register the existing skill directories so a session outside the checkout can use the connector and workflow skills. Each skill supplies its own slash command. The harness warns when a skill directory is missing from the manifest.

Type of change

Bug fix

Tests

Reproduced the original install failure on Claude Code 2.1.117. Tested the README instructions with clean configurations on 2.1.117, 2.1.158 and 2.1.220. Each fresh session outside the checkout discovered 26 unique skills and six agents. Invoking /openmetadata-skills:scaffold-connector sent the canonical connector instructions and one copy of the startup workflow to a local test endpoint. No live model was used.

UI screen recording

Not applicable. This change affects Claude Code plugin installation.


Summary by Gitar

  • Plugin manifest:
    • Added explicit skills list to plugin.json so installed plugin exposes top-level and vendored skills
  • Harness check:
    • Added check_plugin_skills warning when a skill directory is missing from the manifest
  • Test skill:
    • Added --database mysql|postgresql argument to test-locally skill
  • Marketplace:
    • Added marketplace.json registering ./skills as a local Claude Code marketplace
  • Skill naming:
    • Renamed scaffold-connector to connector-building and playwright-test to playwright to match directory names
  • Teardown and reset:
    • test-locally now stops the selected Compose stack and removes its volumes, with per-database Compose and search service selection
  • Decision record:
    • Added decision record for loading canonical skills from the checkout

This will update automatically on new commits.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

Comment thread skills/.claude-plugin/plugin.json Resolved
Comment thread scripts/harness/check_harness.py Resolved
Comment thread skills/.claude-plugin/plugin.json Resolved
@Vishnuujain Vishnuujain self-assigned this Nov 27, 2026

@Vishnuujain Vishnuujain 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.

@iamkiayun Thanks for the PR, the marketplace fix works. I reproduced the error on main, and the new README steps install all 26 skills on Claude Code 2.1.332. Two small things inline.

"typescript"
],
"hooks": "./hooks/hooks.json"
"skills": [

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.

Could we use "skills": ["./", "./vendor"] instead of the list? On 2.1.332 it loads all 26 skills with the same names as in-repo. With the list, /connector-building and /playwright in the workflow skill don't work after install. If 2.1.117 rejects ./, can you share the error?

Comment thread skills/test-locally/SKILL.md Outdated
**Full build**:
```bash
./docker/run_local_docker.sh -m ui -d mysql -s false -i true -r true
./docker/run_local_docker.sh -m ui -d "$database" -s false -i true -r false

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.

Could we keep -r true here and down -v at L43? With the new flags, rebuilds and teardowns keep the old DB data, and that's outside this fix.

@gitar-bot

gitar-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk 3 closed / 3 findings

The database-selectable test workflow removes Compose-managed volumes and resets shared local database files, which could erase developers’ test data.

Registers the checkout's skills directory as a local Claude Code marketplace and adds an explicit skills list to plugin.json so top-level and vendored skills load in fresh sessions. Resolved the dead skills/commands/*.md files left by commands: [], the skill-discovery check that ignored manifest entries with no skill directory, and the missing decision record for the plugin's install id and skill-only rule. No open issues remain.

✅ 3 closed
✅ Quality: commands: [] leaves five skills/commands/*.md files dead

📄 skills/.claude-plugin/plugin.json:48 📄 skills/test-locally/SKILL.md:5 📄 skills/test-locally/SKILL.md:24
Setting "commands": [] in skills/.claude-plugin/plugin.json stops Claude Code from loading skills/commands/ (connector-review, connector-standards, pr-checklist, scaffold-connector, test-locally). All five files stay in the tree. Nothing marks them as unused, so a contributor who edits one (for example the --database argument in commands/test-locally.md, which this PR had to copy into the skill by hand) changes nothing. Since each skill now supplies its own slash command, delete skills/commands/. Otherwise, add a harness warning when that directory is non-empty while commands is empty.

✅ Edge Case: skill-discovery check ignores manifest entries with no skill directory

📄 scripts/harness/check_harness.py:474-483
check_plugin_skills only warns about directories missing from the manifest (required.difference(declared)). If a skill directory is renamed or deleted, plugin.json keeps a skills path that points at nothing, and the check stays silent. The installed plugin then points at a missing skill path. Also warn about the reverse difference.

✅ Quality: No decision record for the plugin's install id and skill-only rule

📄 skills/.claude-plugin/plugin.json:22-36 📄 skills/.claude-plugin/marketplace.json:2 📄 skills/.claude-plugin/marketplace.json:11 📄 skills/README.md:19-26
This PR introduces a contract that users and docs depend on: the install id openmetadata-skills@openmetadata-skills and the /openmetadata-skills:<skill> command namespace. It also decides that the plugin exposes skills only through an explicit manifest list and loads no commands/. The description says "Each skill supplies its own slash command". README.md covers the manifest-listing step, but no record in docs/decisions/ states the rule, and nothing in the tree says that commands/ is intentionally not loaded or why hooks must not be declared. Proposed record sentence: "The Claude Code plugin is installed from the checkout's local openmetadata-skills marketplace as openmetadata-skills@openmetadata-skills. skills/.claude-plugin/plugin.json lists every top-level skill directory plus ./vendor, loads no commands/ (each skill supplies its own slash command), and does not declare hooks/hooks.json, which Claude Code loads by default." Name check_harness.py skill-discovery as the guard.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@iamkiayun

Copy link
Copy Markdown
Contributor Author

@Vishnuujain I tried ["./", "./vendor"] on both Claude Code versions. On 2.1.117 the install succeeds, but it discovers only the three vendored skills. On 2.1.332 it finds all 26. I kept the explicit list and aligned the skill names with their directories. Fresh installs on both versions now find all 26, and I verified that /openmetadata-skills:connector-building and /openmetadata-skills:playwright both run outside the checkout.

I also restored -r true for rebuilds and down -v for teardown, and verified the PostgreSQL reset. Both fixes are ready for another look at 369b50215.

The downstream compatibility check still fails. Its public report shows the Maven command and exit code 1. Could you share the first Maven error from the downstream log, or rerun the check on this head?

@Vishnuujain
Vishnuujain enabled auto-merge (squash) November 27, 2026 16:59
@Vishnuujain
Vishnuujain merged commit 0014f22 into open-metadata:main Nov 27, 2026
33 checks passed
Vishnuujain added a commit that referenced this pull request Nov 30, 2026
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.

Claude plugin installation fails with "Plugin "skills" not found in any configured marketplace"

2 participants