diff --git a/README.md b/README.md index bf0a031..b512660 100644 --- a/README.md +++ b/README.md @@ -57,15 +57,22 @@ project's `.claude/settings.json`: { "extraKnownMarketplaces": { "pdat": { - "source": { "source": "url", "url": "https://git.pda.cz/PDAT/claude-plugins.git" } + "source": { "source": "git", "url": "https://git.pda.cz/PDAT/claude-plugins.git" } } }, "enabledPlugins": { "pdat-swift-practice@pdat": true } } ``` -The git-based source types are `github`, `url` and `git-subdir`; there is -no `git` type. For a self-hosted host, `url` is the one. +Two different things are called a source, and they take different types: + +- **Marketplace source** — where the catalogue itself comes from. That is + the block above, and for a git repository the type is `git`. It is what + `/plugin marketplace add` writes into `known_marketplaces.json`. +- **Plugin source** — where an individual plugin listed in + `marketplace.json` comes from: `github`, `url`, `git-subdir`, `npm`, + `archive` or `command`. Ours is a relative path into this repository, so + it needs none of them. Anyone who clones that project gets the skill without installing anything.