[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7164ZGV972DQW3G03AMMBSB":3,"skill-same:01M7164ZGV972DQW3G03AMMBSB":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M7164ZGV972DQW3G03AMMBSB","game-development",null,"Game development orchestrator. Routes to platform-specific skills based on project needs.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fgame-development\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"development","game development","game","community","platform","project","unknown","orchestrator","2026","2026-11-10 10:12:30",false,"---\nname: game-development\ndescription: \"Game development orchestrator. Routes to platform-specific skills based on project needs.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Game Development\n\n> **Orchestrator skill** that provides core principles and routes to specialized sub-skills.\n\n---\n\n## When to Use This Skill\n\nYou are working on a game development project. This skill teaches the PRINCIPLES of game development and directs you to the right sub-skill based on context.\n\n---\n\n## Sub-Skill Routing\n\n### Platform Selection\n\n| If the game targets... | Use Sub-Skill |\n|------------------------|---------------|\n| Web browsers (HTML5, WebGL) | `game-development\u002Fweb-games` |\n| Mobile (iOS, Android) | `game-development\u002Fmobile-games` |\n| PC (Steam, Desktop) | `game-development\u002Fpc-games` |\n| VR\u002FAR headsets | `game-development\u002Fvr-ar` |\n\n### Dimension Selection\n\n| If the game is... | Use Sub-Skill |\n|-------------------|---------------|\n| 2D (sprites, tilemaps) | `game-development\u002F2d-games` |\n| 3D (meshes, shaders) | `game-development\u002F3d-games` |\n\n### Specialty Areas\n\n| If you need... | Use Sub-Skill |\n|----------------|---------------|\n| GDD, balancing, player psychology | `game-development\u002Fgame-design` |\n| Multiplayer, networking | `game-development\u002Fmultiplayer` |\n| Visual style, asset pipeline, animation | `game-development\u002Fgame-art` |\n| Sound design, music, adaptive audio | `game-development\u002Fgame-audio` |\n\n---\n\n## Core Principles (All Platforms)\n\n### 1. The Game Loop\n\nEvery game, regardless of platform, follows this pattern:\n\n```\nINPUT  → Read player actions\nUPDATE → Process game logic (fixed timestep)\nRENDER → Draw the frame (interpolated)\n```\n\n**Fixed Timestep Rule:**\n- Physics\u002Flogic: Fixed rate (e.g., 50Hz)\n- Rendering: As fast as possible\n- Interpolate between states for smooth visuals\n\n---\n\n### 2. Pattern Selection Matrix\n\n| Pattern | Use When | Example |\n|---------|----------|---------|\n| **State Machine** | 3-5 discrete states | Player: Idle→Walk→Jump |\n| **Object Pooling** | Frequent spawn\u002Fdestroy | Bullets, particles |\n| **Observer\u002FEvents** | Cross-system communication | Health→UI updates |\n| **ECS** | Thousands of similar entities | RTS units, particles |\n| **Command** | Undo, replay, networking | Input recording |\n| **Behavior Tree** | Complex AI decisions | Enemy AI |\n\n**Decision Rule:** Start with State Machine. Add ECS only when performance demands.\n\n---\n\n### 3. Input Abstraction\n\nAbstract input into ACTIONS, not raw keys:\n\n```\n\"jump\"  → Space, Gamepad A, Touch tap\n\"move\"  → WASD, Left stick, Virtual joystick\n```\n\n**Why:** Enables multi-platform, rebindable controls.\n\n---\n\n### 4. Performance Budget (60 FPS = 16.67ms)\n\n| System | Budget |\n|--------|--------|\n| Input | 1ms |\n| Physics | 3ms |\n| AI | 2ms |\n| Game Logic | 4ms |\n| Rendering | 5ms |\n| Buffer | 1.67ms |\n\n**Optimization Priority:**\n1. Algorithm (O(n²) → O(n log n))\n2. Batching (reduce draw calls)\n3. Pooling (avoid GC spikes)\n4. LOD (detail by distance)\n5. Culling (skip invisible)\n\n---\n\n### 5. AI Selection by Complexity\n\n| AI Type | Complexity | Use When |\n|---------|------------|----------|\n| **FSM** | Simple | 3-5 states, predictable behavior |\n| **Behavior Tree** | Medium | Modular, designer-friendly |\n| **GOAP** | High | Emergent, planning-based |\n| **Utility AI** | High | Scoring-based decisions |\n\n---\n\n### 6. Collision Strategy\n\n| Type | Best For |\n|------|----------|\n| **AABB** | Rectangles, fast checks |\n| **Circle** | Round objects, cheap |\n| **Spatial Hash** | Many similar-sized objects |\n| **Quadtree** | Large worlds, varying sizes |\n\n---\n\n## Anti-Patterns (Universal)\n\n| Don't | Do |\n|-------|-----|\n| Update everything every frame | Use events, dirty flags |\n| Create objects in hot loops | Object pooling |\n| Cache nothing | Cache references |\n| Optimize without profiling | Profile first |\n| Mix input with logic | Abstract input layer |\n\n---\n\n## Routing Examples\n\n### Example 1: \"I want to make a browser-based 2D platformer\"\n→ Start with `game-development\u002Fweb-games` for framework selection\n→ Then `game-development\u002F2d-games` for sprite\u002Ftilemap patterns\n→ Reference `game-development\u002Fgame-design` for level design\n\n### Example 2: \"Mobile puzzle game for iOS and Android\"\n→ Start with `game-development\u002Fmobile-games` for touch input and stores\n→ Use `game-development\u002Fgame-design` for puzzle balancing\n\n### Example 3: \"Multiplayer VR shooter\"\n→ `game-development\u002Fvr-ar` for comfort and immersion\n→ `game-development\u002F3d-games` for rendering\n→ `game-development\u002Fmultiplayer` for networking\n\n---\n\n> **Remember:** Great games come from iteration, not perfection. Prototype fast, then polish.\n","# Game Development\n\n> **Orchestrator skill** that provides core principles and routes to specialized sub-skills.\n\n---\n\n## When to Use This Skill\n\nYou are working on a game development project. This skill teaches the PRINCIPLES of game development and directs you to the right sub-skill based on context.\n\n---\n\n## Sub-Skill Routing\n\n### Platform Selection\n\n| If the game targets... | Use Sub-Skill |\n|------------------------|---------------|\n| Web browsers (HTML5, WebGL) | `game-development\u002Fweb-games` |\n| Mobile (iOS, Android) | `game-development\u002Fmobile-games` |\n| PC (Steam, Desktop) | `game-development\u002Fpc-games` |\n| VR\u002FAR headsets | `game-development\u002Fvr-ar` |\n\n### Dimension Selection\n\n| If the game is... | Use Sub-Skill |\n|-------------------|---------------|\n| 2D (sprites, tilemaps) | `game-development\u002F2d-games` |\n| 3D (meshes, shaders) | `game-development\u002F3d-games` |\n\n### Specialty Areas\n\n| If you need... | Use Sub-Skill |\n|----------------|---------------|\n| GDD, balancing, player psychology | `game-development\u002Fgame-design` |\n| Multiplayer, networking | `game-development\u002Fmultiplayer` |\n| Visual style, asset pipeline, animation | `game-development\u002Fgame-art` |\n| Sound design, music, adaptive audio | `game-development\u002Fgame-audio` |\n\n---\n\n## Core Principles (All Platforms)\n\n### 1. The Game Loop\n\nEvery game, regardless of platform, follows this pattern:\n\n```\nINPUT  → Read player actions\nUPDATE → Process game logic (fixed timestep)\nRENDER → Draw the frame (interpolated)\n```\n\n**Fixed Timestep Rule:**\n- Physics\u002Flogic: Fixed rate (e.g., 50Hz)\n- Rendering: As fast as possible\n- Interpolate between states for smooth visuals\n\n---\n\n### 2. Pattern Selection Matrix\n\n| Pattern | Use When | Example |\n|---------|----------|---------|\n| **State Machine** | 3-5 discrete states | Player: Idle→Walk→Jump |\n| **Object Pooling** | Frequent spawn\u002Fdestroy | Bullets, particles |\n| **Observer\u002FEvents** | Cross-system communication | Health→UI updates |\n| **ECS** | Thousands of similar entities | RTS units, particles |\n| **Command** | Undo, replay, networking | Input recording |\n| **Behavior Tree** | Complex AI decisions | Enemy AI |\n\n**Decision Rule:** Start with State Machine. Add ECS only when performance demands.\n\n---\n\n### 3. Input Abstraction\n\nAbstract input into ACTIONS, not raw keys:\n\n```\n\"jump\"  → Space, Gamepad A, Touch tap\n\"move\"  → WASD, Left stick, Virtual joystick\n```\n\n**Why:** Enables multi-platform, rebindable controls.\n\n---\n\n### 4. Performance Budget (60 FPS = 16.67ms)\n\n| System | Budget |\n|--------|--------|\n| Input | 1ms |\n| Physics | 3ms |\n| AI | 2ms |\n| Game Logic | 4ms |\n| Rendering | 5ms |\n| Buffer | 1.67ms |\n\n**Optimization Priority:**\n1. Algorithm (O(n²) → O(n log n))\n2. Batching (reduce draw calls)\n3. Pooling (avoid GC spikes)\n4. LOD (detail by distance)\n5. Culling (skip invisible)\n\n---\n\n### 5. AI Selection by Complexity\n\n| AI Type | Complexity | Use When |\n|---------|------------|----------|\n| **FSM** | Simple | 3-5 states, predictable behavior |\n| **Behavior Tree** | Medium | Modular, designer-friendly |\n| **GOAP** | High | Emergent, planning-based |\n| **Utility AI** | High | Scoring-based decisions |\n\n---\n\n### 6. Collision Strategy\n\n| Type | Best For |\n|------|----------|\n| **AABB** | Rectangles, fast checks |\n| **Circle** | Round objects, cheap |\n| **Spatial Hash** | Many similar-sized objects |\n| **Quadtree** | Large worlds, varying sizes |\n\n---\n\n## Anti-Patterns (Universal)\n\n| Don't | Do |\n|-------|-----|\n| Update everything every frame | Use events, dirty flags |\n| Create objects in hot loops | Object pooling |\n| Cache nothing | Cache references |\n| Optimize without profiling | Profile first |\n| Mix input with logic | Abstract input layer |\n\n---\n\n## Routing Examples\n\n### Example 1: \"I want to make a browser-based 2D platformer\"\n→ Start with `game-development\u002Fweb-games` for framework selection\n→ Then `game-development\u002F2d-games` for sprite\u002Ftilemap patterns\n→ Reference `game-development\u002Fgame-design` for level design\n\n### Example 2: \"Mobile puzzle game for iOS and Android\"\n→ Start with `game-development\u002Fmobile-games` for touch input and stores\n→ Use `game-development\u002Fgame-design` for puzzle balancing\n\n### Example 3: \"Multiplayer VR shooter\"\n→ `game-development\u002Fvr-ar` for comfort and immersion\n→ `game-development\u002F3d-games` for rendering\n→ `game-development\u002Fmultiplayer` for networking\n\n---\n\n> **Remember:** Great games come from iteration, not perfection. Prototype fast, then polish.\n",{"name":5,"risk":25,"source":22,"date_added":33,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fgame-development","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill game-development",{"tool":46,"command":47},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill game-development",{"tool":49,"command":50},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill game-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fgame-development\u002FSKILL.md",true,[],[55,65,72,80,86,94],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":64},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":81,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":64},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":64},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]