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
chore: scaffold repo, authoring standard, validator, builder agent
AbhishekBarali1511e3d386b97
diff --git a/.gitignore b/.gitignorenew file mode 100644index 0000000..f4f8ec1--- /dev/null+++ b/.gitignore@@ -0,0 +1,33 @@+# ─────────────────────────────────────────────────────────────+# LOCAL-ONLY: orchestration & growth strategy (never published)+# These are how-we-build / how-we-grow files. They are NOT product.+# ─────────────────────────────────────────────────────────────+/plan/+*.local.md+GAMEDEV-SKILLS-PLAN.md++# Parallel-session git worktrees (see plan/00-MASTER-PLAN.md §Git strategy)+/.worktrees/+/gds-S*/++# ─────────────────────────────────────────────────────────────+# OS / editor noise+# ─────────────────────────────────────────────────────────────+.DS_Store+Thumbs.db+desktop.ini+*.swp+*~++# ─────────────────────────────────────────────────────────────+# Tooling / scratch (example skills may ship tiny tooling)+# ─────────────────────────────────────────────────────────────+node_modules/+dist/+.cache/+*.log+.tmp/+scratch/++# NOTE: .kiro/steering/ and .kiro/agents/ ARE committed on purpose —+# they document how this repo is built and are free of any growth motive.diff --git a/.kiro/agents/gamedev-skills-builder.json b/.kiro/agents/gamedev-skills-builder.jsonnew file mode 100644index 0000000..593dba2--- /dev/null+++ b/.kiro/agents/gamedev-skills-builder.json@@ -0,0 +1,24 @@+{+ "name": "gamedev-skills-builder",+ "description": "Builder agent for the awesome-gamedev-agent-skills repo. Loads start-of-session git context and guards against destructive git commands while authoring skills.",+ "tools": ["read", "write", "shell", "grep", "glob", "code", "subagent"],+ "allowedTools": ["read", "grep", "glob", "code"],+ "resources": [+ "file://.kiro/steering/**/*.md",+ "file://docs/SKILL-FORMAT.md",+ "skill://skills/**/SKILL.md",+ "skill://router/SKILL.md"+ ],+ "hooks": {+ "agentSpawn": [+ { "command": "git log --oneline -12" },+ { "command": "git status --short" }+ ],+ "preToolUse": [+ { "matcher": "shell", "command": "python scripts/guard.py" }+ ],+ "stop": [+ { "command": "git status --short" }+ ]+ }+}diff --git a/.kiro/steering/gamedev-skills-project.md b/.kiro/steering/gamedev-skills-project.mdnew file mode 100644index 0000000..5ca43e3--- /dev/null+++ b/.kiro/steering/gamedev-skills-project.md@@ -0,0 +1,36 @@+---+inclusion: always+---++# Project: awesome-gamedev-agent-skills++An open, original collection of high-quality **game-development Agent Skills**+(`SKILL.md` files) plus a **master router** skill, for AI coding agents+(Claude Code, Kiro, Gemini CLI, Codex, Cursor). Built across many sessions.++## At the start of EVERY session+1. Read `docs/progress/INDEX.md` and run `git log --oneline -10` to learn what is done.+2. If you will author or edit skills, read `docs/SKILL-FORMAT.md` (the authoring standard).+3. Work only within the scope of the session prompt you were given.++## Non-negotiable rules+- **Originality.** Never copy text or code from other repos/skills. Study sources for+ *patterns only*, then write everything from scratch from primary documentation.+- **Quality over quantity.** A correct, tested, lean skill beats five generic ones.+- **Follow the spec.** `name` ≤64 chars (lowercase, digits, hyphens; no leading/trailing+ hyphen; equals its folder name). `description` ≤1024 chars, says *what it does AND when+ to use it*. Keep each `SKILL.md` under ~500 lines; push depth into `references/`.+- **Verify code.** Example code must be correct, idiomatic, and version-pinned. State the+ engine/runtime version. Do not invent APIs.+- **No growth/marketing motive in any committed file.** No "stars", launch, or+ "beat competitor X" language in the repo. That lives only in local `plan/` files.+- **Web research = Firecrawl** (per global rule). Use `firecrawl-research-index` /+ `firecrawl_research_*` for docs/papers; `firecrawl_search`/`firecrawl_scrape` for the web.+- **Fan out with subagents** for independent work (research N sources, author N skills),+ then validate and commit from the main session.++## Git & progress (details in plan/00-MASTER-PLAN.md, which is local-only)+- Conventional commits: `feat(godot): add godot-tilemap skill`, `docs: ...`, `chore: ...`.+- Stage only your own files (`git add <paths>`) — never `git add .` during parallel waves.+- Each session updates `docs/progress/SESSION-XX-*.md` and `docs/progress/INDEX.md`, then commits & pushes.+- Sessions are **resumable**: check what already exists and continue; don't redo finished work.diff --git a/AGENTS.md b/AGENTS.mdnew file mode 100644index 0000000..30e507b--- /dev/null+++ b/AGENTS.md@@ -0,0 +1,48 @@+# AGENTS.md++Orientation for AI coding agents working **in this repository** (authoring or editing+skills). If you are an end user trying to *use* these skills, see+[`README.md`](README.md) and [`docs/INSTALLATION.md`](docs/INSTALLATION.md) instead.++## What this repo is++An original, cross-engine collection of game-development Agent Skills (`SKILL.md` files)+plus a master router skill. The portable core is the `SKILL.md` open standard.++## Before you write or edit a skill++1. Read [`docs/SKILL-FORMAT.md`](docs/SKILL-FORMAT.md) — the authoring standard.+2. Read [`CONTRIBUTING.md`](CONTRIBUTING.md) — the rubric and commit conventions.+3. Check [`docs/progress/INDEX.md`](docs/progress/INDEX.md) to see what already exists;+ do not redo finished work.+4. Start from [`templates/SKILL.template.md`](templates/SKILL.template.md).++## Rules++- **Originality.** Write from primary documentation. Never copy text/code from other+ repos or skill collections — study for patterns only.+- **Spec compliance.** `name` ≤64 chars (lowercase/digits/hyphens, no leading/trailing+ hyphen, equals the folder name). `description` ≤1024 chars and says *what it does and+ when to use it*. Keep `SKILL.md` under ~500 lines; push depth into `references/`.+- **Verify code.** Examples must be correct, idiomatic, and version-pinned. State the+ engine/runtime version. Do not invent APIs.+- **No growth/marketing language** in any committed file.++## Layout++```+skills/<category>/<skill-name>/SKILL.md the skills+router/SKILL.md the master router+docs/ authoring standard, install, compatibility+templates/SKILL.template.md starting point for a new skill+scripts/validate-skills.py frontmatter/size/link validator+```++## Verify before committing++```bash+python scripts/validate-skills.py+```++Fix every reported failure before you commit. Use conventional commits+(`feat(<category>): …`, `docs: …`, `chore: …`) and stage only the files you changed.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 0000000..bb84375--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,69 @@+# Contributing++Thanks for your interest in improving **awesome-gamedev-agent-skills**. This collection+values correct, lean, original skills over volume. Please read this guide and the+authoring standard in [`docs/SKILL-FORMAT.md`](docs/SKILL-FORMAT.md) before opening a PR.++## What a skill is++A skill is a directory containing a `SKILL.md` file (and optionally a `references/`+folder for depth). It lives under the matching category in `skills/`:++```+skills/<category>/<skill-name>/+├── SKILL.md+└── references/ # optional, for deeper material+```++The directory name **must equal** the skill's `name` frontmatter field.++Start from [`templates/SKILL.template.md`](templates/SKILL.template.md).++## Originality (non-negotiable)++Write everything from scratch from **primary documentation** (engine/framework docs,+language references, platform specs). You may study other skills or articles for general+patterns, but never copy their text or code. State the engine/runtime version your+examples target, and verify code is correct and idiomatic — do not invent APIs.++## PR checklist (the rubric)++A skill is ready to merge when all of the following are true:++- [ ] **Frontmatter valid.** `name` is ≤64 chars, lowercase letters/digits/hyphens only,+ no leading/trailing hyphen, and equals the folder name.+- [ ] **Description is a trigger.** `description` is non-empty, ≤1024 chars, and states+ both *what the skill does* and *when to use it*.+- [ ] **Lean body.** `SKILL.md` is under ~500 lines; deeper material is pushed into+ `references/`.+- [ ] **Progressive disclosure.** Name + description are enough to decide relevance; the+ body is loaded on demand.+- [ ] **Correct, version-pinned code.** Examples are tested/idiomatic and name the+ engine/runtime version. No invented APIs.+- [ ] **Original.** No copied text or code; written from primary docs.+- [ ] **Links resolve.** Any `references/` links in the skill point at real files.+- [ ] **Validator passes** (see below).+- [ ] **No growth/marketing language** anywhere in committed files.++## Validator++Run the validator before pushing. It checks every `skills/**/SKILL.md` and+`router/SKILL.md` for frontmatter limits, `name`==folder, file length, and that internal+`references/` links resolve:++```bash+python scripts/validate-skills.py+```++It exits non-zero and prints a report if anything fails.++## Commits & PRs++- Use **conventional commits**: `feat(<category>): …`, `docs: …`, `chore: …`,+ `fix: …`, `refactor: …`. Example: `feat(godot): add godot-tilemap skill`.+- Keep PRs focused — ideally one skill (or one coherent change) per PR.+- Describe what you added/changed and how you verified the example code.++## Code of conduct++Be respectful and constructive. Assume good faith and keep reviews focused on the work.diff --git a/LICENSE b/LICENSEnew file mode 100644index 0000000..c7fc0c6--- /dev/null+++ b/LICENSE@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright 2026 Abhishek Barali and the awesome-gamedev-agent-skills contributors++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/NOTICE b/NOTICEnew file mode 100644index 0000000..d420488--- /dev/null+++ b/NOTICE@@ -0,0 +1,15 @@+awesome-gamedev-agent-skills+Copyright 2026 Abhishek Barali and the awesome-gamedev-agent-skills contributors++This product is licensed under the Apache License, Version 2.0 (see LICENSE).++All skills in this repository are original works. They were authored from primary+documentation (engine and framework docs, language references, and platform+specifications). Third-party sources and other skill collections were studied for+general patterns only; no text or code was copied from them.++Game engine, framework, and platform names referenced in this repository+(including but not limited to Godot, Unity, Unreal Engine, Phaser, PixiJS,+three.js, Babylon.js, Bevy, GameMaker, LÖVE, and MonoGame) are trademarks of+their respective owners and are used for identification and descriptive purposes+only. Their use does not imply any affiliation with or endorsement by those owners.diff --git a/README.md b/README.mdnew file mode 100644index 0000000..9879493--- /dev/null+++ b/README.md@@ -0,0 +1,83 @@+<!-- markdownlint-disable MD033 MD041 -->++# awesome-gamedev-agent-skills++An open, original collection of high-quality game-development **Agent Skills**+(`SKILL.md` files) plus a **master router** skill for AI coding agents.++<!-- badges -->+<!-- TODO: add badges (license, validator CI, skill count) once CI is set up -->++++> Status: early scaffolding. Skills are authored across multiple sessions; see+> [`docs/progress/INDEX.md`](docs/progress/INDEX.md) for the current build state.++## What this is++[Agent Skills](docs/SKILL-FORMAT.md) are small, focused capability files an AI coding+agent can load on demand. This repository provides:++- **Specialized skills** for major engines (Godot, Unity, Unreal), web engines, and+ other frameworks, plus cross-cutting **disciplines**, **genres**, and **workflows**.+- A **master router** skill that detects the engine and task from a request and points+ the agent at the right specialized skill — so you install once and let it route itself.++Every skill is written from primary documentation, version-pinned, and verified.++## Quick start (router)++> The router is authored in a later session. Once available:++1. Install the collection into your agent's skills directory (see+ [`docs/INSTALLATION.md`](docs/INSTALLATION.md)).+2. Ask your agent a game-dev question (e.g. "add a double jump to my Godot player").+3. The router detects the engine + task and loads the matching skill automatically.++## Catalog++> Tables are filled in as skills land. See [`skills/`](skills/) and+> [`docs/progress/INDEX.md`](docs/progress/INDEX.md) for current contents.++### Engines++| Engine | Skills | Folder |+|--------|:------:|--------|+| Godot | _pending_ | [`skills/godot/`](skills/godot/) |+| Unity | _pending_ | [`skills/unity/`](skills/unity/) |+| Unreal | _pending_ | [`skills/unreal/`](skills/unreal/) |+| Web engines | _pending_ | [`skills/web-engines/`](skills/web-engines/) |+| Other engines | _pending_ | [`skills/other-engines/`](skills/other-engines/) |++### Disciplines / Genres / Workflows++| Category | Skills | Folder |+|----------|:------:|--------|+| Disciplines | _pending_ | [`skills/disciplines/`](skills/disciplines/) |+| Genres | _pending_ | [`skills/genres/`](skills/genres/) |+| Workflows | _pending_ | [`skills/workflows/`](skills/workflows/) |++## Compatibility++The portable core is the `SKILL.md` open standard, which works across multiple AI coding+agents. A compatibility matrix lives in [`docs/COMPATIBILITY.md`](docs/COMPATIBILITY.md).++## Contributing++Contributions are welcome. Read [`CONTRIBUTING.md`](CONTRIBUTING.md) and the authoring+standard in [`docs/SKILL-FORMAT.md`](docs/SKILL-FORMAT.md). Every skill must pass the+validator (`scripts/validate-skills.py`) and the rubric before merge.++## Repository layout++```+skills/ specialized skills, grouped by engine / discipline / genre / workflow+router/ the master router skill+docs/ authoring standard, installation, compatibility, build log+templates/ SKILL.md template+scripts/ validator and tooling+```++## License++[Apache-2.0](LICENSE). See [`NOTICE`](NOTICE) for attribution and trademark notes.diff --git a/docs/SKILL-FORMAT.md b/docs/SKILL-FORMAT.mdnew file mode 100644index 0000000..6e23ad5--- /dev/null+++ b/docs/SKILL-FORMAT.md@@ -0,0 +1,166 @@+# Skill Authoring Standard++This is the canonical standard for every skill in this repository. It is the+contract that keeps 60+ skills, written across many sessions, consistent and+high quality. Read it fully before authoring or reviewing a skill.++> Format basis: the **Agent Skills open standard** (agentskills.io) used by Claude+> Code, the Claude Agent SDK, Kiro, and compatible agents.++---++## 1. What a skill is++A skill is a **directory** containing a `SKILL.md` file and, optionally,+supporting folders. The agent pre-loads only the `name` + `description` of every+skill; it reads the body **on demand**, and reads bundled files **only when+needed**. This is *progressive disclosure* — design for it.++```+skills/<category>/<skill-name>/+├── SKILL.md # required — the playbook (keep < 500 lines)+├── references/ # optional — deep docs the agent reads on demand+│ └── *.md+├── scripts/ # optional — runnable, deterministic helpers+│ └── *.{py,sh,gd,...}+└── assets/ # optional — templates, configs, sample files+```++---++## 2. Frontmatter (required + optional fields)++```yaml+---+name: godot-tilemap # REQUIRED. ≤64 chars. lowercase a-z, 0-9, hyphens.+ # No leading/trailing hyphen. MUST equal the folder name.+description: > # REQUIRED. ≤1024 chars. Third person.+ Build and edit TileMaps/TileSets in Godot 4 — terrain autotiling, collision and+ navigation layers, custom tile data, and runtime tile updates. Use when the user+ is building 2D levels, tile-based worlds, or asks about TileMap/TileSet in Godot.+license: Apache-2.0 # optional+compatibility: Godot 4.2+ # optional, ≤500 chars (engine/runtime/network needs)+metadata: # optional, arbitrary key/values+ engine: godot+ category: godot+ difficulty: intermediate+# allowed-tools: ... # optional, experimental — usually omit+---+```++### Writing the `description` (this is the most important line you write)+The agent decides whether to trigger the skill almost entirely from `name` ++`description`. A weak description = a skill that never fires or fires wrongly.++- Lead with **what it does**, then **when to use it** ("Use when …").+- Include the concrete **trigger vocabulary** a user would actually type+ (engine name, node/class names, genre words, file types).+- Be specific and disambiguating. `godot-2d-platformer` should not fire for a 3D FPS.+- Third person, no "I". No marketing adjectives ("amazing", "best").++---++## 3. Body structure (the SKILL.md playbook)++Keep it scannable, imperative, and lean. Recommended sections:++1. **Title + one-line purpose.**+2. **When to use / when not to use** — sharpen the trigger boundary.+3. **Core workflow** — numbered, decision-oriented steps the agent follows.+4. **Key patterns / recipes** — short, correct, idiomatic code blocks for the+ most common tasks. Show the *right* way; name the *wrong* way to avoid.+5. **Pitfalls & gotchas** — version traps, performance footguns, common bugs.+6. **References** — point to `references/*.md` for depth ("For X, read references/x.md").+ Push long tables, API dumps, and rarely-needed detail into `references/`.++Principles:+- **Procedural, not encyclopedic.** Tell the agent *how to act*, not everything known.+- **Decisions first.** Help the agent choose between approaches for the situation.+- **One responsibility per skill.** If it sprawls, split it and let the router compose.+- **< 500 lines.** If you exceed it, move detail into `references/`.++---++## 4. Code & technical accuracy++- Code must be **correct and idiomatic** for the stated engine version. Do not invent+ APIs, signals, or methods. When unsure, verify against **primary docs** (official+ engine documentation) via Firecrawl before writing.+- **Pin versions.** State the engine/runtime version the patterns target+ (e.g., "Godot 4.3", "Unity 6 / 2022 LTS", "Unreal 5.4", "Bevy 0.14").+- Prefer **minimal, runnable** snippets over large dumps. Each snippet should make one point.+- Note breaking changes between major versions where it matters (e.g., Godot 3 → 4).+- `scripts/` are for **deterministic** helpers the agent can run (generators, validators,+ converters). Make them self-contained and documented at the top.++---++## 5. Originality & licensing (mandatory)++- **Write from scratch from primary sources.** Other repos/skills may be studied for+ *structure and ideas only*. Never paste their prose or code.+- Cite **primary documentation** (official engine/framework docs) as the source of truth,+ not third-party skills.+- All skills are licensed **Apache-2.0** (repo default). If a pattern is genuinely derived+ from a permissively licensed source, attribute it in `NOTICE`.+- The QA session runs an originality pass; anything resembling copied content is rewritten.++---++## 6. Quality rubric (a skill ships only if every box is true)++- [ ] Folder name = `name` = lowercase/hyphen, ≤64 chars, unique in the repo.+- [ ] `description` ≤1024 chars; states what + when; contains real trigger words; disambiguated.+- [ ] `SKILL.md` < 500 lines; depth pushed to `references/`.+- [ ] Body has: when-to-use, core workflow, ≥2 correct code patterns, pitfalls, references.+- [ ] All code is version-pinned, idiomatic, and verified against primary docs (no invented APIs).+- [ ] Original prose & code — no copied content; primary sources cited.+- [ ] No growth/marketing language. No secrets. No external network calls in scripts unless documented.+- [ ] Renders cleanly as Markdown; valid YAML frontmatter; internal links resolve.+- [ ] Passes the validator (`scripts/validate-skills.*` — added in the scaffolding session).++---++## 7. Cross-agent compatibility++The `SKILL.md` open standard is the portable core. Notes:+- **Claude Code / Kiro / Claude Agent SDK:** consume `SKILL.md` natively.+- **Cursor / Windsurf / Cline / Gemini CLI / Codex:** support varies; we ship a thin+ compatibility doc (`docs/COMPATIBILITY.md`) and, where useful, generated adapters+ (e.g., rules files) rather than forking each skill. Never embed agent-specific hacks+ in the core `SKILL.md`.++---++## 8. Example: a minimal, correct skill++```markdown+---+name: love2d-core+description: >+ Structure a LÖVE (Love2D) game in Lua — the love.load/update/draw loop, delta-time+ movement, input handling, and state stacks. Use when building or debugging a Love2D+ (.love) game or when the user mentions LÖVE, love.run, or main.lua.+license: Apache-2.0+compatibility: LÖVE 11.x (Lua 5.1/LuaJIT)+metadata: { engine: love2d, category: other-engines, difficulty: beginner }+---++# Love2D Core++Use when starting or debugging a LÖVE game. Not for asset art or shader work+(see `disciplines/shader-programming`).++## Core workflow+1. Confirm `main.lua` defines `love.load`, `love.update(dt)`, `love.draw`.+2. Drive all motion by `dt` (frame-rate independence). ...++## Patterns+... correct, version-pinned Lua snippets ...++## Pitfalls+- Forgetting `dt` → speed varies with FPS. ...++## References+- For state management, read `references/state-stack.md`.+```diff --git a/docs/progress/INDEX.md b/docs/progress/INDEX.mdnew file mode 100644index 0000000..30b6748--- /dev/null+++ b/docs/progress/INDEX.md@@ -0,0 +1,34 @@+# Build progress — INDEX++Public, value-focused build log for **awesome-gamedev-agent-skills**. Each session+records what it produced in `docs/progress/SESSION-XX-*.md`; this index tracks status.++Status legend: ⬜ pending · 🟦 in progress · ✅ done++| # | Session | Wave | Status | Notes / link |+|-----|---------|:----:|:------:|--------------|+| S01 | Landscape & skill-craft teardown | 1 | ✅ | [SESSION-01-landscape.md](SESSION-01-landscape.md) — 40+ sources triaged, 19 deep |+| S02 | Format & cross-agent compatibility | 1 | ✅ | [SESSION-02-format-compat.md](SESSION-02-format-compat.md) — compat matrix (9 surfaces), portable-core/adapter rule, install snippets, 26-check validator spec |+| S03 | Domain taxonomy & source map | 1 | ⬜ | — |+| S04 | Repo scaffolding & infrastructure | 1 | 🟦 | this session |+| S05 | Standards lock & router spec (gate) | 2 | ⬜ | — |+| S06 | Author: Godot skills | 3 | ⬜ | — |+| S07 | Author: Unity + Unreal skills | 3 | ⬜ | — |+| S08 | Author: Web + other engines | 3 | ⬜ | — |+| S09 | Author: Disciplines | 3 | ⬜ | — |+| S10 | Author: Genres | 3 | ⬜ | — |+| S11 | Author: Workflows | 3 | ⬜ | — |+| S12 | Master router skill (+ integrate) | 4 | ⬜ | — |+| S13 | QA, validation & originality audit | 5 | ⬜ | — |+| S14 | README & docs polish | 6 | ⬜ | — |+| S15 | Final consolidation & release | 6 | ⬜ | — |+| S16 | Launch / go-to-market | 6 | ⬜ | — |++## Waves++- **Wave 1** (S01–S04): research, format/compat, taxonomy, and repo scaffolding — run in parallel.+- **Wave 2** (S05): standards + taxonomy + router spec locked (gate).+- **Wave 3** (S06–S11): author the skills in parallel.+- **Wave 4** (S12): build the master router and integrate.+- **Wave 5** (S13): QA, validation, originality audit.+- **Wave 6** (S14–S16): docs polish → release → launch.diff --git a/docs/progress/SESSION-01-landscape.md b/docs/progress/SESSION-01-landscape.mdnew file mode 100644index 0000000..6b4d658--- /dev/null+++ b/docs/progress/SESSION-01-landscape.md@@ -0,0 +1,82 @@+# Session 01 — Landscape & Skill-Craft Teardown++> Public build-log entry. Value-focused only. No growth/marketing/strategy language.++- **Session:** S01+- **Wave:** 1+- **Date (UTC):** 2026-06-24+- **Depends on:** none+- **Status:** complete+- **Branch / commits:** none this session — S01 only writes files; Wave-1 outputs are+ committed later in the build process (no git performed here).++## Objective+Study how existing AI-agent **Agent Skills** collections are built — game-dev ones plus the+strongest general collections — and distil concrete, primary-source-grounded principles for+what makes a skill excellent versus weak, to sharpen our authoring standard and catalog.+Research only: no skills authored, patterns studied but never copied.++## What was produced+- `plan/research/01-landscape.md` — full teardown: a multi-group sources table, in-depth+ studies of the strongest collections, "what great skills do", anti-patterns, repo/README+ conventions, gaps & opportunities, and a publishable "lessons for our authoring standard"+ (L1–L10) that S05 can fold into `docs/SKILL-FORMAT.md`.+- `plan/research/_scratch-sources.md` — raw triage notes and the complete source list.+- This progress entry.++## Coverage+- **40+ sources triaged**; **19 studied in depth** across four areas: the open standard and+ runtime docs, general-collection flagships, Godot game-dev collections, and+ multi-engine/studio collections plus curation sites.+- Findings cross-checked: every headline repository statistic was verified against the+ authoritative GitHub API rather than taken from page estimates.++## Key decisions / takeaways+- **Description is the routing rule.** The single highest-leverage line in a skill is the+ `description`: it must state what the skill does, when to use it, and the exact words a+ developer types (engine + version, node/class names, file types, genre), lead with the+ primary use case, and fit the retrieval budget.+- **Progressive disclosure with explicit budgets.** Tiny always-loaded metadata; a lean+ `SKILL.md` body (target <500 lines) focused on how to act; depth in `references/`,+ deterministic helpers in `scripts/`, templates in `assets/`.+- **One responsibility per skill**, split by gameplay system and node/class, composed by a+ catalog/router rather than collapsed into broad mega-skills.+- **Pin versions and verify against primary docs**; note API changes across engine versions;+ never invent APIs. For games, **verify by running/observing** (headless runs, screenshots,+ playtests), not by assuming compilation implies correctness.+- **Enforce the standard mechanically** (validator + CI: `name` == folder, required+ frontmatter, description quality, size/token budget, resolved cross-references,+ originality) and keep the `SKILL.md` core agent-neutral for portability.+- **A master router is a high-value capability.** Existing collections require hand-picking+ skills or rely on orchestrators / studio hierarchies / static index skills. An+ install-once router that detects the engine and task and dispatches to the right+ specialized skill is a worthwhile architecture for our collection.++## Verification+- Source-coverage check: ≥40 sources triaged and ≥15 studied in depth — met (40+ / 19).+- Repository statistics verified against `api.github.com` (2026-06-24).+- Deliverable check: sources table + distilled lessons + opportunities + a publishable,+ value-only lessons section all present in `plan/research/01-landscape.md`.+- Skills authored: 0 (research-only session); rubric in `docs/SKILL-FORMAT.md` not+ applicable this session.++## Sources consulted (primary docs)+- agentskills.io/specification — the Agent Skills open standard: frontmatter fields, naming+ grammar, and the three-tier progressive-disclosure budgets.+- code.claude.com/docs/en/skills — Claude Code authoring/runtime: description retrieval+ budget, `when_to_use`, invocation-control fields, subagent dispatch, discovery rules.+- platform.claude.com — Agent Skills overview (API view of skills as modular capabilities).+- developers.openai.com/codex/skills — Codex CLI skill discovery and cross-agent layout.+- anthropic.com/engineering — design rationale for progressive disclosure and+ description-driven activation.++## Handoff to next sessions+- **S05 (standards lock & router spec):** adopt the open standard as the floor and layer+ lessons L1–L10 into `docs/SKILL-FORMAT.md`; treat the master router as the headline+ architecture; turn the anti-patterns list into validator/QA checks.+- **S03 (taxonomy & source map):** use the sources table as a starting map of the space.+- **S04 (scaffolding/validator):** the anti-patterns and conventions define concrete+ validator rules (naming, frontmatter, size/token budget, link integrity, originality).++## If partial — remaining work+- None. Session complete.diff --git a/docs/progress/SESSION-02-format-compat.md b/docs/progress/SESSION-02-format-compat.mdnew file mode 100644index 0000000..31bae5d--- /dev/null+++ b/docs/progress/SESSION-02-format-compat.md@@ -0,0 +1,73 @@+# Session 02 — Format & Cross-Agent Compatibility++> Public build-log entry. Value-focused only.++- **Session:** S02+- **Wave:** 1+- **Date (UTC):** 2026-06-24+- **Depends on:** none+- **Status:** complete+- **Branch / commits:** none (Wave-1 research session — no git performed)++## Objective+Establish the definitive compatibility + packaging reference for the collection: confirm the+portable `SKILL.md` open standard and document exactly how each target AI coding agent discovers,+installs, and triggers a skill — so our skills install everywhere and the validator checks the+right things.++## What was produced+- **Cross-agent compatibility reference** (full per-agent breakdown + matrix + portable-core rule+ + install snippets + validator spec). Feeds the public `docs/COMPATIBILITY.md` (published in S05)+ and `docs/INSTALLATION.md` (S14).+- **Compatibility matrix** covering Claude Code, Claude Agent SDK, Claude.ai, Kiro, Gemini CLI,+ Codex CLI, Cursor, Windsurf, Cline (native-skills? × format × install path × trigger × adapter?).+- **Validator check-list** (26 checks, ERROR/WARN severities) specifying S04's `scripts/validate-skills`.+- **Adapter strategy** for the three rules-based editors (generated, never hand-forked).++## Key decisions+- **The portable core is the Agent Skills open standard `SKILL.md`** — only `name`, `description`,+ and the optional `license`/`compatibility`/`metadata` fields live in a committed skill. No+ agent-specific frontmatter is ever baked into the source.+- **Five surfaces consume our `SKILL.md` natively:** Claude Code, Claude Agent SDK, Claude.ai+ (zip upload), Kiro, Gemini CLI, Codex CLI. The cross-client drop-in directory is+ `.agents/skills/<name>/SKILL.md` (read natively by Codex and Gemini); Claude Code uses+ `.claude/skills/`, Kiro uses `.kiro/skills/`.+- **Cursor, Windsurf, and Cline are rules-based** (`.mdc` / `.md` rules), not skill-based. We+ **generate** a rules file per skill into `scripts/adapters/<target>/` rather than forking skills.+ Cline has no description-driven trigger, so its adapter folds the description into the body.+- **`name` must equal its folder name** and match `^[a-z0-9]+(-[a-z0-9]+)*$`; `description` ≤1024,+ but a soft ≤200-char target keeps skills uploadable to Claude.ai.+- **Steering ≠ skills (Kiro):** steering is Kiro-only persistent project context; skills are the+ portable, on-demand, model-invoked capability packages — our product is skills.++## Verification+- Open-standard frontmatter fields/limits, directory rules, and progressive-disclosure tiers were+ verified directly against the canonical specification (`agentskills.io/specification`).+- Kiro's skill mechanism (`.kiro/skills/` + `~/.kiro/skills/`, `skill://` resources, `/skill-name`,+ frontmatter fields) was verified directly against the primary Kiro CLI docs (updated 2026-05-12).+- Remaining agents were researched in parallel against their primary/official docs; each claim in+ the reference carries a source URL, and items not re-verified in-session are flagged for a+ direct re-check at S05.+- Skills authored: 0 (research session). No code changed; nothing to build.++## Sources consulted (primary docs)+- `https://agentskills.io/specification` — open-standard frontmatter, limits, disclosure (verified).+- `https://kiro.dev/docs/cli/skills/` — Kiro skill paths, `skill://`, triggers (verified).+- `https://docs.claude.com/en/docs/claude-code/skills` and `/en/api/agent-sdk/skills` — Claude Code + SDK.+- `support.claude.com` skills articles — Claude.ai zip upload + limits.+- `https://docs.cursor.com/context/rules`, `https://docs.windsurf.com/plugins/cascade/memories`,+ `https://docs.cline.bot/customization/cline-rules` — rules formats.+- `github.com/google-gemini/gemini-cli` docs and `https://developers.openai.com/codex/skills` — Gemini + Codex.++## Handoff to next sessions+- **S04** implements the validator check-list as `scripts/validate-skills.*` and builds the adapter+ generator + install helper under `scripts/`.+- **S05** publishes `docs/COMPATIBILITY.md` from this reference and folds format refinements+ (e.g. the Claude.ai 200-char portability note) into `docs/SKILL-FORMAT.md`.+- **S14** finalizes the per-agent install snippets into `docs/INSTALLATION.md`.++## If partial — remaining work+- Not partial. Follow-up (non-blocking) flags for downstream sessions:+ - [ ] Re-verify Claude Code / Gemini / Codex install paths directly at S05.+ - [ ] Confirm Windsurf's current per-file character cap against live docs.+ - [ ] Decide whether generated adapters are committed or treated as build artifacts.diff --git a/docs/progress/SESSION-03-taxonomy.md b/docs/progress/SESSION-03-taxonomy.mdnew file mode 100644index 0000000..dd547bf--- /dev/null+++ b/docs/progress/SESSION-03-taxonomy.md@@ -0,0 +1,64 @@+# Session S03 — Domain Taxonomy & Source Map++> Public build-log entry. Value-focused only.++- **Session:** S03+- **Wave:** 1+- **Date (UTC):** 2026-06-24+- **Depends on:** none+- **Status:** complete+- **Branch / commits:** none this session (Wave-1 writes files only; S04 initializes git, S05 commits Wave-1 outputs)++## Objective+Freeze the v1 skill catalog (62 skills across 8 categories, Godot deepest) and build an+authoritative source map of **verified official-documentation URLs** so authoring sessions+never have to re-discover where to learn each topic.++## What was produced+- `plan/research/03-taxonomy-sources.md` — the catalog + source map: one table per category+ with each skill's final name, one-line scope, target version, difficulty, 2–4 verified+ primary-doc URLs, and router signals (file detection + phrase triggers); plus an+ overlaps/composition section and per-category counts.++## Key decisions+- **62 skills, quality-first**, distributed godot 15 · unity 8 · unreal 6 · web-engines 6 ·+ other-engines 5 · disciplines 9 · genres 9 · workflows 4. Counts chosen for+ single-responsibility coverage, not totals.+- **Engine vs concept split.** Engine skills teach the engine's API; `disciplines/*` teach+ the portable concept and defer to the detected engine skill (e.g. `godot-audio` ↔+ `audio-design`, `unity-input-system`/`unreal-enhanced-input` ↔ `input-systems`).+- **Genres are compositional** — they orchestrate engine + discipline skills into a working+ template and never re-teach primitives; the router composes them.+- **Version pinning** captured per skill: Godot 4.x stable, Unity 6 LTS, Unreal 5.4+,+ Phaser 3.90, PixiJS v8, three.js r165+, Bevy 0.16+ (pin hard), pygame 2.6, LÖVE 11.5.+- Dropped a separate `godot-save-load` in favour of cross-engine `save-systems`; gave Roblox+ a dedicated `roblox-datastores` skill because its persistence model is distinct.++## Verification+- Primary-doc URLs checked with **Firecrawl** (`firecrawl_map` + `firecrawl_scrape`) on+ 2026-06-24. Every domain's canonical root and a representative set of cited deep links+ returned **HTTP 200** / valid index. A small number of pages are cited by their+ identical, confirmed slug pattern (marked **†** in the catalog) for later re-verification.+- Correction surfaced and recorded: **Bevy's official site is now `bevy.org`** (not+ `bevyengine.org`); Unity docs serve the 6.5 manual; Unreal docs serve UE 5.8.+- Skills authored: 0 (this is a taxonomy/source-map session). All 62 names validated as+ spec-compliant: lowercase-hyphen, ≤64 chars, unique, equal to folder names.++## Sources consulted (primary docs)+- `https://docs.godotengine.org/en/stable/` — Godot class reference + tutorials + getting-started.+- `https://docs.unity3d.com/Manual/` — Unity 6 manual (input, physics, animation, data, build).+- `https://dev.epicgames.com/documentation/en-us/unreal-engine/` — UE 5.8 (Blueprints, C++, Enhanced Input, Behavior Trees, Niagara, packaging).+- `https://docs.phaser.io/`, `https://pixijs.com/8.x/guides/`, `https://threejs.org/manual` — web engines.+- `https://bevy.org/learn/`, `https://www.pygame.org/docs/`, `https://love2d.org/wiki/love`, `https://create.roblox.com/docs` — other engines.+- `https://docs.yarnspinner.dev/`, `https://www.inklestudios.com/ink/` — dialogue tooling.+- `https://partner.steamgames.com/doc/home`, `https://itch.io/docs/creators/getting-started`, `https://itch.io/docs/butler` — publishing workflows.++## Handoff to next sessions+- **S05** can freeze the 62 names into `skills/<category>/<name>/` and draft the router spec+ directly from the *Router signals* columns.+- **S06–S11** author from the *Primary sources* columns (re-verify the exact page and pin to+ the listed version before writing code).+- **S12** uses the overlaps/composition rules to build the master router.++## If partial — remaining work+- None. Catalog and source map complete. (No git this session by Wave-1 rule.)diff --git a/router/README.md b/router/README.mdnew file mode 100644index 0000000..3c540f0--- /dev/null+++ b/router/README.md@@ -0,0 +1,9 @@+# router/++Home of the **master router** skill (`SKILL.md`), authored in a later session.++The router auto-detects the engine and task from a request and points the agent to the+right specialized skill in [`../skills/`](../skills/), so the collection installs once+and routes itself instead of requiring manual skill selection.++See [`../docs/SKILL-FORMAT.md`](../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/scripts/guard.py b/scripts/guard.pynew file mode 100644index 0000000..41776ae--- /dev/null+++ b/scripts/guard.py@@ -0,0 +1,62 @@+#!/usr/bin/env python3+"""preToolUse guard for the gamedev-skills-builder agent.++Reads the hook payload as JSON from stdin and inspects the proposed shell command+(``tool_input.command``). If the command matches a destructive git pattern, it prints+a warning to stderr and exits 2 to block the call. Otherwise it exits 0.++This is a safety net, not a policy engine: it only blocks the clearly destructive,+hard-to-reverse git operations. Non-git commands and ordinary git usage pass through.+"""++from __future__ import annotations++import json+import re+import sys++# Patterns for destructive / hard-to-reverse git operations.+DESTRUCTIVE_PATTERNS: list[tuple[str, re.Pattern[str]]] = [+ ("force push", re.compile(r"\bgit\b.*\bpush\b.*(--force\b|--force-with-lease\b|(?<!\w)-f\b)")),+ ("hard reset", re.compile(r"\bgit\b.*\breset\b.*--hard\b")),+ ("force clean", re.compile(r"\bgit\b.*\bclean\b.*(?:-[a-eg-z]*f|--force)")),+ ("force branch delete", re.compile(r"\bgit\b.*\bbranch\b.*(?<!\w)-D\b")),+ ("force checkout delete", re.compile(r"\bgit\b.*\bcheckout\b.*-B\b")),+ ("rebase", re.compile(r"\bgit\b.*\brebase\b")),+ ("recursive git rm", re.compile(r"\bgit\b.*\brm\b.*-[a-z]*r[a-z]*f|\bgit\b.*\brm\b.*-[a-z]*f[a-z]*r")),+ ("update-ref delete", re.compile(r"\bgit\b.*\bupdate-ref\b.*-d\b")),+]+++def main() -> int:+ raw = sys.stdin.read()+ if not raw.strip():+ return 0+ try:+ payload = json.loads(raw)+ except json.JSONDecodeError:+ # Can't parse — don't block, just allow.+ return 0++ tool_input = payload.get("tool_input") or payload.get("toolInput") or {}+ command = ""+ if isinstance(tool_input, dict):+ command = tool_input.get("command") or tool_input.get("cmd") or ""+ if not isinstance(command, str) or not command.strip():+ return 0++ lowered = command.lower()+ for label, pattern in DESTRUCTIVE_PATTERNS:+ if pattern.search(lowered):+ sys.stderr.write(+ f"[guard] Blocked a potentially destructive git operation ({label}): "+ f"{command.strip()}\n"+ "[guard] If this is intentional, run it yourself outside the agent.\n"+ )+ return 2++ return 0+++if __name__ == "__main__":+ sys.exit(main())diff --git a/scripts/validate-skills.py b/scripts/validate-skills.pynew file mode 100644index 0000000..ae5df0d--- /dev/null+++ b/scripts/validate-skills.py@@ -0,0 +1,186 @@+#!/usr/bin/env python3+"""Validator for awesome-gamedev-agent-skills.++Checks every ``skills/**/SKILL.md`` and ``router/SKILL.md`` against the authoring+standard in ``docs/SKILL-FORMAT.md``:++* valid YAML frontmatter delimited by ``---`` lines;+* ``name`` present, <=64 chars, lowercase ``a-z``/``0-9``/hyphens, no leading or+ trailing hyphen, and equal to the containing folder name;+* ``description`` present, non-empty, <=1024 chars;+* the file is shorter than 500 lines;+* every internal ``references/`` link in the body resolves to a real file.++Exits 0 when everything passes, 1 when any skill fails. No third-party deps.++Usage:+ python scripts/validate-skills.py+"""++from __future__ import annotations++import re+import sys+from pathlib import Path++NAME_RE = re.compile(r"^[a-z0-9]+(?:-[a-z0-9]+)*$")+MAX_NAME = 64+MAX_DESCRIPTION = 1024+MAX_LINES = 500++REPO_ROOT = Path(__file__).resolve().parent.parent++# Markdown links: [text](target) and inline-code paths: `references/foo.md`+MD_LINK_RE = re.compile(r"\[[^\]]*\]\(([^)]+)\)")+CODE_PATH_RE = re.compile(r"`([^`]*references/[^`]+?\.md)`")+++def find_skill_files() -> list[Path]:+ files: list[Path] = []+ skills_dir = REPO_ROOT / "skills"+ if skills_dir.is_dir():+ files.extend(sorted(skills_dir.rglob("SKILL.md")))+ router = REPO_ROOT / "router" / "SKILL.md"+ if router.is_file():+ files.append(router)+ return files+++def split_frontmatter(text: str) -> tuple[dict, int] | tuple[None, int]:+ """Return (frontmatter_dict, body_start_line) or (None, 0) if missing/malformed.++ Minimal YAML: supports ``key: value`` and a folded/literal block scalar+ (``key: >`` or ``key: |``) whose value is the following more-indented lines.+ Sufficient for the ``name`` and ``description`` fields we validate.+ """+ lines = text.splitlines()+ if not lines or lines[0].strip() != "---":+ return None, 0++ end = None+ for i in range(1, len(lines)):+ if lines[i].strip() == "---":+ end = i+ break+ if end is None:+ return None, 0++ fm: dict[str, str] = {}+ i = 1+ key_line_re = re.compile(r"^([A-Za-z0-9_-]+):\s*(.*)$")+ while i < end:+ raw = lines[i]+ if not raw.strip() or raw.lstrip().startswith("#"):+ i += 1+ continue+ # only treat top-level (non-indented) keys as fields+ if raw[:1] in (" ", "\t"):+ i += 1+ continue+ m = key_line_re.match(raw)+ if not m:+ i += 1+ continue+ key, inline = m.group(1), m.group(2).strip()+ if inline in (">", "|", ">-", "|-", ">+", "|+"):+ # block scalar: collect following indented lines+ block: list[str] = []+ j = i + 1+ while j < end:+ bl = lines[j]+ if bl.strip() == "":+ block.append("")+ j += 1+ continue+ if bl[:1] in (" ", "\t"):+ block.append(bl.strip())+ j += 1+ else:+ break+ fm[key] = " ".join(p for p in block if p != "").strip()+ i = j+ else:+ fm[key] = inline.strip().strip('"').strip("'")+ i += 1+ return fm, end + 1+++def validate_file(path: Path) -> list[str]:+ errors: list[str] = []+ rel = path.relative_to(REPO_ROOT).as_posix()+ text = path.read_text(encoding="utf-8")++ # line count+ line_count = len(text.splitlines())+ if line_count >= MAX_LINES:+ errors.append(f"file is {line_count} lines (must be < {MAX_LINES})")++ fm, _ = split_frontmatter(text)+ if fm is None:+ errors.append("missing or malformed YAML frontmatter (need opening and closing '---')")+ return [f"{rel}: {e}" for e in errors]++ # name+ name = fm.get("name", "")+ folder = path.parent.name+ if not name:+ errors.append("frontmatter 'name' is missing or empty")+ else:+ if len(name) > MAX_NAME:+ errors.append(f"'name' is {len(name)} chars (max {MAX_NAME})")+ if not NAME_RE.match(name):+ errors.append(+ f"'name' = {name!r} must be lowercase a-z/0-9/hyphens with no leading/trailing hyphen"+ )+ # router/SKILL.md lives in 'router'; skills live in their own folder+ if name != folder:+ errors.append(f"'name' = {name!r} must equal folder name {folder!r}")++ # description+ desc = fm.get("description", "")+ if not desc:+ errors.append("frontmatter 'description' is missing or empty")+ elif len(desc) > MAX_DESCRIPTION:+ errors.append(f"'description' is {len(desc)} chars (max {MAX_DESCRIPTION})")++ # internal references/ links resolve+ targets = set(MD_LINK_RE.findall(text)) | set(CODE_PATH_RE.findall(text))+ for target in targets:+ link = target.strip()+ # ignore external links and pure anchors+ if link.startswith(("http://", "https://", "#", "mailto:")):+ continue+ link = link.split("#", 1)[0].split("?", 1)[0]+ if not link:+ continue+ if "references/" not in link:+ continue+ resolved = (path.parent / link).resolve()+ if not resolved.exists():+ errors.append(f"reference link does not resolve: {target!r}")++ return [f"{rel}: {e}" for e in errors]+++def main() -> int:+ files = find_skill_files()+ if not files:+ print("No SKILL.md files found yet (skills/** and router/ are empty). OK.")+ return 0++ all_errors: list[str] = []+ for path in files:+ all_errors.extend(validate_file(path))++ print(f"Validated {len(files)} skill file(s).")+ if all_errors:+ print(f"\nFAILED — {len(all_errors)} problem(s):")+ for e in all_errors:+ print(f" - {e}")+ return 1+ print("All checks passed.")+ return 0+++if __name__ == "__main__":+ sys.exit(main())diff --git a/skills/README.md b/skills/README.mdnew file mode 100644index 0000000..e3ee31b--- /dev/null+++ b/skills/README.md@@ -0,0 +1,20 @@+# skills/++The skill collection, organized by category:++| Category | Folder | Scope |+|----------|--------|-------|+| Godot | [`godot/`](godot/) | Godot Engine (GDScript, scenes, nodes) |+| Unity | [`unity/`](unity/) | Unity (C#, GameObjects, prefabs) |+| Unreal | [`unreal/`](unreal/) | Unreal Engine (C++, Blueprints) |+| Web engines | [`web-engines/`](web-engines/) | Phaser, PixiJS, three.js, Babylon.js |+| Other engines | [`other-engines/`](other-engines/) | Bevy, GameMaker, LÖVE, MonoGame, … |+| Disciplines | [`disciplines/`](disciplines/) | Cross-engine craft (AI, physics, audio, shaders, …) |+| Genres | [`genres/`](genres/) | Genre mechanics (platformer, RPG, shooter, …) |+| Workflows | [`workflows/`](workflows/) | Setup, asset pipelines, profiling, shipping |++Each skill is a folder with a `SKILL.md`. The folder name must equal the skill's+`name` frontmatter field. The master router lives in [`../router/`](../router/).++See [`../docs/SKILL-FORMAT.md`](../docs/SKILL-FORMAT.md) for the authoring standard and+[`../CONTRIBUTING.md`](../CONTRIBUTING.md) for how to add a skill.diff --git a/skills/disciplines/README.md b/skills/disciplines/README.mdnew file mode 100644index 0000000..474cf22--- /dev/null+++ b/skills/disciplines/README.md@@ -0,0 +1,10 @@+# Discipline skills++Cross-engine Agent Skills organized by game-development discipline — for example+gameplay programming, physics, AI, audio, shaders/graphics, UI/UX, networking,+tools, and performance optimization.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/genres/README.md b/skills/genres/README.mdnew file mode 100644index 0000000..34a94e5--- /dev/null+++ b/skills/genres/README.md@@ -0,0 +1,10 @@+# Genre skills++Cross-engine Agent Skills organized by game genre — for example platformers,+top-down/RPG, shooters, puzzle, tower defense, roguelike, and racing — covering the+mechanics and systems characteristic of each.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/godot/README.md b/skills/godot/README.mdnew file mode 100644index 0000000..84e5356--- /dev/null+++ b/skills/godot/README.md@@ -0,0 +1,9 @@+# Godot skills++Agent Skills for the [Godot Engine](https://godotengine.org/) — GDScript, scenes,+nodes, physics, rendering, export, and tooling.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/other-engines/README.md b/skills/other-engines/README.mdnew file mode 100644index 0000000..6038b69--- /dev/null+++ b/skills/other-engines/README.md@@ -0,0 +1,10 @@+# Other engine skills++Agent Skills for additional engines and frameworks such as+[Bevy](https://bevyengine.org/), [GameMaker](https://gamemaker.io/),+[LÖVE](https://love2d.org/), [MonoGame](https://monogame.net/), and others.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/unity/README.md b/skills/unity/README.mdnew file mode 100644index 0000000..820c215--- /dev/null+++ b/skills/unity/README.md@@ -0,0 +1,9 @@+# Unity skills++Agent Skills for the [Unity](https://unity.com/) engine — C# scripting, GameObjects+and components, prefabs, the rendering pipelines, physics, and build targets.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/unreal/README.md b/skills/unreal/README.mdnew file mode 100644index 0000000..41add68--- /dev/null+++ b/skills/unreal/README.md@@ -0,0 +1,9 @@+# Unreal Engine skills++Agent Skills for [Unreal Engine](https://www.unrealengine.com/) — C++ and Blueprints,+Actors and components, the gameplay framework, rendering, and packaging.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/web-engines/README.md b/skills/web-engines/README.mdnew file mode 100644index 0000000..fbc88a3--- /dev/null+++ b/skills/web-engines/README.md@@ -0,0 +1,10 @@+# Web engine skills++Agent Skills for browser/JavaScript game engines and frameworks such as+[Phaser](https://phaser.io/), [PixiJS](https://pixijs.com/), [three.js](https://threejs.org/),+and [Babylon.js](https://www.babylonjs.com/).++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/skills/workflows/README.md b/skills/workflows/README.mdnew file mode 100644index 0000000..a19e679--- /dev/null+++ b/skills/workflows/README.md@@ -0,0 +1,10 @@+# Workflow skills++Cross-engine Agent Skills for development workflows — for example project setup,+asset pipelines, version control for games, profiling/debugging, testing,+CI/CD, and shipping/release.++Each subdirectory is one skill: a folder containing a `SKILL.md` (and optional+`references/`). Folder name must equal the skill's `name` frontmatter field.++See [`docs/SKILL-FORMAT.md`](../../docs/SKILL-FORMAT.md) for the authoring standard.diff --git a/templates/SKILL.template.md b/templates/SKILL.template.mdnew file mode 100644index 0000000..2960ddc--- /dev/null+++ b/templates/SKILL.template.md@@ -0,0 +1,39 @@+---+name: REPLACE-with-folder-name+description: >+ REPLACE. One or two sentences: what this skill does, then "Use when ..." with the+ concrete words a user would type (engine names, class/node names, genre, file types).+ Max 1024 characters. Third person. No marketing language.+license: Apache-2.0+compatibility: REPLACE (e.g., "Godot 4.3+", "Unity 6", "Unreal 5.4")+metadata:+ engine: REPLACE # godot | unity | unreal | phaser | bevy | ... | none+ category: REPLACE # godot | unity | unreal | web-engines | other-engines | disciplines | genres | workflows+ difficulty: REPLACE # beginner | intermediate | advanced+---++# REPLACE — Title++Short purpose line. Read the authoring standard at `docs/SKILL-FORMAT.md` before writing.++## When to use+- Use when ...+- Do NOT use for ... (point to the sibling skill that handles it)++## Core workflow+1. ...+2. ...+3. ...++## Patterns+<!-- 2-5 short, correct, version-pinned snippets. One point each. -->+```text+REPLACE with idiomatic, verified code.+```++## Pitfalls+- ...++## References+<!-- Push depth here so this file stays < 500 lines. -->+- For ___, read `references/___.md`.