marketplace-manager
Automatically manages marketplace catalog updates, syncs marketplace.json, and handles plugin distribution when user mentions marketplace update, sync…
от BbgnsurfTech★ 30 звёзд на GitHub
Установить marketplace-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Marketplace Manager
Purpose
Automatically manages the claude-code-plugins marketplace catalog system, handling updates to marketplace.extended.json, syncing to marketplace.json, and ensuring catalog integrity.
Trigger Keywords
- "update marketplace"
- "sync marketplace" or "sync catalog"
- "add to marketplace"
- "marketplace catalog"
- "update catalog"
- "regenerate marketplace"
Two-Catalog System
Critical Understanding:
marketplace.extended.json (SOURCE OF TRUTH)
├── Full metadata
├── Extended fields (featured, mcpTools, etc.)
└── Edit THIS file manually
↓ npm run sync-marketplace
marketplace.json (GENERATED)
├── CLI-compatible subset
├── Sanitized fields
└── NEVER edit directly
Marketplace Management Tasks
1. Add Plugin to Catalog
When adding new plugin:
// Add to marketplace.extended.json
{
"name": "plugin-name",
"source": "./plugins/category/plugin-name",
"description": "Clear one-line description",
"version": "1.0.0",
"category": "productivity",
"keywords": ["keyword1", "keyword2"],
"author": {
"name": "Author Name",
"email": "[email protected]"
},
"repository": "https://github.com/user/repo",
"featured": false // true for featured plugins
}
Then:
npm run sync-marketplace
2. Update Plugin Version
When bumping version:
- Update
plugins/category/plugin-name/.claude-plugin/plugin.json - Update marketplace.extended.json entry
- Run
npm run sync-marketplace - Validate sync worked:
git diff .claude-plugin/marketplace.json
3. Sync Validation
After sync, verify:
# Check marketplace.json was regenerated
git status .claude-plugin/marketplace.json
# Validate JSON syntax
jq empty .claude-plugin/marketplace.extended.json
jq empty .claude-plugin/marketplace.json
# Check specific plugin entry
jq '.plugins[] | select(.name == "plugin-name")' .claude-plugin/marketplace.json
4. Featured Plugin Management
Mark plugin as featured:
{
"name": "plugin-name",
"featured": true, // Add this field
// ... rest of fields
}
Featured plugins appear first in marketplace.
5. Catalog Integrity Checks
I automatically verify:
- ✅ No duplicate plugin names
- ✅ All source paths exist
- ✅ All plugins have required fields
- ✅ Versions are semantic (x.y.z)
- ✅ Categories are valid
- ✅ JSON is valid
- ✅ Sync is current (no uncommitted changes to marketplace.json)
Valid Categories
productivity, security, testing, deployment, documentation,
analysis, integration, ai, devops, debugging, code-quality,
design, example, api-development, database, crypto,
performance, ai-ml, other
Sync Process
When I sync marketplace:
Backup Current State
cp .claude-plugin/marketplace.json .claude-plugin/marketplace.json.backupRun Sync Script
npm run sync-marketplace # or: node scripts/sync-marketplace.cjsValidate Output
# Check sync success jq empty .claude-plugin/marketplace.json # Verify plugins count jq '.plugins | length' .claude-plugin/marketplace.jsonCheck Diff
git diff .claude-plugin/marketplace.jsonCommit if Valid
git add .claude-plugin/marketplace.extended.json .claude-plugin/marketplace.json git commit -m "chore: Update marketplace catalog"
Sanitized Fields
These fields are REMOVED from marketplace.json (CLI):
featured- Extended metadatamcpTools- Extended metadatapluginCount- Extended metadatapricing- Extended metadatacomponents- Extended metadata
Only add these to marketplace.extended.json
Marketplace Schema
Required fields for every plugin:
{
"name": "string (kebab-case)",
"source": "string (relative path from repo root)",
"description": "string (clear, concise)",
"version": "string (semver: x.y.z)",
"category": "string (from valid list)",
"keywords": "array (at least 2)",
"author": {
"name": "string",
"email": "string (valid email)"
}
}
Optional fields:
{
"repository": "string (GitHub URL)",
"homepage": "string (docs URL)",
"license": "string (MIT, Apache-2.0, etc.)",
"featured": "boolean (extended only)",
"mcpTools": "number (extended only)"
}
Common Issues & Fixes
Issue: Sync fails with schema error
# Check marketplace.extended.json syntax
jq empty .claude-plugin/marketplace.extended.json
# Common errors:
# - Missing comma
# - Invalid field type
# - Duplicate plugin name
Issue: marketplace.json out of sync
# Regenerate from source
npm run sync-marketplace
# If still fails, check git status
git status .claude-plugin/
Issue: Plugin not appearing
# Verify entry exists
jq '.plugins[] | select(.name == "plugin-name")' .claude-plugin/marketplace.extended.json
# Check source path
ls -la ./plugins/category/plugin-name
Automation
I can automatically:
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Write - 03
Edit - 04
Grep - 05
Bash
FAQ
Что делает скилл marketplace-manager?
Automatically manages marketplace catalog updates, syncs marketplace.json, and handles plugin distribution when user mentions marketplace update, sync catalog, or add to marketplace. Specific to claude-code-plugins two-catalog system.
Как установить скилл marketplace-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл marketplace-manager запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…