Add plugin Skill Hub v1.0.0#270
Conversation
- 初版提交 - 清理仓库:移除 .skill-archive、docs/ztools-doc、test-builtin-skills.html - 重构技能详情弹窗UI,新增收藏/描述翻译/复制功能;GitHub技能分批加载;支持自定义商店源图标;本地搜索;移除旧模板页面;简化插件配置 - 停止跟踪 api-tests 目录(已加入 .gitignore) - 重构 ProjectSkills 工具栏布局:分离「添加项目」按钮,包裹 header-toolbar-wrapper
There was a problem hiding this comment.
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.
- 初版提交 - 清理仓库:移除 .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
- 初版提交 - 清理仓库:移除 .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
插件信息
本次变更
截图 / 演示
自检清单
plugins/skill-hub/目录此 PR 由 ztools-plugin-cli 自动管理:每次
ztools publish在分支上追加一个 commit,PR 链接保持不变。