chore: sync with upstream ae2c063 + update zh translations

This commit is contained in:
xuxiang
2026-01-31 18:22:06 +08:00
parent 6c531eb17b
commit b1d03833b9
30 changed files with 1694 additions and 516 deletions

5
.claude-plugin/README.md Normal file
View File

@@ -0,0 +1,5 @@
### 插件清单注意事项Plugin Manifest Gotchas
如果你计划编辑 `.claude-plugin/plugin.json`,请注意 Claude 插件验证器plugin validator强制执行了一些**未公开但严格的约束**,这些约束可能导致安装失败并显示模糊的错误(例如,`agents: Invalid input`。特别是组件字段必须是数组arrays`agents` 必须使用明确的文件路径而非目录,且为了实现可靠的验证和安装,必须包含 `version` 字段。
这些约束在公开示例中并不明显,且在过去曾多次导致安装失败。它们在 `.claude-plugin/PLUGIN_SCHEMA_NOTES.md` 中有详细记录在对插件清单plugin manifest进行任何更改之前应仔细阅读该文档。