Skip to content

Commit 0cc58d6

Browse files
author
ZCode Marketplace Bot
committed
chore(github): declare skills directory in both plugin manifests
Source-Commit: d4ea9f49126bac5240109d3ce9bc8ff3f93d2afb
1 parent d569003 commit 0cc58d6

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

‎marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"en": "GitHub CLI workflows for commits, pull requests, issues, releases, Actions, repositories, Codespaces, and other GitHub resources.",
7171
"zh-CN": "基于 GitHub CLI 的 GitHub 工作流,覆盖提交、Pull Request、Issue、Release、Actions、仓库、Codespaces 等资源。"
7272
},
73-
"version": "0.1.3",
73+
"version": "0.1.4",
7474
"author": {
7575
"name": "Z.ai",
7676
"url": "https://z.ai"

‎plugins/github/.claude-plugin/plugin.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "github",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
4+
"skills": "./skills",
45
"description": "GitHub CLI workflows for commits, pull requests, issues, releases, Actions, repositories, Codespaces, and other GitHub resources.",
56
"description_i18n": {
67
"en": "GitHub CLI workflows for commits, pull requests, issues, releases, Actions, repositories, Codespaces, and other GitHub resources.",

‎plugins/github/.zcode-plugin/plugin.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "github",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
4+
"skills": "./skills",
45
"description": "GitHub CLI workflows for commits, pull requests, issues, releases, Actions, repositories, Codespaces, and other GitHub resources.",
56
"description_i18n": {
67
"en": "GitHub CLI workflows for commits, pull requests, issues, releases, Actions, repositories, Codespaces, and other GitHub resources.",

‎tests/test_github_plugin.py‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ def test_all_workflow_skills_are_packaged(self) -> None:
7171
}
7272
self.assertEqual(skill_dirs, EXPECTED_SKILLS)
7373

74+
def test_manifest_declares_packaged_skills_directory(self) -> None:
75+
manifest = load_json(PLUGIN / ".zcode-plugin" / "plugin.json")
76+
77+
# Claude Code rejects component paths that do not start with "./".
78+
self.assertEqual(manifest["skills"], "./skills")
79+
skill_dirs = {
80+
path.parent.name
81+
for path in (PLUGIN / manifest["skills"]).glob("*/SKILL.md")
82+
}
83+
self.assertEqual(skill_dirs, EXPECTED_SKILLS)
84+
7485
def test_skill_frontmatter_and_namespaced_examples(self) -> None:
7586
bare_command = re.compile(
7687
r"^/(?:codespace|commit|gist|issue|pr|release|repo|"

0 commit comments

Comments
 (0)