chore(marketplace): add publish-plugin, rewrite init.sh, cleanup obsolete plugins

- Add publish-plugin: marketplace publish + Feishu bot notification
- Rewrite init.sh: SSE-first, fixed prod API, remove env selection
- Update CLAUDE.md, README.md, claude-config.yaml
- Update skills: req-plugin, req-prd-plugin, pull-request-plugin
- Delete sync-skills.sh (obsolete)
- Delete deprecated plugins: skills-ops/*, skills-projects/*, old skills-dev/req duplicates
- Regenerate marketplace.json (27 plugins)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 15:09:07 +10:30
parent 5878c1f852
commit dcdae8c636
79 changed files with 610 additions and 13407 deletions

View File

@@ -11,7 +11,7 @@ Claude Code 技能市场 + MCP 配置管理工具。整合通用技能、项目
git clone https://gitea.pipexerp.com/pipexerp/ai-proj-helper.git
cd ai-proj-helper
# 2. 运行初始化(交互式配置 MCP + 生成 marketplace
# 2. 运行初始化(交互式配置 MCP 连接
./init.sh
# 3. 添加技能市场
@@ -21,7 +21,7 @@ cd ai-proj-helper
也可以使用命令行参数跳过交互:
```bash
./init.sh --mode stdio --env prod --token YOUR_TOKEN
./init.sh --mode sse --token aiproj_pk_xxx
```
## 目录结构
@@ -30,32 +30,29 @@ cd ai-proj-helper
ai-proj-helper/
├── .claude-plugin/marketplace.json # 自动生成
├── claude-config.yaml # 技能启用/禁用 + MCP 配置
├── init.sh # MCP + marketplace 初始化
├── sync-skills.sh # 同步本地技能
├── init.sh # MCP 初始化
├── generate-marketplace.py # marketplace 生成器
├── skills-dev/ # 开发 (9)
├── skills-req/ # 需求管理 (10)
├── skills-ops/ # 运维 (4)
├── skills-core/ # 基础设施 (1)
├── skills-dev/ # 开发 (4)
├── skills-req/ # 需求管理 (4)
├── skills-integration/ # 第三方集成 (8)
├── skills-biz/ # 商务 (4)
├── skills-workflow/ # 工作流 (7)
├── skills-projects/ # 项目特定 (5)
└── skills-personal/ # 个人(.gitignore 排除)
```
## 可用技能 (49)
## 可用技能 (26)
### skills-dev/ — 开发 (9)
### skills-core/ — 基础设施 (1)
dev, dev-arch, dev-coding, dev-test, frontend-design, agent-swarm, pull-request, finishing-a-development-branch, gitea
ai-proj
### skills-req/ — 需求管理 (10)
### skills-dev/ — 开发 (4)
req, req-commands, req-dev, req-prd, req-review, req-test-gate, req-workflow, req-deploy, requirement, executing-plans
dev-arch, dev-coding, dev-test, pull-request
### skills-ops/ — 运维 (4)
### skills-req/ — 需求管理 (4)
ops-tools, ops-servers, openclaw, openclaw-ops
req, req-prd, req-dev, req-test-gate
### skills-integration/ — 第三方集成 (8)
@@ -65,13 +62,9 @@ feishu, feishu-bitable, feishu-docx, wecom, siyuan, siyuan-to-feishu, data-excel
biz-contract, biz-ops, biz-plan, finance
### skills-workflow/ — 工作流 (7)
### skills-personal/ — 个人 (5)
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
gitea, openclaw, ops-tools, qiudl-personal, req-deploy
## 配置管理
@@ -81,8 +74,7 @@ coolbuy-legacy, coolbuy-paas, coolbuy-platform, enjoysa, enjoysa-deploy
version: "1.0"
mcp:
mode: stdio # stdio | sse
env: prod # dev | staging | prod
mode: sse # sse | stdio
skills:
disabled: [] # 禁用的技能列表
@@ -93,22 +85,6 @@ skills:
编辑 `claude-config.yaml` 添加要禁用的技能名称,然后重新运行 `./init.sh``python3 generate-marketplace.py`
## 同步本地技能
`~/.claude/skills/` 中的技能同步到仓库:
```bash
./sync-skills.sh
```
## MCP 环境
| 环境 | API 地址 | 用途 |
|------|----------|------|
| dev | http://localhost:8080 | 本地开发 |
| staging | https://ai-staging.pipexerp.com | 测试环境 |
| prod | https://ai.pipexerp.com | 生产环境 |
## 作者
**Donglin Lai (qiudl)** - qiudl@zhiyuncai.com