This repository was archived by the owner on Sep 21, 2026. It is now read-only.
feat: 支持 Claude Code,加三平台 CI 与发布门禁 - #1
Merged
Merged
Conversation
跨 agent 兼容: - 新增 .claude-plugin/plugin.json,Claude Code 侧清单;ZCode 仍优先读 .zcode-plugin/ - 新增 .claude-plugin/marketplace.json(strict 零警告),与根目录 ZCode 版共用字段完全一致 - 命令正文的脚本定位改为搜索 ~/.zcode、~/.claude、~/.agents、~/.codex, 不再是只认 ZCode 路径 质量门禁: - scripts/check.mjs:48 项发布检查,含双生态清单重复字段比对、五处版本号一致性、 按 ZCode 真实解析规则校验命令名/frontmatter/保留名、密钥与本机路径扫描 - .github/workflows/check.yml:Ubuntu/Windows/macOS 三平台矩阵,跑门禁、离线冒烟、 临时 HOME 安装并发现校验、安装器冲突保护与卸载 文档:中英文 README 补充 Claude Code 安装方式、双清单存在的原因、分发状态表
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
跨 agent 兼容
.claude-plugin/plugin.json(Claude Code 侧清单),ZCode 仍优先读.zcode-plugin/.claude-plugin/marketplace.json,claude plugin validate --strict零警告~/.zcode、~/.claude、~/.agents、~/.codex质量门禁
scripts/check.mjs:48 项检查,含双生态清单重复字段比对、五处版本号一致性、按 ZCode 真实解析规则校验命令名与 frontmatter、密钥与本机路径扫描
.github/workflows/check.yml:Ubuntu/Windows/macOS 矩阵为什么拆两个市场清单
ZCode 支持
displayName_i18n/examplePrompts等展示字段,Claude Code 视其为未知字段且
--strict下会失败。保留它们会让 Anthropic 审核流水线可能拒绝投稿,而去掉对 ZCode只是少个中文显示名、功能不受影响。故按风险不对称拆开,共有的 8 个字段完全一致并由
check.mjs守住不漂移。验证
scripts/check.mjs48/48 通过claude plugin validate --strict:市场与插件均通过verify-discoverable.cjs:2 个命令被发现,0 条诊断