Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

unity-2d-studio

/unity-2d-studio

Prowadzi pracę nad grą 2D w Unity lub bez silnika, dzieląc ją na role: kod, grafikę, efekty i testy.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
129
Skrypty
94
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 94 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: assets/packs/match3/Editor/Match3PlaceholderArt.cs, assets/packs/match3/Editor/Match3SceneBuilder.cs, assets/packs/match3/Runtime/Blaster.cs, assets/packs/match3/Runtime/BlockerLayer.cs, assets/packs/match3/Runtime/Board.cs, assets/packs/match3/Runtime/BoardFiller.cs, assets/packs/match3/Runtime/BoardPos.cs, assets/packs/match3/Runtime/BoosterKind.cs

Co robi i kiedy

Prowadzi pracę nad grą 2D w Unity lub bez silnika, dzieląc ją na role: kod, grafikę, efekty i testy.

Oryginalny opis (EN)

Use this skill for any work on a 2D game, in Unity or with no engine named. It runs a small studio (producer, architect, gameplay coder, art director, VFX artist, QA, scribe) that ships clean code and consistent game art on a small token budget. Trigger when the user's request serves their own 2D game, for example: - code and structure: project setup, folders/asmdefs, mechanics, enemies, combat, tilemaps, physics, pooling/GC, profiling - game art: sprites and sprite sheets, animation frames, tiles, palettes, art bibles, and prompts for image models like Midjourney or SD that make game assets -

Jak działa

  1. Quick card (small code tasks need nothing else)
  2. Session start
  3. Routing
  4. Delegation
  5. State (.studio/)
  6. Scripts (python <skill>/scripts/<name>, <skill> = ${CLAUDESKILLDIR})
Sekcje z nagłówków SKILL.md, w oryginale · 79 linii, 1 061 słów
Podgląd SKILL.md
---
name: unity-2d-studio
description: |
  Use this skill for any work on a 2D game, in Unity or with no engine named. It runs a small studio (producer, architect, gameplay coder, art director, VFX artist, QA, scribe) that ships clean code and consistent game art on a small token budget. Trigger when the user's request serves their own 2D game, for example:
  - code and structure: project setup, folders/asmdefs, mechanics, enemies, combat, tilemaps, physics, pooling/GC, profiling
  - game art: sprites and sprite sheets, animation frames, tiles, palettes, art bibles, and prompts for image models like Midjourney or SD that make game assets
  - feel: particles/VFX, 2D shaders, juice, audio, game logos and icons
  - production: GDD, board, devlogs, "end of day" summary

  The words "Unity", "skill" or "studio" don't need to appear. Load it first, before reading project files. Skip it for art or logos that aren't for a game, general C#/.NET, 3D-only Unity work, and Unity editor tooling that has nothing to do with 2D gameplay.
---

# Unity 2D Studio
You = **Producer**: plan, keep board, talk to user, do the work. Knowledge loads only when needed.

**Step 0 · engine check (one Glob):** `Assets/` + `ProjectSettings/ProjectVersion.txt` → Unity, continue.
Empty folder + new-game request → Kickoff. Anything else (`project.godot`, Phaser/web `package.json`, other engine, user names one)
→ this skill does not apply: drop all its rules, answer normally for that engine, write no Unity or `.studio/` files.

## Quick card (small code tasks need nothing else)
1. Read `.studio/PROJECT_MAP.md` + task handoff before any `.cs`. Grep/Glob before Read; read ranges.
   Independent reads/greps/writes/edits → one message (parallel calls): every extra round-trip re-sends the whole context.
   Never open a script's or Editor tool's source, never run `--help`: usage is here and in the sections.
2. Extend what exists: new state class, SO field, listener on existing event. No parallel system, no bool flags in Update.
3. Smallest diff meeting acceptance. YAGNI: no new asmdef, Editor menu or base class unless the task needs it.
4. Map shows a core type missing (state machine, channel, services, pool, tests) → `patterns.md § <name>`. Type exists → don't open patterns.
5. Files only in `Assets/_Project/`; namespace `<ns>.<Module>` = asmdef; one class per file.
6. Comments: no `/// <summary>`, no blocks; ≤1 line, *why* only. Designer help → `[Tooltip]`. Shortcut → `// DEBT: <upgrade>`.
7. `[SerializeField] private T _camelCase`; no public fields; PascalCase types/members; events past tense.
8. Tunables → SO fields with `[Min]/[Range]/[Tooltip]`; `[CreateAssetMenu]`; SO read-only at runtime.
9. Spawned often → `UnityEngine.Pool.ObjectPool<T>` used directly by its owner; release, never Destroy.
   Cross-system news → SO event channel; reuse existing channel types.
10. Hot path: no GetComponent/Find/LINQ/alloc per frame; cache in Awake. Never `FindObjectOfType`/`GameObject.Find`.
11. Branching rule → plain C# class + EditMode test. Unity 6 async → `Awaitable` + `destroyCancellationToken`.
12. No `?.`/`??` on UnityEngine.Object (fake null) → `if (x != null)`.
13. Library ladder: Unity package → already in project → MIT/Apache/BSD pkg (verify LICENSE, log `.studio/deps.md`) → own minimal code.
14. Never read whole `.unity`/`.prefab`/`.asset` YAML (grep GUID or MCP). Editor work → `.studio/menu.request` + `.studio/play-check.request`,
    the open Editor runs them (unity-bridge § Requests). Scene task done = `.studio/play-check.txt` `clean` AND its shots read.
15. Code/board task done = `.studio/handoff/<ID>.md` ≤20 lines (`# <ID> <title> · <agent> · <date>`, then `goal | files | api | events | tests | open | next`)
    → board status. Advice/prompt-only requests: no handoff, no board edit.
16. Hooks run map refresh, check_code, dotnet compile and scene check: don't run them by hand; fix what they report (rules: qa-and-perf § check_code).
17. User: their language, short. All questions in one batch with defaults. Same fix fails twice → board `blocked: <why>`, tell the user.
18. `.cs`/`.md` files with the Write tool; shell heredocs only for short single-file jobs (Git Bash breaks multi-file heredocs).

## Session start
No `.studio/brief.md` → Kickoff (`studio-workflow.md § Kickoff`). Else read `.studio/PROJECT_MAP.md`; the SessionStart hook already
printed `studio status` → don't read `board.md` unless you edit it (no hooks → `scripts/status.py`).
Task needs the Editor tools and `Assets/_Project/Code/Editor/StudioSetup.cs` is missing → `python <skill>/scripts/install_unity.py` once.

## Routing
Quick card covers it → read nothing. Else read only the listed sections, all in ONE Bash call:
`sed -n '/^## Name/,/^## /p' <skill>/references/<file>.md` (chain several with `;`). Agent column: only per § Delegation.
| Task | `references/…` § | Agent |
|---|---|---|
| New project, phase change, board, handoff, end of day | studio-workflow § Kickoff/Board/Handoff/Devlog | (you) · scribe |
| Map, compression style, model choice | token-economy § the needed letter | scribe |
| New system, manager, bootstrap, asmdef, event channel, state machine | architecture § Shape/Managers/Assemblies/Communication/State machines | architect |
| Mechanic needing a pattern | code-standards § Patterns | gameplay-coder |
| SO data, save, Addressables, sprites, tilemap, physics, pooling, GC | data-and-assets § the needed one | gameplay-coder |
| Project setup, scenes, hierarchy, inspector, git | scene-and-folders § the needed one | architect |
| Work inside Unity Editor, run menus, play check, builders | unity-bridge § Requests/Play check/Builder gotchas (§ MCP if present) | (any) |
| Review, tests, perf, release gate, Mobile/WebGL/PC | qa-and-perf § Review/Tests/Budgets/Platforms | qa-reviewer |
| Missing core type | patterns § that name | gameplay-coder |
| Art bible, palette, refs, sprite import | art-direction § Order/Palette/References/Import | art-director |
| Producing assets (first time: which pipeline) | art-direction § Pipeline → § Blender or image-prompting | art-director |
| Image-model prompts | image-prompting § Model notes + § Sprite prompt; `.studio/art/` has bible + model-notes + a prompt file → read those, one as template | art-director |
| Logo, app icon, splash | logo § Brief → § Concepts → § Test → § Kit | art-director |
| Particles, Effekseer, textures, shaders, 2D lights | vfx-materials-shaders § Particles/Runtime/Shaders/Lighting 2D | vfx-artist |
| Sprite animation, Animator | animation § Choose → needed one | gameplay-coder |
| Input, touch, camera follow | input-and-camera § Input/Touch/Camera | gameplay-coder |
| HUD, menus, popups | ui § Canvas/Build/Screens/Juice | gameplay-coder |
| Match-3 / swap puzzle | puzzle-match3 § Install first, then needed one | gameplay-coder |
| Audio, hit stop, shake, tweens | audio-and-juice § Audio/Visual juice/Tweens | vfx-artist |
| Third-party credits | CREDITS | (you) |

## Delegation
Default: do it yourself, art and prompt tasks included. Delegate only 2+ independent tasks with disjoint scopes (several calls in one
message), cross-system design (architect) or a long read-heavy job: studio-workflow § Delegating. No agents listed (skill-only) → every role is yours.
Prompt = `task ID | goal | acceptance | scope | read: map, handoff path`, no pasted files. After it: relay its reply, read its handoff only.

## State (`.studio/`)
`brief.md gdd.md board.md deps.md PROJECT_MAP.md handoff/<ID>.md devlog/YYYY-MM-DD[-agent].md art/ vfx/<name>.yaml`. Project `CLAUDE.md` ≤60 lines.

## Scripts (`python <skill>/scripts/<name>`, `<skill>` = `${CLAUDE_SKILL_DIR}`)
`status.py` · `project_map.py [--module N]` · `devlog.py <agent> | producer --summary` · `check_code.py [--files …]` · `compile_check.py` ·
`scene_check.py` · `install_unity.py [--pack match3]` · `asmdefs.py` · `palette.py set background=#hex role=#hex… | show` (5-8 roles, one
`background`) · `vfx_spec.py new <name> --preset … | build` · `logo_sheet.py <svg…>` · `placeholder_sprites.py` ·
`sprite_from_image.py <img> --cell WxH` · `blender_sprites.py check | new <set> | render <set>`.
Repetitive art/VFX/devlog work → these, not by hand. Skill-only (no hooks) → after `.cs` edits run `project_map.py` + `check_code.py --files <changed>`.
Pliki w paczce (129)
  • SKILL.md 8 KB
  • assets/gitattributes.txt 2 KB
  • assets/gitignore.txt 1 KB
  • assets/packs/match3/README.md 2 KB
  • assets/packs/match3/Editor/Match3PlaceholderArt.cs 7 KB
  • assets/packs/match3/Editor/Match3SceneBuilder.cs 8 KB
  • assets/packs/match3/Editor/__NS__.Puzzle.Editor.asmdef 1 KB
  • assets/packs/match3/Levels~/001_easy.txt 1 KB
  • assets/packs/match3/Levels~/002_crates_ice.txt 1 KB
  • assets/packs/match3/Levels~/003_chains_holes.txt 1 KB
  • assets/packs/match3/Runtime/Blaster.cs 9 KB
  • assets/packs/match3/Runtime/BlockerLayer.cs 1 KB
  • assets/packs/match3/Runtime/Board.cs 4 KB
  • assets/packs/match3/Runtime/BoardFiller.cs 2 KB
  • assets/packs/match3/Runtime/BoardPos.cs 1 KB
  • assets/packs/match3/Runtime/BoosterKind.cs 1 KB
  • assets/packs/match3/Runtime/ClearCause.cs 1 KB
  • assets/packs/match3/Runtime/GameState.cs 1 KB
  • assets/packs/match3/Runtime/Goal.cs 1 KB
  • assets/packs/match3/Runtime/GoalKind.cs 1 KB
  • assets/packs/match3/Runtime/Gravity.cs 4 KB
  • assets/packs/match3/Runtime/GreedyBot.cs 1 KB
  • assets/packs/match3/Runtime/IBot.cs 1 KB
  • assets/packs/match3/Runtime/Level.cs 1 KB
  • assets/packs/match3/Runtime/LevelParseException.cs 1 KB
  • assets/packs/match3/Runtime/LevelParser.cs 8 KB
  • assets/packs/match3/Runtime/MatchFinder.cs 7 KB
  • assets/packs/match3/Runtime/MatchGroup.cs 1 KB
  • assets/packs/match3/Runtime/MoveFinder.cs 6 KB
  • assets/packs/match3/Runtime/Piece.cs 1 KB
  • assets/packs/match3/Runtime/PuzzleGame.cs 3 KB
  • assets/packs/match3/Runtime/RandomBot.cs 1 KB
  • assets/packs/match3/Runtime/Rng.cs 1 KB
  • assets/packs/match3/Runtime/Shuffler.cs 2 KB
  • assets/packs/match3/Runtime/SimReport.cs 1 KB
  • assets/packs/match3/Runtime/Simulator.cs 3 KB
  • assets/packs/match3/Runtime/Special.cs 1 KB
  • assets/packs/match3/Runtime/SpecialEffects.cs 3 KB
  • assets/packs/match3/Runtime/Step.cs 1 KB
  • assets/packs/match3/Runtime/StepKind.cs 1 KB
  • assets/packs/match3/Runtime/StepLog.cs 1 KB
  • assets/packs/match3/Runtime/Swap.cs 1 KB
  • assets/packs/match3/Runtime/TurnResolver.cs 4 KB
  • assets/packs/match3/Runtime/TurnResult.cs 1 KB
  • assets/packs/match3/Runtime/__NS__.Puzzle.asmdef 1 KB
  • assets/packs/match3/Sim~/.gitignore 1 KB
  • assets/packs/match3/Sim~/Match3Sim.csproj 1 KB
  • assets/packs/match3/Sim~/Program.cs 4 KB
  • assets/packs/match3/Tests/BlockerTests.cs 3 KB
  • assets/packs/match3/Tests/BoardSetupTests.cs 2 KB
  • assets/packs/match3/Tests/ComboTests.cs 3 KB
  • assets/packs/match3/Tests/DeterminismTests.cs 2 KB
  • assets/packs/match3/Tests/GravityTests.cs 3 KB
  • assets/packs/match3/Tests/GridBuilder.cs 1 KB
  • assets/packs/match3/Tests/LevelParserTests.cs 4 KB
  • assets/packs/match3/Tests/MoveFinderTests.cs 2 KB
  • assets/packs/match3/Tests/RngTests.cs 1 KB
  • assets/packs/match3/Tests/ShuffleTests.cs 1 KB
  • assets/packs/match3/Tests/SimulatorTests.cs 1 KB
  • assets/packs/match3/Tests/SpecialCreationTests.cs 3 KB
  • assets/packs/match3/Tests/SpecialEffectTests.cs 3 KB
  • assets/packs/match3/Tests/StepQuery.cs 1 KB
  • assets/packs/match3/Tests/TurnTests.cs 5 KB
  • assets/packs/match3/Tests/__NS__.Puzzle.Tests.asmdef 1 KB
  • assets/packs/match3/Tests~/.gitignore 1 KB
  • assets/packs/match3/Tests~/Match3.Tests.csproj 1 KB
  • assets/packs/match3/View/BoardEvents.cs 2 KB
  • assets/packs/match3/View/BoardFeelSO.cs 3 KB
  • assets/packs/match3/View/BoardJuice.cs 3 KB
  • assets/packs/match3/View/BoardLayout.cs 1 KB
  • assets/packs/match3/View/BoardSkinSO.cs 2 KB
  • assets/packs/match3/View/BoardView.cs 6 KB
  • assets/packs/match3/View/PieceViews.cs 4 KB
  • assets/packs/match3/View/PuzzleHud.cs 2 KB
  • assets/packs/match3/View/SafeAreaFitter.cs 1 KB
  • assets/packs/match3/View/StepPlayer.cs 8 KB
  • assets/packs/match3/View/SwipeInput.cs 2 KB
  • assets/packs/match3/View/Tweens.cs 3 KB
  • assets/packs/match3/View/__NS__.Puzzle.View.asmdef 1 KB
  • assets/unity/Editor/.gitkeep 1 KB
  • assets/unity/Editor/PlayCheckCamera.cs 3 KB
  • assets/unity/Editor/PlayCheckRun.cs 10 KB
  • assets/unity/Editor/SpriteImportRules.cs 3 KB
  • assets/unity/Editor/StudioAnimUtil.cs 5 KB
  • assets/unity/Editor/StudioAsmdefs.cs 9 KB
  • assets/unity/Editor/StudioCameraUtil.cs 2 KB
  • assets/unity/Editor/StudioConsoleBridge.cs 8 KB
  • assets/unity/Editor/StudioEditorUtil.cs 10 KB
  • assets/unity/Editor/StudioLightUtil.cs 3 KB
  • assets/unity/Editor/StudioPlatforms.cs 5 KB
  • assets/unity/Editor/StudioPlayCheck.cs 6 KB
  • assets/unity/Editor/StudioRequests.cs 4 KB
  • assets/unity/Editor/StudioSetup.cs 11 KB
  • assets/unity/Editor/StudioUiUtil.cs 7 KB
  • assets/unity/Editor/VfxBuilder.cs 9 KB
  • references/CREDITS.md 2 KB
  • references/animation.md 3 KB
  • references/architecture.md 4 KB
  • references/art-direction.md 7 KB
  • references/audio-and-juice.md 3 KB
  • references/code-standards.md 4 KB
  • references/data-and-assets.md 3 KB
  • references/image-prompting.md 5 KB
  • references/input-and-camera.md 3 KB
  • references/logo.md 2 KB
  • references/patterns.md 4 KB
  • references/puzzle-match3.md 6 KB
  • references/qa-and-perf.md 4 KB
  • references/scene-and-folders.md 4 KB
  • references/studio-workflow.md 8 KB
  • references/token-economy.md 3 KB
  • references/ui.md 3 KB
  • references/unity-bridge.md 6 KB
  • references/vfx-materials-shaders.md 5 KB
  • scripts/asmdefs.py 7 KB
  • scripts/blender_sprites.py 15 KB
  • scripts/check_code.py 8 KB
  • scripts/compile_check.py 5 KB
  • scripts/devlog.py 10 KB
  • scripts/hooks.py 10 KB
  • scripts/install_unity.py 4 KB
  • scripts/logo_sheet.py 3 KB
  • scripts/palette.py 8 KB
  • scripts/placeholder_sprites.py 8 KB
  • scripts/project_map.py 15 KB
  • scripts/scene_check.py 4 KB
  • scripts/sprite_from_image.py 20 KB
  • scripts/status.py 5 KB
  • scripts/vfx_spec.py 10 KB

Wersje

W bazie nie ma innych skilli o nazwie unity-2d-studio.

Migawka bazy z 13.11.2026 · wersja paczki 0ea86111514f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100unity-2d
    Prowadzi przez tworzenie gier 2D w Unity 6: sprite'y, Sprite Atlas, SpriteRenderer, tilemapy, fizyka 2D, oświetlenie 2D i sorting layers, według dokumentacji Unity 6.3 LTS.
  • 96game-studio
    Koordynuje projekt gry: projekt, implementację silnika, grafikę, animację, dźwięk i kontrolę jakości opartą na dowodach.
  • 100game-dev
    Prowadzi studio gier w Godot, Unity i Unreal: projekt, programowanie, grafika, audio, QA, produkcja i orkiestracja zespołu agentów w sprintach i wydaniach.
  • 95game-development
    Wspiera tworzenie gier w Unity, Unreal Engine i Godot: mechaniki, fizykę i AI w silnikach gier.
  • 100add-assets
    Zastępuje figury geometryczne pikselowymi sprite'ami postaci, wrogów i przedmiotów w grze, z opcjonalną animacją.
  • 95ai-game-art-pipeline
    Planuje i wykonuje zasoby graficzne oraz animacje do gier: rekwizyty, postacie, sprite'y, tła, efekty i pakowanie pod silnik.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.