Skip to content

Add plugin Skill Hub v1.0.0#270

Closed
ziboh wants to merge 4 commits into
ZToolsCenter:mainfrom
ziboh:plugin/skill-hub
Closed

Add plugin Skill Hub v1.0.0#270
ziboh wants to merge 4 commits into
ZToolsCenter:mainfrom
ziboh:plugin/skill-hub

Conversation

@ziboh

@ziboh ziboh commented Jun 24, 2026

Copy link
Copy Markdown

插件信息

  • 名称: Skill Hub
  • 插件ID: skill-hub
  • 版本: 1.0.0
  • 描述: Skill 管理技能中心 — Skill 商店浏览下载、项目/Agent 扫描、一键分发
  • 作者: zibo
  • 类型: 新增

本次变更

  • 初版提交
  • 清理仓库:移除 .skill-archive、docs/ztools-doc、test-builtin-skills.html
  • 重构技能详情弹窗UI,新增收藏/描述翻译/复制功能;GitHub技能分批加载;支持自定义商店源图标;本地搜索;移除旧模板页面;简化插件配置
  • 停止跟踪 api-tests 目录(已加入 .gitignore)
  • 重构 ProjectSkills 工具栏布局:分离「添加项目」按钮,包裹 header-toolbar-wrapper

截图 / 演示

PixPin_2026-06-24_20-45-57

自检清单

  • plugin.json 的 name / title / version / description / author 字段均已检查
  • 已移除调试日志、未使用文件、敏感信息(.env、token、密钥等)
  • 本次 PR 的 diff 仅涉及 plugins/skill-hub/ 目录
  • 已在本地 ZTools 客户端实际加载并测试过此插件,主要功能正常
  • 同意以仓库声明的开源协议发布此插件

此 PR 由 ztools-plugin-cli 自动管理:每次 ztools publish 在分支上追加一个 commit,PR 链接保持不变。

- 初版提交
- 清理仓库:移除 .skill-archive、docs/ztools-doc、test-builtin-skills.html
- 重构技能详情弹窗UI,新增收藏/描述翻译/复制功能;GitHub技能分批加载;支持自定义商店源图标;本地搜索;移除旧模板页面;简化插件配置
- 停止跟踪 api-tests 目录(已加入 .gitignore)
- 重构 ProjectSkills 工具栏布局:分离「添加项目」按钮,包裹 header-toolbar-wrapper

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces "Skill Hub", a ZTools plugin built with Vue 3, Vite, and TypeScript designed to manage, scan, and distribute AI Agent skills. The code review highlights several critical issues, most notably a catastrophic data loss vulnerability in DeployModal.vue and BatchSyncModal.vue where a path of '.' can lead to the deletion of the entire Agent's skills directory. Other significant feedback includes a violation of the project's custom modal constraint, a key mapping mismatch in ProjectSkills/index.vue that breaks installation tracking, potential TypeErrors in skill-registry.ts, and issues with UTF-8 BOM parsing and symlink detection. The reviewer also recommends refactoring the highly duplicated getAvatarColor function and replacing the fragile custom markdown parser with a robust library.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread plugins/skill-hub/src/components/DeployModal.vue
Comment thread plugins/skill-hub/src/components/BatchSyncModal.vue Outdated
Comment thread plugins/skill-hub/src/components/SkillFileEditor.vue Outdated
Comment thread plugins/skill-hub/src/views/ProjectSkills/index.vue
Comment thread plugins/skill-hub/public/preload/services.js Outdated
Comment thread plugins/skill-hub/src/utils/skill-registry.ts Outdated
Comment thread plugins/skill-hub/src/utils/skill-registry.ts
Comment thread plugins/skill-hub/src/views/ProjectSkills/index.vue
Comment thread plugins/skill-hub/src/views/MySkills/index.vue
Comment thread plugins/skill-hub/src/components/SkillDetailBase.vue
- 初版提交
- 清理仓库:移除 .skill-archive、docs/ztools-doc、test-builtin-skills.html
- 重构技能详情弹窗UI,新增收藏/描述翻译/复制功能;GitHub技能分批加载;支持自定义商店源图标;本地搜索;移除旧模板页面;简化插件配置
- 停止跟踪 api-tests 目录(已加入 .gitignore)
- 重构 ProjectSkills 工具栏布局:分离「添加项目」按钮,包裹 header-toolbar-wrapper
- fix: 根据 PR #270 Code Review 修复问题
- refactor: 提取平台图标到 platform-icons.ts
@ziboh ziboh marked this pull request as ready for review June 24, 2026 08:29
ziboh added 2 commits June 24, 2026 20:40
- 初版提交
- 清理仓库:移除 .skill-archive、docs/ztools-doc、test-builtin-skills.html
- 重构技能详情弹窗UI,新增收藏/描述翻译/复制功能;GitHub技能分批加载;支持自定义商店源图标;本地搜索;移除旧模板页面;简化插件配置
- 停止跟踪 api-tests 目录(已加入 .gitignore)
- 重构 ProjectSkills 工具栏布局:分离「添加项目」按钮,包裹 header-toolbar-wrapper
- fix: 根据 PR #270 Code Review 修复问题
- refactor: 提取平台图标到 platform-icons.ts
- feat: 增强技能商店功能,新增商店配置弹窗和快速切换器
- fix: 修正 plugin.json  路径,指向正确的 node_modules 位置
- chore: 添加 MIT 开源协议
- chore: 清理未使用文件与敏感信息风险
- chore: 添加 .editorconfig
@ziboh ziboh closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant