Skip to content

77 game-dev skills for AI coding agents — Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox. Portable SKILL.md Agent Skills (the format Anthropic launched as Claude Skills), with a router that loads the right skill for your engine and task. Runs in Claude Code, Cursor, Kiro, Codex, Copilot, Gemini CLI and more.

fix(validator): compare bundle paths under skills/ and ignore folders outside the repo

Kiro Crewf86246e701bb
diff --git a/scripts/validate-skills.py b/scripts/validate-skills.py
index 525078f..16c91a7 100644
--- a/scripts/validate-skills.py
+++ b/scripts/validate-skills.py
@@ -239,7 +239,9 @@ def validate_markdown_links() -> list[str]:
"""Check repository-local Markdown and HTML image targets outside code fences."""
errors: list[str] = []
for path in sorted(REPO_ROOT.rglob("*.md")):
- if any(part in EXCLUDED_DIRS for part in path.parts):
+ # Only look at folders inside the repo: a checkout that itself lives under
+ # an excluded name (for example ~/.kiro/...) must still be checked.
+ if any(part in EXCLUDED_DIRS for part in path.relative_to(REPO_ROOT).parts):
continue
text = _without_fenced_code(path.read_text(encoding="utf-8"))
text = re.sub(r"`[^`]*`", "", text)
@@ -301,7 +303,10 @@ def validate_marketplace(files: list[Path]) -> list[str]:
expected = {
f"./{skill.parent.relative_to(REPO_ROOT).as_posix()}"
for skill in files
- if skill.parent.parent.name == category
+ # Compare the path under the repo root, not the grandparent folder name:
+ # router/SKILL.md's grandparent is the checkout folder itself, which may
+ # share a category's name.
+ if skill.parent.parent.relative_to(REPO_ROOT).as_posix() == f"skills/{category}"
}
if by_name.get(plugin_name) != expected:
errors.append(f"{_display(path)}: bundle {plugin_name!r} does not exactly match skills/{category}")
diff --git a/tests/test_validate_skills.py b/tests/test_validate_skills.py
index 97eb116..79a0ef0 100644
--- a/tests/test_validate_skills.py
+++ b/tests/test_validate_skills.py
@@ -182,5 +182,42 @@ class ValidatorTests(unittest.TestCase):
self.assertTrue(any("'gamedev' must set strict=false" in error for error in errors))
+ def test_checkout_folder_named_like_a_category_passes_bundle_check(self) -> None:
+ # A checkout folder called "godot" makes router/SKILL.md's grandparent
+ # folder name "godot"; the router must still not count as a Godot skill.
+ root = self.repo_root / "godot"
+ root.mkdir()
+ with patch.object(validate_skills, "REPO_ROOT", root):
+ skill = root / "skills" / "godot" / "test-skill" / "SKILL.md"
+ skill.parent.mkdir(parents=True)
+ skill.write_text(
+ "---\nname: test-skill\ndescription: Handles fixtures. Use when testing.\n---\n",
+ encoding="utf-8",
+ )
+ router = root / "router" / "SKILL.md"
+ router.parent.mkdir()
+ router.write_text(
+ "---\nname: router\ndescription: Routes fixtures. Use when selecting a test skill.\n---\n",
+ encoding="utf-8",
+ )
+ plugins = []
+ for name in (
+ "gamedev", "router", "godot", "unity", "unreal", "ebitengine",
+ "web-engines", "other-engines", "disciplines", "genres", "workflows",
+ ):
+ paths = {
+ "gamedev": ["./skills/godot/test-skill", "./router"],
+ "router": ["./router"],
+ "godot": ["./skills/godot/test-skill"],
+ }.get(name, [])
+ plugins.append({"name": name, "source": "./", "strict": False, "skills": paths})
+ manifest = root / ".claude-plugin" / "marketplace.json"
+ manifest.parent.mkdir()
+ manifest.write_text(json.dumps({"plugins": plugins}), encoding="utf-8")
+
+ errors = validate_skills.validate_marketplace([skill, router])
+
+ self.assertFalse(any("does not exactly match" in error for error in errors), errors)
+
if __name__ == "__main__":
unittest.main()