Files
yixiong-claude-marketplace/.claude/memory/project_overview.md
T
SkyJourneyandClaude Sonnet 5 c8dffe0e4c docs: 同步「已发布插件」表格与项目记忆——huanxi 拆分个人端/管理端
sync_marketplace.py 自动化不了这两处:CLAUDE.md 的「已发布插件」表格、
project_overview.md 的插件清单,手工把原来的单行 huanxi 拆成 huanxi
(个人端 7 技能)/ huanxi-admin(管理端 4 技能,本次首发)两行,技能名
按 huanxi-menagement 仓库 skills/ 的实际内容更新。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018xxRKMuiGR4wYT3QbwCpDc
2026-08-22 02:15:56 +08:00

78 lines
3.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: 项目概述
description: yixiong-claude-marketplace 的定位、目录结构、插件规范和发布流程
type: project
last_updated: 2026-06-12
commit: fad7335
---
# 蚁熊内部 Claude Code Marketplace
## 定位
蚁熊公司内部 Claude Code Plugin Marketplace(技能市场),统一管理和发布供全员安装的 Claude Code 插件与技能。Marketplace 名称:`yixiong-claude-hub`
## 目录结构
```
.claude-plugin/
└── marketplace.json # 市场索引:声明所有插件
plugins/
└── <plugin-name>/
├── .claude-plugin/
│ └── plugin.json # 插件元数据
└── skills/
└── <skill-name>/
├── SKILL.md
└── references/ # 可选:详细工作流文档
```
## 文件格式规范
### marketplace.json
```json
{
"name": "yixiong-claude-hub",
"owner": { "name": "蚁熊团队" },
"description": "...",
"plugins": [
{ "name": "<name>", "source": "./plugins/<name>", "description": "..." }
]
}
```
### plugin.json(关键字段)
- **无 `version` 字段**:用 git commit SHA 作为版本基准,每次推送 main 即发布
- `userConfig`:用于用户输入敏感配置(token 等),`sensitive: true` 存系统钥匙链
- `mcpServers`:声明 MCP 服务器,headers 中可用 `${user_config.KEY}` 替换
### SKILL.md frontmatter(只需两字段)
```yaml
---
name: skill-name
description: "触发描述(用户实际口语,不用内部视角)"
---
```
- **不写 `version`**version 不是 SKILL.md 规范字段
## 已发布插件
| 插件 | 技能 | 特性 |
|------|------|------|
| `huanxi` | 个人端 7 个(report/leader/task/issue/meeting/lookup/shared | userConfig Bearer Tokenhxp_+ MCP ServerURL 走 office 子域,无端口) |
| `huanxi-admin` | 管理端 4 个(admin-report/admin-module/admin-ops/admin-shared | userConfig Bearer Tokenhxa_+ MCP Server;普通员工无需安装,2026-08-21 v1.0.0 生产切换后首次发布 |
| `memcore` | 4 个(memory-sync/lint/update/shared | 纯技能,无 MCPmemcore-shared 作内部 include(路径锁定 + 阈值常量 + PROJECT_DIR 解析),支持 synonyms.md 等价词表、Phase 3C 即时引用快扫、Phase 0 并发冲突保护、lint_report 稳定 ID + resolved 跳过、Base commit 兜底 |
| `obsidian` | 10 个(obsidian/bases/canvas/daily/history/meta/plugins/search/tasks/workflow-pkm | 纯技能,无 MCP;对标社区基准(kepano/obsidian-skills 31.8k★、AgriciDaniel/claude-obsidian)后扩展 canvas 视觉层;核心 obsidian 含 OFM 语法速查;workflow-pkm 含 Web Clip 子流程 |
**See Also**[[decisions.md#huanxi plugin 使用 userConfig 而非环境变量传 Token]]
## 发布流程
1. 新增/修改插件内容
2. 提交 main 分支(`git push`
3. 已安装用户会话启动时自动检测更新(需用户先手动开启 auto-update 一次:`/plugin` → Marketplaces → Enable auto-update
4. 有更新时提示执行 `/reload-plugins`
**第三方 marketplace 默认关闭 auto-update**,同事安装后需手动开启一次。