Update a private marketplace to the latest version
Updates private marketplaces by pulling latest git changes and clearing plugin cache.
/plugin marketplace add krafton-ax/claude-plugin-private-marketplace-helper/plugin install krafton-ax-private-marketplace-helper-plugins-private-marketplace-helper@krafton-ax/claude-plugin-private-marketplace-helper[marketplace-name]Update a private marketplace by pulling the latest changes from its git repository.
If a marketplace name is provided, update that specific marketplace.
If no argument provided, list all installed marketplaces and ask which one to update:
ls ~/.claude/plugins/marketplaces/
Present the list and ask: "Which marketplace would you like to update? (or 'all' to update all)"
Check that the marketplace directory exists:
ls ~/.claude/plugins/marketplaces/<marketplace-name> 2>/dev/null
If not found:
Marketplace '<name>' not found.
Installed marketplaces:
- marketplace-1
- marketplace-2
Use: /private-marketplace-helper:add <github-url> to add a new marketplace.
Navigate to the marketplace directory and pull:
cd ~/.claude/plugins/marketplaces/<marketplace-name> && git pull
If pull fails due to local changes:
cd ~/.claude/plugins/marketplaces/<marketplace-name> && git fetch origin && git reset --hard origin/HEAD
Ask user for confirmation before running hard reset: "Local changes detected. Reset to remote version? (This will discard local changes)"
If pull fails due to authentication:
ssh -T git@github.comRemove cached plugin versions from the marketplace to ensure fresh reinstall:
rm -rf ~/.claude/plugins/cache/*@<marketplace-name>
This deletes any cached plugin directories that end with @<marketplace-name>.
Read ~/.claude/plugins/known_marketplaces.json and update the lastUpdated timestamp for this marketplace:
{
"<marketplace-name>": {
"lastUpdated": "<current-ISO-timestamp>"
}
}
Only update the lastUpdated field, preserve all other existing fields.
Check the current version in marketplace.json:
cat ~/.claude/plugins/marketplaces/<name>/.claude-plugin/marketplace.json
Success output:
Marketplace '<name>' updated successfully!
Current plugins:
- plugin-name-1 (v1.0.0)
- plugin-name-2 (v2.1.0)
To reinstall a plugin with the latest version:
claude plugin install <plugin-name>@<marketplace-name>
If user chose 'all', loop through each marketplace and:
Summary output:
Update complete!
[OK] marketplace-1 - updated
[OK] marketplace-2 - already up to date
[FAIL] marketplace-3 - authentication failed
Failed updates may need manual intervention.
/updateCrées la documentation pour la fonctionnalité en cours. Mets à jour le readme global du projet si nécessaire. Lie les documents entre eux pour ne pas avoir de documentation orpheline. La documentation est générée dans les répertoire de documentation du projet.