[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XGMYH5GDASV3WGA2AGJWJ":3,"skill-same:01M79XGMYH5GDASV3WGA2AGJWJ":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M79XGMYH5GDASV3WGA2AGJWJ","maintain-claude-plugins",null,"My personal, authoritative spec for building, developing, versioning, releasing, and wiring dependencies for my own Claude Code plugins through a split-repo plus central-marketplace setup. Use when creating a new plugin repo, laying out a plugin's .claude\u002Fskills\u002F\u003Cname>\u002F folder, writing plugin.json or marketplace.json, tagging a plugin release, wiring plugin-to-plugin dependencies, authenticating private repos, or when I ask how to structure, release, or publish my Claude Code plugin.","MacHu-GWU\u002Fshsk_vercel-project","MacHu-GWU","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6800411?v=4","01M79BMG0V767YAMAMTG1ZQ7FY","Sanhe Hu","01M79XGJ8JEW3S85HM32XX4VM7",0,"MIT","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaintain-claude-plugins\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maintain-claude-plugins\ndescription: My personal, authoritative spec for building, developing, versioning, releasing, and wiring dependencies for my own Claude Code plugins through a split-repo plus central-marketplace setup. Use when creating a new plugin repo, laying out a plugin's .claude\u002Fskills\u002F\u003Cname>\u002F folder, writing plugin.json or marketplace.json, tagging a plugin release, wiring plugin-to-plugin dependencies, authenticating private repos, or when I ask how to structure, release, or publish my Claude Code plugin.\n---\n\n# 维护我自己的 Claude Code 插件\n\n这是我维护自己 Claude Code 插件的终极规范. 完整内容在 [reference\u002Fpersonal-plugin-marketplace-best-practices.md](reference\u002Fpersonal-plugin-marketplace-best-practices.md) —— 需要具体做法或想回看某条决策的理由时读它.\n\n## 架构一句话\n\n三类 GitHub 仓库各司其职:\n\n- **每个插件一个独立 repo**, 插件代码放在 `.claude\u002Fskills\u002F\u003C插件名>\u002F` 下 (开发时靠 `@skills-dir` 自动加载, 发布时用 `git-subdir` 引用).\n- **一个中央 marketplace repo**, 只有一个 `.claude-plugin\u002Fmarketplace.json` catalog, 用 `git-subdir` source + `ref` 指向各插件 repo 的发布 tag.\n- **使用者的 workspace repo**, 在 `.claude\u002Fsettings.json` 里用 `extraKnownMarketplaces` + `enabledPlugins` 声明式装插件.\n\n## 什么时候读 reference 的哪一节\n\n| 我要做的事 | 读哪节 |\n| :--- | :--- |\n| 建新插件 repo \u002F 摆放插件目录 \u002F 写 plugin.json | 1, 2.1 |\n| 写中央 marketplace.json | 2.2 |\n| 让使用者 clone 即用 (settings.json) | 2.3 |\n| 开发时加载测试, 搞懂作用域限制 | 3 |\n| 搞清 skill \u002F agent 的命名空间前缀 | 4 |\n| 一个插件依赖另一个插件 | 5 |\n| 插件内 \u002F 跨插件 skill 互相调用 | 6 |\n| 私有 repo 认证 (手动 \u002F 后台更新) | 7 |\n| 发新版本的完整流程 | 8 |\n| 使用者怎么装 | 9 |\n| 命令速查 \u002F 决策速查 | 10 |\n\n## 发布一个新版本 (最常用)\n\n在插件 repo 里: 改代码 → bump `plugin.json` 的 `version` → `git commit` → `mise run tag-plugin` (扫描 `.claude\u002Fskills\u002F` 批量打 `{插件名}--v{版本}` tag 并推送) → 去 marketplace repo 把对应 `source.ref` 改成新 tag 并 push → 用户 `\u002Fplugin marketplace update`. 细节和为什么这么做见 reference 第 8 节.\n\n## 底层脚本: scripts\u002Fplugin_release.py\n\n`mise run tag-plugin` 和 `mise run list-plugins` 背后都是这一个 0 依赖纯标准库 CLI: [scripts\u002Fplugin_release.py](scripts\u002Fplugin_release.py). 它从当前目录**往上找到 `.git`** 定位 git repo 根, 扫描 `\u003Crepo根>\u002F.claude\u002Fskills\u002F` 下每个目录, 对含 `.claude-plugin\u002Fplugin.json` 的做校验 (必须有 `name`\u002F`description`\u002F`version`, 且 `version` 是 `x.y.z`; 有文件但格式不对就报错), 没有 manifest 的当 standalone skill 忽略.\n\n| 命令 | 作用 |\n| :--- | :--- |\n| `python3 scripts\u002Fplugin_release.py list` | 列出并校验所有插件 (加 `--json` 输出机器可读) |\n| `python3 scripts\u002Fplugin_release.py tag` | 先整体校验 (任一 manifest 非法则中止), 再逐个 cd 进插件目录跑 `claude plugin tag --push`, 已存在的 tag 跳过 (`--no-push` 只本地打, `--force` 移动已存在 tag) |\n\n因为靠 git-root 自动发现, 这个脚本在**任何**插件 repo 里都能直接跑, 不只这个 repo. 在别的插件 repo 里复用时, 把这个 skill 带过去, 再在那个 repo 的 `mise.toml` 里加一行指向本脚本的 `tag-plugin` 任务即可.\n","# 维护我自己的 Claude Code 插件\n\n这是我维护自己 Claude Code 插件的终极规范. 完整内容在 [reference\u002Fpersonal-plugin-marketplace-best-practices.md](reference\u002Fpersonal-plugin-marketplace-best-practices.md) —— 需要具体做法或想回看某条决策的理由时读它.\n\n## 架构一句话\n\n三类 GitHub 仓库各司其职:\n\n- **每个插件一个独立 repo**, 插件代码放在 `.claude\u002Fskills\u002F\u003C插件名>\u002F` 下 (开发时靠 `@skills-dir` 自动加载, 发布时用 `git-subdir` 引用).\n- **一个中央 marketplace repo**, 只有一个 `.claude-plugin\u002Fmarketplace.json` catalog, 用 `git-subdir` source + `ref` 指向各插件 repo 的发布 tag.\n- **使用者的 workspace repo**, 在 `.claude\u002Fsettings.json` 里用 `extraKnownMarketplaces` + `enabledPlugins` 声明式装插件.\n\n## 什么时候读 reference 的哪一节\n\n| 我要做的事 | 读哪节 |\n| :--- | :--- |\n| 建新插件 repo \u002F 摆放插件目录 \u002F 写 plugin.json | 1, 2.1 |\n| 写中央 marketplace.json | 2.2 |\n| 让使用者 clone 即用 (settings.json) | 2.3 |\n| 开发时加载测试, 搞懂作用域限制 | 3 |\n| 搞清 skill \u002F agent 的命名空间前缀 | 4 |\n| 一个插件依赖另一个插件 | 5 |\n| 插件内 \u002F 跨插件 skill 互相调用 | 6 |\n| 私有 repo 认证 (手动 \u002F 后台更新) | 7 |\n| 发新版本的完整流程 | 8 |\n| 使用者怎么装 | 9 |\n| 命令速查 \u002F 决策速查 | 10 |\n\n## 发布一个新版本 (最常用)\n\n在插件 repo 里: 改代码 → bump `plugin.json` 的 `version` → `git commit` → `mise run tag-plugin` (扫描 `.claude\u002Fskills\u002F` 批量打 `{插件名}--v{版本}` tag 并推送) → 去 marketplace repo 把对应 `source.ref` 改成新 tag 并 push → 用户 `\u002Fplugin marketplace update`. 细节和为什么这么做见 reference 第 8 节.\n\n## 底层脚本: scripts\u002Fplugin_release.py\n\n`mise run tag-plugin` 和 `mise run list-plugins` 背后都是这一个 0 依赖纯标准库 CLI: [scripts\u002Fplugin_release.py](scripts\u002Fplugin_release.py). 它从当前目录**往上找到 `.git`** 定位 git repo 根, 扫描 `\u003Crepo根>\u002F.claude\u002Fskills\u002F` 下每个目录, 对含 `.claude-plugin\u002Fplugin.json` 的做校验 (必须有 `name`\u002F`description`\u002F`version`, 且 `version` 是 `x.y.z`; 有文件但格式不对就报错), 没有 manifest 的当 standalone skill 忽略.\n\n| 命令 | 作用 |\n| :--- | :--- |\n| `python3 scripts\u002Fplugin_release.py list` | 列出并校验所有插件 (加 `--json` 输出机器可读) |\n| `python3 scripts\u002Fplugin_release.py tag` | 先整体校验 (任一 manifest 非法则中止), 再逐个 cd 进插件目录跑 `claude plugin tag --push`, 已存在的 tag 跳过 (`--no-push` 只本地打, `--force` 移动已存在 tag) |\n\n因为靠 git-root 自动发现, 这个脚本在**任何**插件 repo 里都能直接跑, 不只这个 repo. 在别的插件 repo 里复用时, 把这个 skill 带过去, 再在那个 repo 的 `mise.toml` 里加一行指向本脚本的 `tag-plugin` 任务即可.\n",{"name":5,"description":7},"main","8062e0b06c2ef4ed173bb01086533ac237846295",".claude\u002Fskills\u002Fmaintain-claude-plugins","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project","https:\u002F\u002Fgithub.com\u002FMacHu-GWU","Founder mindset, engineer’s hands. Customers first, product second. Forward-deployed AI architect · ex-AWS · 200+ OSS libs · 4K+ commits\u002Fyr","2026-07-31 13:05:58",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add MacHu-GWU\u002Fshsk_vercel-project --skill maintain-claude-plugins",{"tool":37,"command":38},"bunx","bunx skills add MacHu-GWU\u002Fshsk_vercel-project --skill maintain-claude-plugins",{"tool":40,"command":41},"pnpm","pnpm dlx skills add MacHu-GWU\u002Fshsk_vercel-project --skill maintain-claude-plugins","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaintain-claude-plugins\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"reference\u002Fpersonal-plugin-marketplace-best-practices.md","REFERENCE","参考文档",28452,"https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaintain-claude-plugins\u002Freference\u002Fpersonal-plugin-marketplace-best-practices.md",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"scripts\u002Fplugin_release.py","SCRIPT","脚本",8528,"https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaintain-claude-plugins\u002Fscripts\u002Fplugin_release.py",[58,65,72,79,86],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79XHA2JXC2JQKW3AWS4RYV2","write-agent-skill","Claude Code Agent Skill Author Guide","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-agent-skill\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79XH436RGQRMTM14TEP8VRB","vercel-docs","Look up authoritative, up-to-date Vercel documentation covering deployments, builds, Functions, Fluid Compute, CDN\u002Fcaching, environment variables, domains, the Vercel CLI, REST API, Security\u002FFirewall, Observability, Storage, AI SDK\u002FGateway, and the kb troubleshooting guides. Use when the user asks how a Vercel feature works, what a vercel.json field does, how to configure deploys\u002Ffunctions\u002Fcaching\u002Fenv vars, when troubleshooting a Vercel build or runtime error, or when you need to cite current official docs rather than rely on training-cutoff knowledge.","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvercel\u002Fskills\u002Fvercel-docs\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79XGZX5SEDW79P8HZV30EY5","skill-subagent-design","How Agent Skills and Subagents differ and how to combine them — the skill-as-caller \u002F subagent-as-doer best practice. Use when deciding whether a task should be a skill or a subagent, or when authoring a skill and subagent that work together (e.g. a \u002Fname skill that delegates to an isolated subagent).","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-subagent-design\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79XGT8J3PCE4F32CXRDT5A8","py-changelog","Maintain the release-history.rst changelog for a Python project before publishing a new version. Use when the user wants to prepare release notes, update changelog, or is about to publish\u002Ftag a new version.","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpy-changelog\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79XGKN1R2SH0WEPH6043GHN","create-sub-agent","Claude Code Sub Agent Author Guide","https:\u002F\u002Fgithub.com\u002FMacHu-GWU\u002Fshsk_vercel-project\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcreate-sub-agent\u002FSKILL.md",[],[]]