Loading...
Loading...
Compare original and translation side by side
claude plugin marketplace addskills/.claude-plugin/marketplace.jsonclaude plugin marketplace addskills/.claude-plugin/marketplace.jsonCLAUDE.md~/.claude/projects/<escaped-cwd>/<session-id>.jsonl<session-id>/subagents/agent-*.jsonlgrep -lc "marketplace.json\|claude plugin validate\|claude plugin install" \
~/.claude/projects/<escaped-cwd>/*.jsonl
grep -lc "Unrecognized key\|Plugin not found\|No manifest found\|Duplicate plugin" \
~/.claude/projects/<escaped-cwd>/*.jsonl \
~/.claude/projects/<escaped-cwd>/*/subagents/*.jsonl~/.claude/projects/<escaped-cwd>/<session-id>.jsonl<session-id>/subagents/agent-*.jsonlgrep -lc "marketplace.json\|claude plugin validate\|claude plugin install" \
~/.claude/projects/<escaped-cwd>/*.jsonl
grep -lc "Unrecognized key\|Plugin not found\|No manifest found\|Duplicate plugin" \
~/.claude/projects/<escaped-cwd>/*.jsonl \
~/.claude/projects/<escaped-cwd>/*/subagents/*.jsonlundefinedundefined
For each skill, extract from SKILL.md frontmatter:
- `name` — the skill identifier
- `description` — the ORIGINAL text, do NOT rewrite or translate
针对每个技能,从SKILL.md的前置元数据中提取:
- `name` — 技能标识符
- `description` — 原始文本,请勿重写或翻译VERSIONmetadata.versionREADME.mdLICENSEgit remote -vVERSIONmetadata.versionREADME.mdLICENSEgit remote -vbusiness-diagnosticscontent-creationthinking-toolsutilitiesdeveloper-toolsproductivitydocumentationsecuritybusiness-diagnosticscontent-creationthinking-toolsutilitiesdeveloper-toolsproductivitydocumentationsecuritymarketplace -> plugin -> skillplugin@marketplace/plugin-name:skill-nameSKILL.mdSKILL.md/daymade-docs:mermaid-toolsreferences/cache_and_source_patterns.mdsourceskillsmarketplace -> plugin -> skillplugin@marketplace/plugin-name:skill-name/daymade-docs:mermaid-toolssourceskillsreferences/cache_and_source_patterns.mdreferences/marketplace_schema.md$schemaclaude plugin validatemetadatadescriptionversionpluginRootmetadata.homepagemetadata.version"2.3.0"version"1.0.0"strict: falseplugin.jsonstrict: falsestrict: falseplugin.jsonsourcesource"./tunnel-doctor"skillsanthropics/claude-plugins-officialsource: "./<suite>"skillssource: "./"skills: ["./"]claude-code-marketplaceclaude-code-pluginsclaude-plugins-officialanthropic-marketplaceanthropic-pluginsagent-skillsknowledge-work-pluginslife-sciencestagskeywordskeywordstags"community-managed"namedescriptionmarketplaceNamekeywordsreferences/marketplace_schema.md$schemaclaude plugin validatemetadatadescriptionversionpluginRootmetadata.homepagemetadata.version"2.3.0"version"1.0.0"strict: falseplugin.jsonstrict: falsestrict: falseplugin.jsonsourcesource"./tunnel-doctor"skillsanthropics/claude-plugins-officialsource: "./<suite>"skillssource: "./"skills: ["./"]claude-code-marketplaceclaude-code-pluginsclaude-plugins-officialanthropic-marketplaceanthropic-pluginsagent-skillsknowledge-work-pluginslife-sciencestagskeywordskeywordstags"community-managed"namedescriptionmarketplaceNamekeywords{
"name": "<marketplace-name>",
"owner": {
"name": "<github-org-or-username>"
},
"metadata": {
"description": "<one-line description of the marketplace>",
"version": "<from-VERSION-file-or-1.0.0>"
},
"plugins": [
{
"name": "<skill-name>",
"description": "<EXACT text from SKILL.md frontmatter, do NOT rewrite>",
"source": "./<skill-name>",
"strict": false,
"version": "1.0.0",
"category": "<category>",
"keywords": ["<relevant>", "<keywords>"]
}
]
}{
"name": "<marketplace-name>",
"owner": {
"name": "<github-org-or-username>"
},
"metadata": {
"description": "<插件市场的单行描述>",
"version": "<来自VERSION文件或1.0.0>"
},
"plugins": [
{
"name": "<skill-name>",
"description": "<SKILL.md前置元数据中的精确文本,请勿重写>",
"source": "./<skill-name>",
"strict": false,
"version": "1.0.0",
"category": "<category>",
"keywords": ["<相关关键词>", "<相关关键词>"]
}
]
}name@claude plugin install dbs@<marketplace-name>name@claude plugin install dbs@<marketplace-name>metadata.descriptionmetadata.descriptionmetadata.versionmetadata.descriptionversion"1.0.0"versionversionsourceskillsmetadatametadata.homepagemetadata.versionmetadata.descriptionversion"1.0.0"versionsourceskillsversionmetadatametadata.homepagebash scripts/check_marketplace.sh # validates current repo
bash scripts/check_marketplace.sh /path # validates a target repo| # | Check | Failure means |
|---|---|---|
| 1 | JSON syntax of | file is not parseable JSON |
| 2 | | schema-level rejection (e.g. |
| 3 | | a plugin entry points to a SKILL.md that does not exist on disk |
| 4 | Reverse sync (disk → manifest) | WARN-only: a SKILL.md on disk is not registered in any plugin entry |
Unrecognized key: "$schema"$schemaDuplicate plugin namePath contains ".."./No manifest found in directorystrict: falsebash scripts/check_marketplace.sh # 验证当前仓库
bash scripts/check_marketplace.sh /path # 验证目标仓库| 序号 | 检查项 | 失败意味着 |
|---|---|---|
| 1 | .claude-plugin/marketplace.json的JSON语法 | 文件无法解析为JSON |
| 2 | | Schema级别的拒绝(例如 |
| 3 | 每个插件条目的 | 插件条目指向磁盘上不存在的SKILL.md |
| 4 | 反向同步(磁盘→清单) | 仅警告:磁盘上存在未在任何插件条目中注册的SKILL.md |
Unrecognized key: "$schema"$schemaDuplicate plugin namePath contains ".."./No manifest found in directorystrict: falseundefinedundefinedundefinedundefinedsourcePLUGIN=<plugin-name>
MARKET=<marketplace-name>
CACHE=$(jq -r --arg id "$PLUGIN@$MARKET" '.plugins[$id][0].installPath' ~/.claude/plugins/installed_plugins.json)
find "$CACHE" -maxdepth 1 -mindepth 1 -exec basename {} \; | sortSKILL.mdscripts/references/assets/sourcesourcePLUGIN=<plugin-name>
MARKET=<marketplace-name>
CACHE=$(jq -r --arg id "$PLUGIN@$MARKET" '.plugins[$id][0].installPath' ~/.claude/plugins/installed_plugins.json)
find "$CACHE" -maxdepth 1 -mindepth 1 -exec basename {} \; | sortscripts/references/assets/sourceundefinedundefinedundefinedundefinedbash scripts/check_marketplace.shSKILL.mdbash scripts/check_marketplace.shmetadata.versionmetadata.descriptionmetadata.homepage$schemametadata.versionmetadata.descriptionmetadata.homepage$schemadescriptionversion"1.0.0"source"./skill-name"skillssourceskillssourcestrictfalsenamedescriptionversion"1.0.0"versionsource"./skill-name"skillssourceskillssourcestrictfalsenamebash scripts/check_marketplace.shRESULT: PASSEDWARN [4/4]bash scripts/check_marketplace.shRESULT: PASSEDWARN [4/4].claude-plugin/marketplace.jsonscripts/scripts/undefinedundefined
<!-- only if demo exists -->undefined
<!-- 仅当存在演示时添加 -->undefinedclaude plugin validate .claude plugin validate .hooks/hooks/post_edit_validate.shclaude plugin validatemarketplace.jsonhooks/post_edit_sync_check.shSKILL.mdmarketplace.jsonversionplugins[].hookssettings.jsonhooks/plugin disable marketplace-devscripts/check_marketplace.shhooks/hooks/post_edit_validate.shmarketplace.jsonclaude plugin validatehooks/post_edit_sync_check.shversionplugins[].hookssettings.jsonhooks/plugin disable marketplace-devscripts/check_marketplace.shreferences/anti_patterns.mdreferences/anti_patterns.md