Skip to content

Commit 42d9f73

Browse files
committed
fix(plugin): move marketplace.json to repo root so GitHub install works
Follow-up to #374. The nested location (packages/plugin/.claude-plugin/marketplace.json) still prevented the GitHub-URL install flow because the CLI always looks for '<repo-root>/.claude-plugin/marketplace.json' — '--sparse' limits checkout scope but does not change the manifest lookup path. Evidence of the remaining bug after #374: $ claude plugin marketplace add https://github.com/toss/react-simplikit \ --sparse packages/plugin ✘ Failed to add marketplace: Marketplace file not found at <temp>/.claude-plugin/marketplace.json Changes: - Create .claude-plugin/marketplace.json at the repo root with 'source': './packages/plugin' pointing at the plugin - Delete the redundant packages/plugin/.claude-plugin/marketplace.json - Update the README install command to sparse-checkout both the root manifest and the plugin directory: --sparse .claude-plugin packages/plugin Verified locally (using the repo-root path, which mirrors what the clone looks like after merge): claude plugin validate . → ✓ Passed claude plugin marketplace add <repo-root> --scope local → ✓ Added claude plugin install react-design-philosophy@... → ✓ Installed, enabled
1 parent 77fe507 commit 42d9f73

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/plugin/.claude-plugin/marketplace.json renamed to .claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"plugins": [
88
{
99
"name": "react-design-philosophy",
10-
"source": "./"
10+
"source": "./packages/plugin"
1111
}
1212
]
1313
}

packages/plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ React design philosophy plugin for Claude Code. Includes skills for reviewing an
77
```bash
88
# 1. Add this plugin's marketplace (sparse-checkout keeps the clone minimal)
99
claude plugin marketplace add https://github.com/toss/react-simplikit \
10-
--sparse packages/plugin
10+
--sparse .claude-plugin packages/plugin
1111

1212
# 2. Install the plugin
1313
claude plugin install react-design-philosophy@react-design-philosophy

0 commit comments

Comments
 (0)