refactor: 通用技能按类别拆分为独立目录
skills/ → skills-dev(9), skills-req(10), skills-ops(4), skills-integration(8), skills-biz(4), skills-workflow(7) generate-marketplace.py 改为自动扫描所有 skills-* 目录。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,12 +7,12 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Custom Claude Code plugins for development workflows, DevOps, and business operations",
|
"description": "Custom Claude Code plugins for development workflows, DevOps, and business operations",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"pluginRoot": "./skills"
|
"pluginRoot": "."
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
"name": "agent-swarm-plugin",
|
"name": "agent-swarm-plugin",
|
||||||
"source": "./skills/agent-swarm-plugin",
|
"source": "./skills-dev/agent-swarm-plugin",
|
||||||
"description": "Multi-agent orchestration using OpenAI Swarm patterns. Coordinate specialized agents for complex development workflows with handoffs and context sharing.",
|
"description": "Multi-agent orchestration using OpenAI Swarm patterns. Coordinate specialized agents for complex development workflows with handoffs and context sharing.",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "utility",
|
"category": "utility",
|
||||||
@@ -22,73 +22,9 @@
|
|||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "ai-proj-plugin",
|
|
||||||
"source": "./skills/ai-proj-plugin",
|
|
||||||
"description": "AI project management via REST API. Works out of the box!",
|
|
||||||
"version": "2.0.1",
|
|
||||||
"category": "productivity",
|
|
||||||
"keywords": [
|
|
||||||
"project-management",
|
|
||||||
"tasks",
|
|
||||||
"requirements"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "biz-contract-plugin",
|
|
||||||
"source": "./skills/biz-contract-plugin",
|
|
||||||
"description": "商务合同撰写。支持多种合同类型:软件订阅合同、软件定制开发合同、物流合同、销售服务合同、贸易合同等。当用户提到合同、协议、签约、合作协议相关任务时自动激活。",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "business",
|
|
||||||
"keywords": [
|
|
||||||
"business",
|
|
||||||
"planning",
|
|
||||||
"contracts"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "biz-ops-plugin",
|
|
||||||
"source": "./skills/biz-ops-plugin",
|
|
||||||
"description": "商务运营技能。支持商业计划书(BP)撰写和商务合同起草。当用户提到商业计划书、BP、融资计划、商业模式、合同、协议、签约等相关任务时自动激活。",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "devops",
|
|
||||||
"keywords": [
|
|
||||||
"devops",
|
|
||||||
"deployment",
|
|
||||||
"operations"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "biz-plan-plugin",
|
|
||||||
"source": "./skills/biz-plan-plugin",
|
|
||||||
"description": "Plugin for biz-plan",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "business",
|
|
||||||
"keywords": [
|
|
||||||
"business",
|
|
||||||
"planning",
|
|
||||||
"contracts"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "data-excel-plugin",
|
|
||||||
"source": "./skills/data-excel-plugin",
|
|
||||||
"description": "Plugin for data-excel",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "utility",
|
|
||||||
"keywords": [
|
|
||||||
"utility",
|
|
||||||
"tools"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "dev-arch-plugin",
|
"name": "dev-arch-plugin",
|
||||||
"source": "./skills/dev-arch-plugin",
|
"source": "./skills-dev/dev-arch-plugin",
|
||||||
"description": "Plugin for dev-arch",
|
"description": "Plugin for dev-arch",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
@@ -101,7 +37,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dev-coding-plugin",
|
"name": "dev-coding-plugin",
|
||||||
"source": "./skills/dev-coding-plugin",
|
"source": "./skills-dev/dev-coding-plugin",
|
||||||
"description": "Plugin for dev-coding",
|
"description": "Plugin for dev-coding",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
@@ -114,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dev-plugin",
|
"name": "dev-plugin",
|
||||||
"source": "./skills/dev-plugin",
|
"source": "./skills-dev/dev-plugin",
|
||||||
"description": "Plugin for dev",
|
"description": "Plugin for dev",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
@@ -127,7 +63,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dev-test-plugin",
|
"name": "dev-test-plugin",
|
||||||
"source": "./skills/dev-test-plugin",
|
"source": "./skills-dev/dev-test-plugin",
|
||||||
"description": "软件测试技能。用于单元测试、集成测试、E2E测试、测试用例设计。支持 Go、Vue、React、iOS、Android 等多平台测试。",
|
"description": "软件测试技能。用于单元测试、集成测试、E2E测试、测试用例设计。支持 Go、Vue、React、iOS、Android 等多平台测试。",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
@@ -138,84 +74,9 @@
|
|||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "doubao-voice-plugin",
|
|
||||||
"source": "./skills/doubao-voice-plugin",
|
|
||||||
"description": "Doubao (豆包) Voice API integration for TTS and ASR",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "utility",
|
|
||||||
"keywords": [
|
|
||||||
"utility",
|
|
||||||
"tools"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "executing-plans-plugin",
|
|
||||||
"source": "./skills/executing-plans-plugin",
|
|
||||||
"description": "Plugin for executing-plans",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "utility",
|
|
||||||
"keywords": [
|
|
||||||
"utility",
|
|
||||||
"tools"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu-bitable-plugin",
|
|
||||||
"source": "./skills/feishu-bitable-plugin",
|
|
||||||
"description": "飞书多维表格操作。用于记录增删改查、批量操作、筛选排序、数据同步。当需要操作飞书多维表格时使用。",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "integration",
|
|
||||||
"keywords": [
|
|
||||||
"integration",
|
|
||||||
"automation",
|
|
||||||
"productivity"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu-docx-plugin",
|
|
||||||
"source": "./skills/feishu-docx-plugin",
|
|
||||||
"description": "飞书云文档操作。用于创建、编辑云文档,插入内容块,会议纪要生成。当需要操作飞书云文档时使用。",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "integration",
|
|
||||||
"keywords": [
|
|
||||||
"integration",
|
|
||||||
"automation",
|
|
||||||
"productivity"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu-plugin",
|
|
||||||
"source": "./skills/feishu-plugin",
|
|
||||||
"description": "飞书多维表格快捷操作。通过自然语言实现多维表格的增删改查、数据同步、批量操作等功能。当用户提到飞书、多维表格、Bitable、飞书表格相关任务时自动激活。",
|
|
||||||
"version": "1.1.0",
|
|
||||||
"category": "integration",
|
|
||||||
"keywords": [
|
|
||||||
"integration",
|
|
||||||
"automation",
|
|
||||||
"productivity"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "finance-plugin",
|
|
||||||
"source": "./skills/finance-plugin",
|
|
||||||
"description": "Plugin for finance",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "utility",
|
|
||||||
"keywords": [
|
|
||||||
"utility",
|
|
||||||
"tools"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "finishing-a-development-branch-plugin",
|
"name": "finishing-a-development-branch-plugin",
|
||||||
"source": "./skills/finishing-a-development-branch-plugin",
|
"source": "./skills-dev/finishing-a-development-branch-plugin",
|
||||||
"description": "Plugin for finishing-a-development-branch",
|
"description": "Plugin for finishing-a-development-branch",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "utility",
|
"category": "utility",
|
||||||
@@ -227,7 +88,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "frontend-design-plugin",
|
"name": "frontend-design-plugin",
|
||||||
"source": "./skills/frontend-design-plugin",
|
"source": "./skills-dev/frontend-design-plugin",
|
||||||
"description": "Plugin for frontend-design",
|
"description": "Plugin for frontend-design",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
@@ -240,7 +101,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "gitea-plugin",
|
"name": "gitea-plugin",
|
||||||
"source": "./skills/gitea-plugin",
|
"source": "./skills-dev/gitea-plugin",
|
||||||
"description": "Gitea 代码托管与 CI/CD 管理。用于 Gitea Actions workflow 管理、Runner 管理、PR 操作、仓库配置。",
|
"description": "Gitea 代码托管与 CI/CD 管理。用于 Gitea Actions workflow 管理、Runner 管理、PR 操作、仓库配置。",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "utility",
|
"category": "utility",
|
||||||
@@ -250,60 +111,9 @@
|
|||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "openclaw-ops-plugin",
|
|
||||||
"source": "./skills/openclaw-ops-plugin",
|
|
||||||
"description": "Plugin for openclaw-ops",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "devops",
|
|
||||||
"keywords": [
|
|
||||||
"devops",
|
|
||||||
"deployment",
|
|
||||||
"operations"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "openclaw-plugin",
|
|
||||||
"source": "./skills/openclaw-plugin",
|
|
||||||
"description": "OpenClaw (龙虾) - Remote AI compute orchestration system. Dispatches requirements to Claude Code instances on remote machines, monitors execution, and aggregates results.",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "utility",
|
|
||||||
"keywords": [
|
|
||||||
"utility",
|
|
||||||
"tools"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ops-servers-plugin",
|
|
||||||
"source": "./skills/ops-servers-plugin",
|
|
||||||
"description": "Plugin for ops-servers",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "devops",
|
|
||||||
"keywords": [
|
|
||||||
"devops",
|
|
||||||
"deployment",
|
|
||||||
"operations"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ops-tools-plugin",
|
|
||||||
"source": "./skills/ops-tools-plugin",
|
|
||||||
"description": "Plugin for ops-tools",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "devops",
|
|
||||||
"keywords": [
|
|
||||||
"devops",
|
|
||||||
"deployment",
|
|
||||||
"operations"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "pull-request-plugin",
|
"name": "pull-request-plugin",
|
||||||
"source": "./skills/pull-request-plugin",
|
"source": "./skills-dev/pull-request-plugin",
|
||||||
"description": "Plugin for pr",
|
"description": "Plugin for pr",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -315,34 +125,20 @@
|
|||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "read-session-plugin",
|
"name": "executing-plans-plugin",
|
||||||
"source": "./skills/read-session-plugin",
|
"source": "./skills-req/executing-plans-plugin",
|
||||||
"description": "Plugin for read-session",
|
"description": "Plugin for executing-plans",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "workflow",
|
"category": "utility",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"session",
|
"utility",
|
||||||
"workflow",
|
"tools"
|
||||||
"productivity"
|
|
||||||
],
|
|
||||||
"strict": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "reload-session-plugin",
|
|
||||||
"source": "./skills/reload-session-plugin",
|
|
||||||
"description": "Plugin for reload-session",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"category": "workflow",
|
|
||||||
"keywords": [
|
|
||||||
"session",
|
|
||||||
"workflow",
|
|
||||||
"productivity"
|
|
||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-commands-plugin",
|
"name": "req-commands-plugin",
|
||||||
"source": "./skills/req-commands-plugin",
|
"source": "./skills-req/req-commands-plugin",
|
||||||
"description": "需求命令详细参考。含撰写命令(new/draft/edit/check/split/history/compare)和流程命令(submit/review/phase/next/deploy/done)。",
|
"description": "需求命令详细参考。含撰写命令(new/draft/edit/check/split/history/compare)和流程命令(submit/review/phase/next/deploy/done)。",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -355,7 +151,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-deploy-plugin",
|
"name": "req-deploy-plugin",
|
||||||
"source": "./skills/req-deploy-plugin",
|
"source": "./skills-req/req-deploy-plugin",
|
||||||
"description": "Plugin for req-deploy",
|
"description": "Plugin for req-deploy",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "devops",
|
"category": "devops",
|
||||||
@@ -368,7 +164,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-dev-plugin",
|
"name": "req-dev-plugin",
|
||||||
"source": "./skills/req-dev-plugin",
|
"source": "./skills-req/req-dev-plugin",
|
||||||
"description": "Plugin for req-dev",
|
"description": "Plugin for req-dev",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
@@ -381,7 +177,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-plugin",
|
"name": "req-plugin",
|
||||||
"source": "./skills/req-plugin",
|
"source": "./skills-req/req-plugin",
|
||||||
"description": "需求工作流管理入口。用于 /req 命令使用、需求生命周期管理、需求撰写(含草稿门禁)。",
|
"description": "需求工作流管理入口。用于 /req 命令使用、需求生命周期管理、需求撰写(含草稿门禁)。",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -394,7 +190,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-prd-plugin",
|
"name": "req-prd-plugin",
|
||||||
"source": "./skills/req-prd-plugin",
|
"source": "./skills-req/req-prd-plugin",
|
||||||
"description": "Plugin for req-prd",
|
"description": "Plugin for req-prd",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -407,7 +203,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-review-plugin",
|
"name": "req-review-plugin",
|
||||||
"source": "./skills/req-review-plugin",
|
"source": "./skills-req/req-review-plugin",
|
||||||
"description": "PRD 评审方法论。用于需求评审、PRD 文档审查、评审意见编写。当执行 /req review 或需要评审 PRD 文档时使用。",
|
"description": "PRD 评审方法论。用于需求评审、PRD 文档审查、评审意见编写。当执行 /req review 或需要评审 PRD 文档时使用。",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -420,7 +216,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-test-gate-plugin",
|
"name": "req-test-gate-plugin",
|
||||||
"source": "./skills/req-test-gate-plugin",
|
"source": "./skills-req/req-test-gate-plugin",
|
||||||
"description": "测试与质量门禁制度。覆盖需求级测试(Gates 1-5,含前后端联调+视觉验证)、部署级验证(Deploy Gates)、持续回归(Regression)。",
|
"description": "测试与质量门禁制度。覆盖需求级测试(Gates 1-5,含前后端联调+视觉验证)、部署级验证(Deploy Gates)、持续回归(Regression)。",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -433,7 +229,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "req-workflow-plugin",
|
"name": "req-workflow-plugin",
|
||||||
"source": "./skills/req-workflow-plugin",
|
"source": "./skills-req/req-workflow-plugin",
|
||||||
"description": "需求完整工作流。用于从创建到归档的完整流程、Hook 自动同步、测试环境流程。当需要了解需求完整生命周期或同步策略时使用。",
|
"description": "需求完整工作流。用于从创建到归档的完整流程、Hook 自动同步、测试环境流程。当需要了解需求完整生命周期或同步策略时使用。",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -446,7 +242,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "requirement-plugin",
|
"name": "requirement-plugin",
|
||||||
"source": "./skills/requirement-plugin",
|
"source": "./skills-req/requirement-plugin",
|
||||||
"description": "[已废弃] 需求撰写功能已合并到 req-plugin。请使用 /req 命令。",
|
"description": "[已废弃] 需求撰写功能已合并到 req-plugin。请使用 /req 命令。",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"category": "productivity",
|
"category": "productivity",
|
||||||
@@ -458,47 +254,122 @@
|
|||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "save-session-plugin",
|
"name": "openclaw-ops-plugin",
|
||||||
"source": "./skills/save-session-plugin",
|
"source": "./skills-ops/openclaw-ops-plugin",
|
||||||
"description": "Plugin for save-session",
|
"description": "Plugin for openclaw-ops",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "workflow",
|
"category": "devops",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"session",
|
"devops",
|
||||||
"workflow",
|
"deployment",
|
||||||
|
"operations"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "openclaw-plugin",
|
||||||
|
"source": "./skills-ops/openclaw-plugin",
|
||||||
|
"description": "OpenClaw (龙虾) - Remote AI compute orchestration system. Dispatches requirements to Claude Code instances on remote machines, monitors execution, and aggregates results.",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "utility",
|
||||||
|
"keywords": [
|
||||||
|
"utility",
|
||||||
|
"tools"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ops-servers-plugin",
|
||||||
|
"source": "./skills-ops/ops-servers-plugin",
|
||||||
|
"description": "Plugin for ops-servers",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "devops",
|
||||||
|
"keywords": [
|
||||||
|
"devops",
|
||||||
|
"deployment",
|
||||||
|
"operations"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ops-tools-plugin",
|
||||||
|
"source": "./skills-ops/ops-tools-plugin",
|
||||||
|
"description": "Plugin for ops-tools",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "devops",
|
||||||
|
"keywords": [
|
||||||
|
"devops",
|
||||||
|
"deployment",
|
||||||
|
"operations"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "data-excel-plugin",
|
||||||
|
"source": "./skills-integration/data-excel-plugin",
|
||||||
|
"description": "Plugin for data-excel",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "utility",
|
||||||
|
"keywords": [
|
||||||
|
"utility",
|
||||||
|
"tools"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "doubao-voice-plugin",
|
||||||
|
"source": "./skills-integration/doubao-voice-plugin",
|
||||||
|
"description": "Doubao (豆包) Voice API integration for TTS and ASR",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "utility",
|
||||||
|
"keywords": [
|
||||||
|
"utility",
|
||||||
|
"tools"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "feishu-bitable-plugin",
|
||||||
|
"source": "./skills-integration/feishu-bitable-plugin",
|
||||||
|
"description": "飞书多维表格操作。用于记录增删改查、批量操作、筛选排序、数据同步。当需要操作飞书多维表格时使用。",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "integration",
|
||||||
|
"keywords": [
|
||||||
|
"integration",
|
||||||
|
"automation",
|
||||||
"productivity"
|
"productivity"
|
||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "search-sessions-plugin",
|
"name": "feishu-docx-plugin",
|
||||||
"source": "./skills/search-sessions-plugin",
|
"source": "./skills-integration/feishu-docx-plugin",
|
||||||
"description": "Plugin for search-sessions",
|
"description": "飞书云文档操作。用于创建、编辑云文档,插入内容块,会议纪要生成。当需要操作飞书云文档时使用。",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "workflow",
|
"category": "integration",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"session",
|
"integration",
|
||||||
"workflow",
|
"automation",
|
||||||
"productivity"
|
"productivity"
|
||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "session-plugin",
|
"name": "feishu-plugin",
|
||||||
"source": "./skills/session-plugin",
|
"source": "./skills-integration/feishu-plugin",
|
||||||
"description": "Manage Claude Code sessions — save, reload, read, and search saved conversations. Triggers on /session commands or when user mentions saving session, reloading session, finding previous conversations, or continuing previous work.",
|
"description": "飞书多维表格快捷操作。通过自然语言实现多维表格的增删改查、数据同步、批量操作等功能。当用户提到飞书、多维表格、Bitable、飞书表格相关任务时自动激活。",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"category": "workflow",
|
"category": "integration",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"session",
|
"integration",
|
||||||
"workflow",
|
"automation",
|
||||||
"productivity"
|
"productivity"
|
||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "siyuan-plugin",
|
"name": "siyuan-plugin",
|
||||||
"source": "./skills/siyuan-plugin",
|
"source": "./skills-integration/siyuan-plugin",
|
||||||
"description": "Plugin for siyuan",
|
"description": "Plugin for siyuan",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "integration",
|
"category": "integration",
|
||||||
@@ -511,7 +382,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "siyuan-to-feishu-plugin",
|
"name": "siyuan-to-feishu-plugin",
|
||||||
"source": "./skills/siyuan-to-feishu-plugin",
|
"source": "./skills-integration/siyuan-to-feishu-plugin",
|
||||||
"description": "将思源笔记导出为 PDF 并发送到飞书群。当用户提到发送笔记、导出PDF发飞书、/siyuan send、分享到飞书相关任务时自动激活。",
|
"description": "将思源笔记导出为 PDF 并发送到飞书群。当用户提到发送笔记、导出PDF发飞书、/siyuan send、分享到飞书相关任务时自动激活。",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "integration",
|
"category": "integration",
|
||||||
@@ -523,9 +394,61 @@
|
|||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "skill-manager-plugin",
|
"name": "wecom-plugin",
|
||||||
"source": "./skills/skill-manager-plugin",
|
"source": "./skills-integration/wecom-plugin",
|
||||||
"description": "|",
|
"description": "企业微信集成。通过自然语言发送消息、管理群机器人、操作审批流程、管理通讯录。当用户提到企业微信、微信工作、群机器人、企业号、wecom相关任务时自动激活。",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "integration",
|
||||||
|
"keywords": [
|
||||||
|
"integration",
|
||||||
|
"automation",
|
||||||
|
"productivity"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "biz-contract-plugin",
|
||||||
|
"source": "./skills-biz/biz-contract-plugin",
|
||||||
|
"description": "商务合同撰写。支持多种合同类型:软件订阅合同、软件定制开发合同、物流合同、销售服务合同、贸易合同等。当用户提到合同、协议、签约、合作协议相关任务时自动激活。",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "business",
|
||||||
|
"keywords": [
|
||||||
|
"business",
|
||||||
|
"planning",
|
||||||
|
"contracts"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "biz-ops-plugin",
|
||||||
|
"source": "./skills-biz/biz-ops-plugin",
|
||||||
|
"description": "商务运营技能。支持商业计划书(BP)撰写和商务合同起草。当用户提到商业计划书、BP、融资计划、商业模式、合同、协议、签约等相关任务时自动激活。",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "devops",
|
||||||
|
"keywords": [
|
||||||
|
"devops",
|
||||||
|
"deployment",
|
||||||
|
"operations"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "biz-plan-plugin",
|
||||||
|
"source": "./skills-biz/biz-plan-plugin",
|
||||||
|
"description": "Plugin for biz-plan",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "business",
|
||||||
|
"keywords": [
|
||||||
|
"business",
|
||||||
|
"planning",
|
||||||
|
"contracts"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "finance-plugin",
|
||||||
|
"source": "./skills-biz/finance-plugin",
|
||||||
|
"description": "Plugin for finance",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"category": "utility",
|
"category": "utility",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@@ -535,18 +458,95 @@
|
|||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "wecom-plugin",
|
"name": "ai-proj-plugin",
|
||||||
"source": "./skills/wecom-plugin",
|
"source": "./skills-workflow/ai-proj-plugin",
|
||||||
"description": "企业微信集成。通过自然语言发送消息、管理群机器人、操作审批流程、管理通讯录。当用户提到企业微信、微信工作、群机器人、企业号、wecom相关任务时自动激活。",
|
"description": "AI project management via REST API. Works out of the box!",
|
||||||
"version": "1.0.0",
|
"version": "2.0.1",
|
||||||
"category": "integration",
|
"category": "productivity",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"integration",
|
"project-management",
|
||||||
"automation",
|
"tasks",
|
||||||
|
"requirements"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "read-session-plugin",
|
||||||
|
"source": "./skills-workflow/read-session-plugin",
|
||||||
|
"description": "Plugin for read-session",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "workflow",
|
||||||
|
"keywords": [
|
||||||
|
"session",
|
||||||
|
"workflow",
|
||||||
"productivity"
|
"productivity"
|
||||||
],
|
],
|
||||||
"strict": false
|
"strict": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "reload-session-plugin",
|
||||||
|
"source": "./skills-workflow/reload-session-plugin",
|
||||||
|
"description": "Plugin for reload-session",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "workflow",
|
||||||
|
"keywords": [
|
||||||
|
"session",
|
||||||
|
"workflow",
|
||||||
|
"productivity"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "save-session-plugin",
|
||||||
|
"source": "./skills-workflow/save-session-plugin",
|
||||||
|
"description": "Plugin for save-session",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "workflow",
|
||||||
|
"keywords": [
|
||||||
|
"session",
|
||||||
|
"workflow",
|
||||||
|
"productivity"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "search-sessions-plugin",
|
||||||
|
"source": "./skills-workflow/search-sessions-plugin",
|
||||||
|
"description": "Plugin for search-sessions",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "workflow",
|
||||||
|
"keywords": [
|
||||||
|
"session",
|
||||||
|
"workflow",
|
||||||
|
"productivity"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "session-plugin",
|
||||||
|
"source": "./skills-workflow/session-plugin",
|
||||||
|
"description": "Manage Claude Code sessions — save, reload, read, and search saved conversations. Triggers on /session commands or when user mentions saving session, reloading session, finding previous conversations, or continuing previous work.",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "workflow",
|
||||||
|
"keywords": [
|
||||||
|
"session",
|
||||||
|
"workflow",
|
||||||
|
"productivity"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "skill-manager-plugin",
|
||||||
|
"source": "./skills-workflow/skill-manager-plugin",
|
||||||
|
"description": "|",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"category": "utility",
|
||||||
|
"keywords": [
|
||||||
|
"utility",
|
||||||
|
"tools"
|
||||||
|
],
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "coolbuy-legacy-plugin",
|
"name": "coolbuy-legacy-plugin",
|
||||||
"source": "./skills-projects/coolbuy-legacy-plugin",
|
"source": "./skills-projects/coolbuy-legacy-plugin",
|
||||||
|
|||||||
38
CLAUDE.md
38
CLAUDE.md
@@ -18,28 +18,23 @@ Claude Code 技能市场 + MCP 配置管理工具。
|
|||||||
|
|
||||||
```
|
```
|
||||||
ai-proj-helper/
|
ai-proj-helper/
|
||||||
├── skills/ # 通用技能(Git 版本控制)
|
├── skills-dev/ # 开发 (9): dev, dev-arch, dev-coding, dev-test, frontend-design, agent-swarm, pull-request, finishing-a-development-branch, gitea
|
||||||
│ ├── ai-proj-plugin/
|
├── skills-req/ # 需求 (10): req, req-commands, req-dev, req-prd, req-review, req-test-gate, req-workflow, req-deploy, requirement, executing-plans
|
||||||
│ │ ├── .claude-plugin/plugin.json
|
├── skills-ops/ # 运维 (4): ops-tools, ops-servers, openclaw, openclaw-ops
|
||||||
│ │ └── skills/SKILL.md
|
├── skills-integration/ # 集成 (8): feishu, feishu-bitable, feishu-docx, wecom, siyuan, siyuan-to-feishu, data-excel, doubao-voice
|
||||||
│ └── ...
|
├── skills-biz/ # 商务 (4): biz-contract, biz-ops, biz-plan, finance
|
||||||
├── skills-projects/ # 项目技能(Git 版本控制)
|
├── skills-workflow/ # 工作流 (7): ai-proj, save-session, reload-session, read-session, search-sessions, session, skill-manager
|
||||||
│ ├── coolbuy-legacy-plugin/
|
├── skills-projects/ # 项目 (5): coolbuy-legacy, coolbuy-paas, coolbuy-platform, enjoysa, enjoysa-deploy
|
||||||
│ ├── coolbuy-paas-plugin/
|
├── skills-personal/ # 个人(.gitignore 排除)
|
||||||
│ ├── coolbuy-platform-plugin/
|
|
||||||
│ ├── enjoysa-plugin/
|
|
||||||
│ └── enjoysa-deploy-plugin/
|
|
||||||
├── skills-personal/ # 个人技能(.gitignore 排除)
|
|
||||||
│ └── qiudl-personal-plugin/
|
|
||||||
├── claude-config.yaml # 技能启用/禁用 + MCP 配置
|
├── claude-config.yaml # 技能启用/禁用 + MCP 配置
|
||||||
├── init.sh # MCP + marketplace 初始化
|
├── init.sh # MCP + marketplace 初始化
|
||||||
├── sync-skills.sh # 从 ~/.claude/skills/ 同步技能
|
├── sync-skills.sh # 从 ~/.claude/skills/ 同步技能
|
||||||
└── generate-marketplace.py # marketplace.json 生成器
|
└── generate-marketplace.py
|
||||||
```
|
```
|
||||||
|
|
||||||
## 添加新技能
|
## 添加新技能
|
||||||
|
|
||||||
1. 在 `skills/` 下创建 `<name>-plugin/` 目录
|
1. 在对应分类目录下创建 `<name>-plugin/` 目录
|
||||||
2. 创建 `.claude-plugin/plugin.json` 和 `skills/SKILL.md`
|
2. 创建 `.claude-plugin/plugin.json` 和 `skills/SKILL.md`
|
||||||
3. 运行 `python3 generate-marketplace.py` 重新生成 marketplace.json
|
3. 运行 `python3 generate-marketplace.py` 重新生成 marketplace.json
|
||||||
|
|
||||||
@@ -50,7 +45,6 @@ ai-proj-helper/
|
|||||||
```yaml
|
```yaml
|
||||||
skills:
|
skills:
|
||||||
disabled:
|
disabled:
|
||||||
- "dotfiles-plugin"
|
|
||||||
- "biz-ops-plugin"
|
- "biz-ops-plugin"
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -64,12 +58,8 @@ skills:
|
|||||||
| staging | https://ai-staging.pipexerp.com/api/v1 |
|
| staging | https://ai-staging.pipexerp.com/api/v1 |
|
||||||
| prod | https://ai.pipexerp.com/api/v1 |
|
| prod | https://ai.pipexerp.com/api/v1 |
|
||||||
|
|
||||||
## 项目技能
|
## 技能目录说明
|
||||||
|
|
||||||
`skills-projects/` 存放特定业务项目的技能(coolbuy、enjoysa 等),由 Git 版本控制。
|
- `skills-personal/` 不被 Git 跟踪,用于存放个人配置和工具
|
||||||
|
- 其余 `skills-*` 目录均由 Git 版本控制
|
||||||
## 个人技能
|
- 所有目录都会被 `generate-marketplace.py` 自动扫描并加入 marketplace.json
|
||||||
|
|
||||||
`skills-personal/` 目录不被 Git 跟踪,用于存放个人配置和工具。
|
|
||||||
|
|
||||||
两者都会被 `generate-marketplace.py` 扫描并加入 marketplace.json。
|
|
||||||
|
|||||||
68
README.md
68
README.md
@@ -1,6 +1,6 @@
|
|||||||
# ai-proj-helper
|
# ai-proj-helper
|
||||||
|
|
||||||
Claude Code 技能市场 + MCP 配置管理工具。整合公共技能、个人技能、MCP 服务器配置于一体。
|
Claude Code 技能市场 + MCP 配置管理工具。整合通用技能、项目技能、个人技能、MCP 服务器配置于一体。
|
||||||
|
|
||||||
> **从 claude-marketplace 迁移?** 本仓库是 claude-marketplace 的超集,已包含所有原有插件。直接使用本仓库即可,无需额外迁移。
|
> **从 claude-marketplace 迁移?** 本仓库是 claude-marketplace 的超集,已包含所有原有插件。直接使用本仓库即可,无需额外迁移。
|
||||||
|
|
||||||
@@ -33,34 +33,45 @@ ai-proj-helper/
|
|||||||
├── init.sh # MCP + marketplace 初始化
|
├── init.sh # MCP + marketplace 初始化
|
||||||
├── sync-skills.sh # 同步本地技能
|
├── sync-skills.sh # 同步本地技能
|
||||||
├── generate-marketplace.py # marketplace 生成器
|
├── generate-marketplace.py # marketplace 生成器
|
||||||
├── skills/ # 通用技能 (42 个,Git 版本控制)
|
├── skills-dev/ # 开发 (9)
|
||||||
│ ├── ai-proj-plugin/
|
├── skills-req/ # 需求管理 (10)
|
||||||
│ ├── dev-coding-plugin/
|
├── skills-ops/ # 运维 (4)
|
||||||
│ ├── feishu-plugin/
|
├── skills-integration/ # 第三方集成 (8)
|
||||||
│ └── ...
|
├── skills-biz/ # 商务 (4)
|
||||||
├── skills-projects/ # 项目技能 (5 个,Git 版本控制)
|
├── skills-workflow/ # 工作流 (7)
|
||||||
│ ├── coolbuy-*-plugin/
|
├── skills-projects/ # 项目特定 (5)
|
||||||
│ └── enjoysa-*-plugin/
|
└── skills-personal/ # 个人(.gitignore 排除)
|
||||||
└── skills-personal/ # 个人技能 (.gitignore 排除)
|
|
||||||
└── qiudl-personal-plugin/
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 可用技能
|
## 可用技能 (49)
|
||||||
|
|
||||||
### 通用技能 (skills/, 42 个)
|
### skills-dev/ — 开发 (9)
|
||||||
|
|
||||||
- **开发**: ai-proj, dev, dev-arch, dev-coding, dev-test, frontend-design, agent-swarm
|
dev, dev-arch, dev-coding, dev-test, frontend-design, agent-swarm, pull-request, finishing-a-development-branch, gitea
|
||||||
- **DevOps**: ops-tools, ops-servers, req-deploy
|
|
||||||
- **需求管理**: req, req-commands, req-dev, req-prd, req-review, req-test-gate, req-workflow, requirement, executing-plans
|
|
||||||
- **业务**: biz-plan, biz-contract, biz-ops, finance
|
|
||||||
- **集成**: feishu, feishu-bitable, feishu-docx, wecom, siyuan, siyuan-to-feishu, data-excel, doubao-voice
|
|
||||||
- **通用工具**: openclaw, openclaw-ops, pull-request, finishing-a-development-branch, skill-manager, gitea
|
|
||||||
- **会话管理**: save-session, reload-session, read-session, search-sessions, session
|
|
||||||
|
|
||||||
### 项目技能 (skills-projects/, 5 个)
|
### skills-req/ — 需求管理 (10)
|
||||||
|
|
||||||
- **酷采**: coolbuy-legacy, coolbuy-paas, coolbuy-platform
|
req, req-commands, req-dev, req-prd, req-review, req-test-gate, req-workflow, req-deploy, requirement, executing-plans
|
||||||
- **畅游南澳**: enjoysa, enjoysa-deploy
|
|
||||||
|
### skills-ops/ — 运维 (4)
|
||||||
|
|
||||||
|
ops-tools, ops-servers, openclaw, openclaw-ops
|
||||||
|
|
||||||
|
### skills-integration/ — 第三方集成 (8)
|
||||||
|
|
||||||
|
feishu, feishu-bitable, feishu-docx, wecom, siyuan, siyuan-to-feishu, data-excel, doubao-voice
|
||||||
|
|
||||||
|
### skills-biz/ — 商务 (4)
|
||||||
|
|
||||||
|
biz-contract, biz-ops, biz-plan, finance
|
||||||
|
|
||||||
|
### skills-workflow/ — 工作流 (7)
|
||||||
|
|
||||||
|
ai-proj, save-session, reload-session, read-session, search-sessions, session, skill-manager
|
||||||
|
|
||||||
|
### skills-projects/ — 项目特定 (5)
|
||||||
|
|
||||||
|
coolbuy-legacy, coolbuy-paas, coolbuy-platform, enjoysa, enjoysa-deploy
|
||||||
|
|
||||||
## 配置管理
|
## 配置管理
|
||||||
|
|
||||||
@@ -80,16 +91,7 @@ skills:
|
|||||||
|
|
||||||
### 禁用技能
|
### 禁用技能
|
||||||
|
|
||||||
编辑 `claude-config.yaml` 添加要禁用的技能:
|
编辑 `claude-config.yaml` 添加要禁用的技能名称,然后重新运行 `./init.sh` 或 `python3 generate-marketplace.py`。
|
||||||
|
|
||||||
```yaml
|
|
||||||
skills:
|
|
||||||
disabled:
|
|
||||||
- "dotfiles-plugin"
|
|
||||||
- "biz-ops-plugin"
|
|
||||||
```
|
|
||||||
|
|
||||||
然后重新运行 `./init.sh` 或 `python3 generate-marketplace.py`。
|
|
||||||
|
|
||||||
## 同步本地技能
|
## 同步本地技能
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,21 @@ except ImportError:
|
|||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
script_dir = Path(__file__).parent.resolve()
|
script_dir = Path(__file__).parent.resolve()
|
||||||
skills_dir = script_dir / "skills"
|
|
||||||
projects_dir = script_dir / "skills-projects"
|
|
||||||
personal_dir = script_dir / "skills-personal"
|
|
||||||
config_file = script_dir / "claude-config.yaml"
|
config_file = script_dir / "claude-config.yaml"
|
||||||
marketplace_file = script_dir / ".claude-plugin" / "marketplace.json"
|
marketplace_file = script_dir / ".claude-plugin" / "marketplace.json"
|
||||||
|
|
||||||
|
# Skill directories (label, directory name)
|
||||||
|
SKILL_DIRS = [
|
||||||
|
("dev", "skills-dev"),
|
||||||
|
("req", "skills-req"),
|
||||||
|
("ops", "skills-ops"),
|
||||||
|
("integration", "skills-integration"),
|
||||||
|
("biz", "skills-biz"),
|
||||||
|
("workflow", "skills-workflow"),
|
||||||
|
("projects", "skills-projects"),
|
||||||
|
("personal", "skills-personal"),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def load_config():
|
def load_config():
|
||||||
"""Load claude-config.yaml and return disabled list + personal_dir."""
|
"""Load claude-config.yaml and return disabled list + personal_dir."""
|
||||||
@@ -110,29 +119,22 @@ def scan_plugins(directory, source_prefix, disabled):
|
|||||||
|
|
||||||
# Load config
|
# Load config
|
||||||
disabled_skills, personal_dir_name = load_config()
|
disabled_skills, personal_dir_name = load_config()
|
||||||
personal_skills_dir = script_dir / personal_dir_name
|
|
||||||
|
|
||||||
# Collect plugins from skills/ and skills-personal/
|
# Collect plugins from all skill directories
|
||||||
plugins = []
|
plugins = []
|
||||||
print("Scanning skills/ ...")
|
counts = {}
|
||||||
plugins.extend(scan_plugins(skills_dir, "./skills", disabled_skills))
|
for label, dir_name in SKILL_DIRS:
|
||||||
print(f" Found {len(plugins)} public plugins")
|
# personal_dir may be overridden by config
|
||||||
|
if label == "personal":
|
||||||
projects_count = 0
|
dir_name = personal_dir_name
|
||||||
if projects_dir.is_dir():
|
skill_path = script_dir / dir_name
|
||||||
print("Scanning skills-projects/ ...")
|
if not skill_path.is_dir():
|
||||||
projects_plugins = scan_plugins(projects_dir, "./skills-projects", disabled_skills)
|
continue
|
||||||
projects_count = len(projects_plugins)
|
print(f"Scanning {dir_name}/ ...")
|
||||||
plugins.extend(projects_plugins)
|
found = scan_plugins(skill_path, f"./{dir_name}", disabled_skills)
|
||||||
print(f" Found {projects_count} project plugins")
|
counts[label] = len(found)
|
||||||
|
plugins.extend(found)
|
||||||
personal_count = 0
|
print(f" Found {counts[label]} {label} plugins")
|
||||||
if personal_skills_dir.is_dir():
|
|
||||||
print(f"Scanning {personal_dir_name}/ ...")
|
|
||||||
personal_plugins = scan_plugins(personal_skills_dir, f"./{personal_dir_name}", disabled_skills)
|
|
||||||
personal_count = len(personal_plugins)
|
|
||||||
plugins.extend(personal_plugins)
|
|
||||||
print(f" Found {personal_count} personal plugins")
|
|
||||||
|
|
||||||
# Create marketplace
|
# Create marketplace
|
||||||
marketplace = {
|
marketplace = {
|
||||||
@@ -144,7 +146,7 @@ marketplace = {
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Custom Claude Code plugins for development workflows, DevOps, and business operations",
|
"description": "Custom Claude Code plugins for development workflows, DevOps, and business operations",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"pluginRoot": "./skills"
|
"pluginRoot": "."
|
||||||
},
|
},
|
||||||
"plugins": plugins
|
"plugins": plugins
|
||||||
}
|
}
|
||||||
@@ -156,4 +158,5 @@ marketplace_file.parent.mkdir(parents=True, exist_ok=True)
|
|||||||
with open(marketplace_file, 'w') as f:
|
with open(marketplace_file, 'w') as f:
|
||||||
json.dump(marketplace, f, indent=2, ensure_ascii=False)
|
json.dump(marketplace, f, indent=2, ensure_ascii=False)
|
||||||
|
|
||||||
print(f"\n✓ Generated marketplace.json with {len(plugins)} plugins ({projects_count} project, {personal_count} personal)")
|
summary = ", ".join(f"{v} {k}" for k, v in counts.items() if v > 0)
|
||||||
|
print(f"\n✓ Generated marketplace.json with {len(plugins)} plugins ({summary})")
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user