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.
Python agent-skillsai-agentsantigravityawesome-listclaude-codeclinecodexcursorgame-devgame-developmentgamedevgemini-cligithub-copilotgodotkirooh-my-piskillsunityunrealwindsurf
fix(create-game-assets): exact --max-colors limit, opaque-alpha check, Pillow 13 and current doc links
Kiro Crew1cd4f96bbe14
diff --git a/skills/disciplines/create-game-assets/SKILL.md b/skills/disciplines/create-game-assets/SKILL.mdindex 44fed75..e2e6eca 100644--- a/skills/disciplines/create-game-assets/SKILL.md+++ b/skills/disciplines/create-game-assets/SKILL.md@@ -79,7 +79,8 @@ alone does not guarantee transparency.## Raster QA recipes-Inspect constraints and emit a machine-readable report:+Inspect constraints and emit a machine-readable report. `--require-alpha` also fails an RGBA file+whose every pixel is opaque, which is how a baked background or fake checkerboard shows up:```bashpython scripts/asset_report.py assets/player-idle.png \@@ -94,8 +95,9 @@ python scripts/build_preview_sheet.py output/player/*.png \```Run script paths relative to this skill directory, or resolve the installed skill path first.-Both scripts require Python 3.10+ and Pillow. Install the only dependency with-`python -m pip install -r scripts/requirements.txt` when it is not already available.+Both scripts require Python 3.10+ and Pillow 10–13 (Pillow 13 needs Python 3.11+). Install the+only dependency with `python -m pip install -r scripts/requirements.txt` when it is not already+available.## Quality gatesdiff --git a/skills/disciplines/create-game-assets/references/provenance.md b/skills/disciplines/create-game-assets/references/provenance.mdindex 7285acb..a62a0d2 100644--- a/skills/disciplines/create-game-assets/references/provenance.md+++ b/skills/disciplines/create-game-assets/references/provenance.md@@ -31,14 +31,17 @@ license snapshots outside a public repository when they contain personal or acco6. Preserve content credentials/provenance metadata where the file pipeline supports it. Ifoptimization strips metadata, retain the corresponding manifest record.7. Review each store/platform's current disclosure rules before submission; rules change faster- than this skill.+ than this skill. Steam's Content Survey has a required generative-AI section that separates+ content made during development from content generated while the game runs. Record which+ assets were generated so that section can be answered from the manifest, not from memory.## Useful primary references- [Creative Commons license chooser](https://creativecommons.org/chooser/)- [SPDX license list](https://spdx.org/licenses/)+- [C2PA (Content Credentials) specifications](https://spec.c2pa.org/specifications/)- [OpenAI content provenance](https://openai.com/index/advancing-content-provenance/)-- [Steamworks documentation](https://partner.steamgames.com/doc/home)+- [Steamworks Content Survey, including the generative AI section](https://partner.steamgames.com/doc/gettingstarted/contentsurvey)When terms are unclear or the release is commercially important, flag the ambiguity for a humanrights review rather than guessing.diff --git a/skills/disciplines/create-game-assets/references/raster-pipeline.md b/skills/disciplines/create-game-assets/references/raster-pipeline.mdindex 76cc48a..d4baad0 100644--- a/skills/disciplines/create-game-assets/references/raster-pipeline.md+++ b/skills/disciplines/create-game-assets/references/raster-pipeline.md@@ -44,9 +44,13 @@ nearest-neighbor unless a deliberate preprocessing pass says otherwise.## Import checkpoints-**Godot 4.7:** choose nearest filtering for crisp pixel art; use mipmaps when non-pixel textures-shrink substantially; set repeat only for textures designed to tile; verify `Sprite2D`,-`TileSet`, atlas regions, and animation frames in the editor.+**Godot 4.7:** 2D filtering and repeat are not import options. Set+`rendering/textures/canvas_textures/default_texture_filter` to Nearest for a pixel-art project (or+`texture_filter` on one `CanvasItem` subtree), and enable `rendering/2d/snap/snap_2d_transforms_to_pixel`+when sprites shimmer while moving. Enable the `mipmaps/generate` import option only for non-pixel+textures that shrink substantially; set `texture_repeat` (or the 3D material's repeat) only for+textures designed to tile. Verify `Sprite2D`, `TileSet`, atlas regions, and animation frames in the+editor.**Unity 6.3 LTS:** set Texture Type to Sprite (2D and UI), choose Single/Multiple correctly, set aconsistent Pixels Per Unit, filter mode, compression, mipmaps, mesh type, and sprite slicing.diff --git a/skills/disciplines/create-game-assets/references/three-d-pipeline.md b/skills/disciplines/create-game-assets/references/three-d-pipeline.mdindex 378ac41..2ea07a3 100644--- a/skills/disciplines/create-game-assets/references/three-d-pipeline.md+++ b/skills/disciplines/create-game-assets/references/three-d-pipeline.md@@ -48,6 +48,6 @@ the tool/version and generation input in the asset manifest.- [Khronos glTF registry and 2.0.1 specification](https://registry.khronos.org/glTF/)- [Godot 4.7 importing 3D scenes](https://docs.godotengine.org/en/4.7/tutorials/assets_pipeline/importing_3d_scenes/index.html)-- [Unity model import settings](https://docs.unity3d.com/Manual/class-ModelImporter.html)+- [Unity 6.3 Model tab import settings](https://docs.unity3d.com/6000.3/Documentation/Manual/FBXImporter-Model.html)- [Unreal Engine importing static meshes](https://dev.epicgames.com/documentation/en-us/unreal-engine/importing-static-meshes-using-fbx-in-unreal-engine)-- [three.js GLTFLoader](https://threejs.org/docs/#examples/en/loaders/GLTFLoader)+- [three.js GLTFLoader](https://threejs.org/docs/pages/GLTFLoader.html)diff --git a/skills/disciplines/create-game-assets/scripts/asset_report.py b/skills/disciplines/create-game-assets/scripts/asset_report.pyindex 6eb94d6..627f42d 100755--- a/skills/disciplines/create-game-assets/scripts/asset_report.py+++ b/skills/disciplines/create-game-assets/scripts/asset_report.py@@ -52,7 +52,12 @@ def alpha_stats(image: Image.Image) -> dict[str, Any]:def inspect(path: Path, max_colors: int | None) -> dict[str, Any]:with Image.open(path) as image:image.load()- colors = image.convert("RGBA").getcolors(maxcolors=(max_colors or 65535) + 1)+ # getcolors() returns None only when the count EXCEEDS maxcolors, so asking for+ # max_colors + 1 lets an over-limit image come back as a list one entry too long.+ limit = max_colors or 65535+ colors = image.convert("RGBA").getcolors(maxcolors=limit + 1)+ if colors is not None and len(colors) > limit:+ colors = Noneresult: dict[str, Any] = {"path": path.as_posix(),"format": image.format,@@ -60,7 +65,7 @@ def inspect(path: Path, max_colors: int | None) -> dict[str, Any]:"width": image.width,"height": image.height,"bytes": path.stat().st_size,- "color_count": len(colors) if colors is not None else f">{max_colors or 65535}",+ "color_count": len(colors) if colors is not None else f">{limit}",}result.update(alpha_stats(image))return result@@ -70,7 +75,11 @@ def main() -> int:parser = argparse.ArgumentParser(description=__doc__)parser.add_argument("paths", nargs="+", type=Path, help="Raster image files to inspect")parser.add_argument("--expect-size", type=parse_size, metavar="WIDTHxHEIGHT")- parser.add_argument("--require-alpha", action="store_true")+ parser.add_argument(+ "--require-alpha",+ action="store_true",+ help="fail unless the image has an alpha channel with at least one transparent pixel",+ )parser.add_argument("--max-colors", type=int)parser.add_argument("--json", action="store_true", dest="as_json")args = parser.parse_args()@@ -100,6 +109,10 @@ def main() -> int:)if args.require_alpha and not report["has_alpha"]:problems.append("image has no alpha channel")+ elif args.require_alpha and report["alpha_min"] == 255:+ # An RGBA file with every pixel opaque usually means a baked background+ # (often a fake checkerboard) rather than real transparency.+ problems.append("alpha channel is fully opaque; no pixel is transparent")if args.max_colors is not None and isinstance(report["color_count"], str):problems.append(f"image has more than {args.max_colors} colors")report["problems"] = problemsdiff --git a/skills/disciplines/create-game-assets/scripts/requirements.txt b/skills/disciplines/create-game-assets/scripts/requirements.txtindex 0f00984..7b8376b 100644--- a/skills/disciplines/create-game-assets/scripts/requirements.txt+++ b/skills/disciplines/create-game-assets/scripts/requirements.txt@@ -1 +1 @@-Pillow>=10,<13+Pillow>=10,<14