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: make validation environment-independent and CI green

AbhishekBarali16498f3a474d8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index baaea26..aa235fc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,6 +20,11 @@ jobs:
with:
python-version: '3.12'
+ # Only the bundled create-game-assets helpers need a third-party package;
+ # installing it here lets their tests run instead of being skipped.
+ - name: Install asset-helper test dependency
+ run: python -m pip install -r skills/disciplines/create-game-assets/scripts/requirements.txt
+
- name: Validate SKILL.md frontmatter and links
run: python scripts/validate-skills.py
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
deleted file mode 100644
index 68b526e..0000000
--- a/.github/workflows/validate.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: Validate skills
-
-on:
- push:
- pull_request:
-
-permissions:
- contents: read
-
-jobs:
- validate:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-python@v5
- with:
- python-version: "3.12"
- - name: Install asset-tool test dependency
- run: python -m pip install -r skills/disciplines/create-game-assets/scripts/requirements.txt
- - name: Validate repository wiring and skills
- run: python scripts/validate-skills.py
- - name: Run regression tests
- run: python -m unittest discover -s tests -v
diff --git a/scripts/validate-skills.py b/scripts/validate-skills.py
index ea56c32..cf7dd62 100644
--- a/scripts/validate-skills.py
+++ b/scripts/validate-skills.py
@@ -26,6 +26,30 @@ ALLOWED_FRONTMATTER = frozenset({"name", "description"})
ALLOWED_SKILL_ENTRIES = frozenset({"SKILL.md", "agents", "assets", "references", "scripts"})
REPO_ROOT = Path(__file__).resolve().parent.parent
+# Directories the repository-wide Markdown walk must never enter: version-control
+# internals, vendored packages, build output, and the paths .gitignore keeps local.
+# Without this the link check reports failures for third-party README files that
+# are not part of the project, and only passes on a clean checkout.
+EXCLUDED_DIRS = frozenset(
+ {
+ ".git",
+ ".kiro",
+ ".cache",
+ ".tmp",
+ ".venv",
+ "venv",
+ "__pycache__",
+ "_site",
+ "node_modules",
+ "site-packages",
+ "dist",
+ "build",
+ "scratch",
+ "plan",
+ "progress",
+ }
+)
+
def find_skill_files() -> list[Path]:
files = sorted((REPO_ROOT / "skills").rglob("SKILL.md"))
@@ -215,7 +239,7 @@ 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 ".git" in path.parts:
+ if any(part in EXCLUDED_DIRS for part in path.parts):
continue
text = _without_fenced_code(path.read_text(encoding="utf-8"))
text = re.sub(r"`[^`]*`", "", text)
diff --git a/tests/test_asset_tools.py b/tests/test_asset_tools.py
index b97b02d..cbf3b79 100644
--- a/tests/test_asset_tools.py
+++ b/tests/test_asset_tools.py
@@ -9,7 +9,13 @@ import tempfile
import unittest
from pathlib import Path
-from PIL import Image, ImageDraw
+try: # Pillow is only needed by the bundled asset helpers, not the validator.
+ from PIL import Image, ImageDraw
+
+ PILLOW_AVAILABLE = True
+except ModuleNotFoundError: # pragma: no cover - exercised on machines without Pillow
+ Image = ImageDraw = None
+ PILLOW_AVAILABLE = False
ROOT = Path(__file__).resolve().parents[1]
@@ -17,6 +23,11 @@ REPORT = ROOT / "skills" / "disciplines" / "create-game-assets" / "scripts" / "a
PREVIEW = ROOT / "skills" / "disciplines" / "create-game-assets" / "scripts" / "build_preview_sheet.py"
+ PILLOW_AVAILABLE,
+ "Pillow is not installed; run "
+ "pip install -r skills/disciplines/create-game-assets/scripts/requirements.txt",
+)
class AssetToolTests(unittest.TestCase):
def setUp(self) -> None:
self.temp_dir = tempfile.TemporaryDirectory()