Marketplace Manager
关于
This Claude skill automatically manages the claude-code-plugins marketplace catalog by handling updates, syncing between the source `marketplace.extended.json` and the generated `marketplace.json`, and distributing plugins. It triggers when users mention marketplace updates, catalog syncs, or adding plugins. Use it to maintain catalog integrity within the two-catalog system.
快速安装
Claude Code
推荐/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus-skillsgit clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills.git ~/.claude/skills/Marketplace Manager在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
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.backup -
Run Sync Script
npm run sync-marketplace # or: node scripts/sync-marketplace.cjs -
Validate Output
# Check sync success jq empty .claude-plugin/marketplace.json # Verify plugins count jq '.plugins | length' .claude-plugin/marketplace.json -
Check Diff
git diff .claude-plugin/marketplace.json -
Commit 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:
- Add plugin entries with all required fields
- Update version across plugin + catalog
- Sync marketplace.json
- Validate catalog integrity
- Check for duplicates
- Fix common issues
Output Format
📦 MARKETPLACE UPDATE REPORT
Action: Add plugin "new-plugin"
Location: plugins/productivity/new-plugin/
✅ COMPLETED STEPS:
1. Added entry to marketplace.extended.json
2. Ran npm run sync-marketplace
3. Validated marketplace.json
4. Checked for duplicates: NONE
5. Verified source path exists
📊 MARKETPLACE STATS:
Total plugins: 227 (+1)
Categories: 14
Featured: 3
Latest sync: 2025-10-16 14:30 UTC
✨ Ready to commit:
git add .claude-plugin/marketplace.extended.json .claude-plugin/marketplace.json
git commit -m "feat: Add new-plugin to marketplace"
Repository-Specific Features
For claude-code-plugins repo:
- Manages
claude-code-plugins-plusmarketplace - Handles both extended and CLI catalogs
- Validates against repository structure
- Checks plugin count accuracy
- Ensures featured plugins are quality plugins
Examples
User says: "Add the new security-scanner plugin to marketplace"
I automatically:
- Read plugin.json for metadata
- Add entry to marketplace.extended.json
- Run npm run sync-marketplace
- Validate both catalogs
- Check no duplicates
- Report success
User says: "Sync the marketplace catalog"
I automatically:
- Run npm run sync-marketplace
- Validate marketplace.json generated
- Check git diff
- Report changes
User says: "Update plugin version in marketplace"
I automatically:
- Find plugin entry
- Update version in marketplace.extended.json
- Sync marketplace.json
- Validate versions match
- Report success
GitHub 仓库
相关推荐技能
content-collections
元Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
sglang
元SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
evaluating-llms-harness
测试该Skill通过60+个学术基准测试(如MMLU、GSM8K等)评估大语言模型质量,适用于模型对比、学术研究及训练进度追踪。它支持HuggingFace、vLLM和API接口,被EleutherAI等行业领先机构广泛采用。开发者可通过简单命令行快速对模型进行多任务批量评估。
llamaguard
其他LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。
