tribunal-kit 2.4.6 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/.agent/ARCHITECTURE.md +99 -99
  2. package/.agent/GEMINI.md +52 -52
  3. package/.agent/agents/accessibility-reviewer.md +139 -86
  4. package/.agent/agents/ai-code-reviewer.md +160 -90
  5. package/.agent/agents/backend-specialist.md +164 -127
  6. package/.agent/agents/code-archaeologist.md +115 -73
  7. package/.agent/agents/database-architect.md +130 -110
  8. package/.agent/agents/debugger.md +137 -97
  9. package/.agent/agents/dependency-reviewer.md +78 -30
  10. package/.agent/agents/devops-engineer.md +161 -118
  11. package/.agent/agents/documentation-writer.md +151 -87
  12. package/.agent/agents/explorer-agent.md +117 -99
  13. package/.agent/agents/frontend-reviewer.md +127 -47
  14. package/.agent/agents/frontend-specialist.md +169 -109
  15. package/.agent/agents/game-developer.md +28 -164
  16. package/.agent/agents/logic-reviewer.md +87 -49
  17. package/.agent/agents/mobile-developer.md +151 -103
  18. package/.agent/agents/mobile-reviewer.md +133 -50
  19. package/.agent/agents/orchestrator.md +121 -110
  20. package/.agent/agents/penetration-tester.md +103 -77
  21. package/.agent/agents/performance-optimizer.md +136 -92
  22. package/.agent/agents/performance-reviewer.md +139 -69
  23. package/.agent/agents/product-manager.md +104 -70
  24. package/.agent/agents/product-owner.md +6 -25
  25. package/.agent/agents/project-planner.md +95 -95
  26. package/.agent/agents/qa-automation-engineer.md +174 -87
  27. package/.agent/agents/security-auditor.md +133 -129
  28. package/.agent/agents/seo-specialist.md +160 -99
  29. package/.agent/agents/sql-reviewer.md +132 -44
  30. package/.agent/agents/supervisor-agent.md +137 -109
  31. package/.agent/agents/swarm-worker-contracts.md +17 -17
  32. package/.agent/agents/swarm-worker-registry.md +46 -46
  33. package/.agent/agents/test-coverage-reviewer.md +132 -53
  34. package/.agent/agents/test-engineer.md +0 -21
  35. package/.agent/agents/type-safety-reviewer.md +143 -33
  36. package/.agent/patterns/generator.md +9 -9
  37. package/.agent/patterns/inversion.md +12 -12
  38. package/.agent/patterns/pipeline.md +9 -9
  39. package/.agent/patterns/reviewer.md +13 -13
  40. package/.agent/patterns/tool-wrapper.md +9 -9
  41. package/.agent/rules/GEMINI.md +63 -63
  42. package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
  43. package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
  44. package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
  45. package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
  46. package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
  47. package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
  48. package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
  49. package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
  50. package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
  51. package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
  52. package/.agent/scripts/compress_skills.py +167 -0
  53. package/.agent/scripts/consolidate_skills.py +173 -0
  54. package/.agent/scripts/deep_compress.py +202 -0
  55. package/.agent/scripts/minify_context.py +80 -0
  56. package/.agent/scripts/security_scan.py +1 -1
  57. package/.agent/scripts/strip_tribunal.py +41 -0
  58. package/.agent/skills/agent-organizer/SKILL.md +60 -100
  59. package/.agent/skills/agentic-patterns/SKILL.md +0 -70
  60. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +108 -53
  61. package/.agent/skills/api-patterns/SKILL.md +197 -257
  62. package/.agent/skills/api-security-auditor/SKILL.md +125 -57
  63. package/.agent/skills/app-builder/SKILL.md +326 -50
  64. package/.agent/skills/app-builder/templates/SKILL.md +13 -15
  65. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +16 -16
  66. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +22 -22
  67. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +18 -18
  68. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +20 -20
  69. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +17 -17
  70. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +18 -18
  71. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +21 -21
  72. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +19 -19
  73. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +26 -26
  74. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +26 -26
  75. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +19 -19
  76. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +18 -18
  77. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +20 -20
  78. package/.agent/skills/appflow-wireframe/SKILL.md +71 -98
  79. package/.agent/skills/architecture/SKILL.md +161 -200
  80. package/.agent/skills/authentication-best-practices/SKILL.md +121 -54
  81. package/.agent/skills/bash-linux/SKILL.md +71 -166
  82. package/.agent/skills/behavioral-modes/SKILL.md +8 -69
  83. package/.agent/skills/brainstorming/SKILL.md +345 -127
  84. package/.agent/skills/building-native-ui/SKILL.md +125 -57
  85. package/.agent/skills/clean-code/SKILL.md +266 -149
  86. package/.agent/skills/code-review-checklist/SKILL.md +0 -62
  87. package/.agent/skills/config-validator/SKILL.md +73 -131
  88. package/.agent/skills/csharp-developer/SKILL.md +434 -73
  89. package/.agent/skills/database-design/SKILL.md +190 -275
  90. package/.agent/skills/deployment-procedures/SKILL.md +81 -158
  91. package/.agent/skills/devops-engineer/SKILL.md +255 -94
  92. package/.agent/skills/devops-incident-responder/SKILL.md +50 -69
  93. package/.agent/skills/doc.md +5 -5
  94. package/.agent/skills/documentation-templates/SKILL.md +19 -63
  95. package/.agent/skills/edge-computing/SKILL.md +75 -165
  96. package/.agent/skills/extract-design-system/SKILL.md +84 -58
  97. package/.agent/skills/framer-motion-expert/SKILL.md +195 -0
  98. package/.agent/skills/frontend-design/SKILL.md +151 -499
  99. package/.agent/skills/game-design-expert/SKILL.md +71 -0
  100. package/.agent/skills/game-engineering-expert/SKILL.md +88 -0
  101. package/.agent/skills/geo-fundamentals/SKILL.md +52 -178
  102. package/.agent/skills/github-operations/SKILL.md +197 -272
  103. package/.agent/skills/gsap-expert/SKILL.md +194 -0
  104. package/.agent/skills/i18n-localization/SKILL.md +60 -172
  105. package/.agent/skills/intelligent-routing/SKILL.md +123 -103
  106. package/.agent/skills/lint-and-validate/SKILL.md +8 -52
  107. package/.agent/skills/llm-engineering/SKILL.md +281 -195
  108. package/.agent/skills/local-first/SKILL.md +76 -159
  109. package/.agent/skills/mcp-builder/SKILL.md +48 -188
  110. package/.agent/skills/mobile-design/SKILL.md +213 -219
  111. package/.agent/skills/motion-engineering/SKILL.md +184 -0
  112. package/.agent/skills/nextjs-react-expert/SKILL.md +184 -203
  113. package/.agent/skills/nodejs-best-practices/SKILL.md +403 -185
  114. package/.agent/skills/observability/SKILL.md +211 -203
  115. package/.agent/skills/parallel-agents/SKILL.md +53 -146
  116. package/.agent/skills/performance-profiling/SKILL.md +171 -151
  117. package/.agent/skills/plan-writing/SKILL.md +49 -153
  118. package/.agent/skills/platform-engineer/SKILL.md +57 -103
  119. package/.agent/skills/playwright-best-practices/SKILL.md +110 -63
  120. package/.agent/skills/powershell-windows/SKILL.md +61 -179
  121. package/.agent/skills/python-patterns/SKILL.md +7 -35
  122. package/.agent/skills/python-pro/SKILL.md +273 -114
  123. package/.agent/skills/react-specialist/SKILL.md +227 -108
  124. package/.agent/skills/readme-builder/SKILL.md +15 -85
  125. package/.agent/skills/realtime-patterns/SKILL.md +216 -243
  126. package/.agent/skills/red-team-tactics/SKILL.md +10 -51
  127. package/.agent/skills/rust-pro/SKILL.md +525 -142
  128. package/.agent/skills/seo-fundamentals/SKILL.md +92 -153
  129. package/.agent/skills/server-management/SKILL.md +110 -166
  130. package/.agent/skills/shadcn-ui-expert/SKILL.md +154 -55
  131. package/.agent/skills/skill-creator/SKILL.md +18 -58
  132. package/.agent/skills/sql-pro/SKILL.md +543 -68
  133. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +28 -68
  134. package/.agent/skills/swiftui-expert/SKILL.md +124 -57
  135. package/.agent/skills/systematic-debugging/SKILL.md +49 -151
  136. package/.agent/skills/tailwind-patterns/SKILL.md +433 -149
  137. package/.agent/skills/tdd-workflow/SKILL.md +63 -169
  138. package/.agent/skills/test-result-analyzer/SKILL.md +33 -73
  139. package/.agent/skills/testing-patterns/SKILL.md +437 -130
  140. package/.agent/skills/trend-researcher/SKILL.md +30 -71
  141. package/.agent/skills/ui-ux-pro-max/SKILL.md +0 -41
  142. package/.agent/skills/ui-ux-researcher/SKILL.md +51 -91
  143. package/.agent/skills/vue-expert/SKILL.md +225 -119
  144. package/.agent/skills/vulnerability-scanner/SKILL.md +264 -226
  145. package/.agent/skills/web-accessibility-auditor/SKILL.md +141 -58
  146. package/.agent/skills/web-design-guidelines/SKILL.md +17 -61
  147. package/.agent/skills/webapp-testing/SKILL.md +71 -196
  148. package/.agent/skills/whimsy-injector/SKILL.md +58 -132
  149. package/.agent/skills/workflow-optimizer/SKILL.md +28 -68
  150. package/.agent/workflows/api-tester.md +96 -224
  151. package/.agent/workflows/audit.md +81 -122
  152. package/.agent/workflows/brainstorm.md +69 -105
  153. package/.agent/workflows/changelog.md +65 -97
  154. package/.agent/workflows/create.md +73 -88
  155. package/.agent/workflows/debug.md +80 -111
  156. package/.agent/workflows/deploy.md +119 -92
  157. package/.agent/workflows/enhance.md +80 -91
  158. package/.agent/workflows/fix.md +68 -97
  159. package/.agent/workflows/generate.md +165 -164
  160. package/.agent/workflows/migrate.md +106 -109
  161. package/.agent/workflows/orchestrate.md +103 -86
  162. package/.agent/workflows/performance-benchmarker.md +77 -268
  163. package/.agent/workflows/plan.md +120 -98
  164. package/.agent/workflows/preview.md +39 -96
  165. package/.agent/workflows/refactor.md +105 -97
  166. package/.agent/workflows/review-ai.md +63 -102
  167. package/.agent/workflows/review.md +71 -110
  168. package/.agent/workflows/session.md +53 -113
  169. package/.agent/workflows/status.md +42 -88
  170. package/.agent/workflows/strengthen-skills.md +90 -51
  171. package/.agent/workflows/swarm.md +114 -129
  172. package/.agent/workflows/test.md +125 -102
  173. package/.agent/workflows/tribunal-backend.md +60 -78
  174. package/.agent/workflows/tribunal-database.md +62 -100
  175. package/.agent/workflows/tribunal-frontend.md +62 -82
  176. package/.agent/workflows/tribunal-full.md +56 -100
  177. package/.agent/workflows/tribunal-mobile.md +65 -94
  178. package/.agent/workflows/tribunal-performance.md +62 -105
  179. package/.agent/workflows/ui-ux-pro-max.md +72 -121
  180. package/README.md +11 -15
  181. package/package.json +1 -1
  182. package/.agent/skills/api-patterns/api-style.md +0 -42
  183. package/.agent/skills/api-patterns/auth.md +0 -24
  184. package/.agent/skills/api-patterns/documentation.md +0 -26
  185. package/.agent/skills/api-patterns/graphql.md +0 -41
  186. package/.agent/skills/api-patterns/rate-limiting.md +0 -31
  187. package/.agent/skills/api-patterns/response.md +0 -37
  188. package/.agent/skills/api-patterns/rest.md +0 -40
  189. package/.agent/skills/api-patterns/security-testing.md +0 -122
  190. package/.agent/skills/api-patterns/trpc.md +0 -41
  191. package/.agent/skills/api-patterns/versioning.md +0 -22
  192. package/.agent/skills/app-builder/agent-coordination.md +0 -71
  193. package/.agent/skills/app-builder/feature-building.md +0 -53
  194. package/.agent/skills/app-builder/project-detection.md +0 -34
  195. package/.agent/skills/app-builder/scaffolding.md +0 -118
  196. package/.agent/skills/app-builder/tech-stack.md +0 -40
  197. package/.agent/skills/architecture/context-discovery.md +0 -43
  198. package/.agent/skills/architecture/examples.md +0 -94
  199. package/.agent/skills/architecture/pattern-selection.md +0 -68
  200. package/.agent/skills/architecture/patterns-reference.md +0 -50
  201. package/.agent/skills/architecture/trade-off-analysis.md +0 -77
  202. package/.agent/skills/brainstorming/dynamic-questioning.md +0 -360
  203. package/.agent/skills/database-design/database-selection.md +0 -43
  204. package/.agent/skills/database-design/indexing.md +0 -39
  205. package/.agent/skills/database-design/migrations.md +0 -48
  206. package/.agent/skills/database-design/optimization.md +0 -36
  207. package/.agent/skills/database-design/orm-selection.md +0 -30
  208. package/.agent/skills/database-design/schema-design.md +0 -56
  209. package/.agent/skills/dotnet-core-expert/SKILL.md +0 -103
  210. package/.agent/skills/framer-motion-animations/SKILL.md +0 -74
  211. package/.agent/skills/frontend-design/animation-guide.md +0 -331
  212. package/.agent/skills/frontend-design/color-system.md +0 -329
  213. package/.agent/skills/frontend-design/decision-trees.md +0 -418
  214. package/.agent/skills/frontend-design/motion-graphics.md +0 -306
  215. package/.agent/skills/frontend-design/typography-system.md +0 -363
  216. package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
  217. package/.agent/skills/frontend-design/visual-effects.md +0 -383
  218. package/.agent/skills/game-development/2d-games/SKILL.md +0 -119
  219. package/.agent/skills/game-development/3d-games/SKILL.md +0 -135
  220. package/.agent/skills/game-development/SKILL.md +0 -236
  221. package/.agent/skills/game-development/game-art/SKILL.md +0 -185
  222. package/.agent/skills/game-development/game-audio/SKILL.md +0 -190
  223. package/.agent/skills/game-development/game-design/SKILL.md +0 -129
  224. package/.agent/skills/game-development/mobile-games/SKILL.md +0 -108
  225. package/.agent/skills/game-development/multiplayer/SKILL.md +0 -132
  226. package/.agent/skills/game-development/pc-games/SKILL.md +0 -144
  227. package/.agent/skills/game-development/vr-ar/SKILL.md +0 -123
  228. package/.agent/skills/game-development/web-games/SKILL.md +0 -150
  229. package/.agent/skills/intelligent-routing/router-manifest.md +0 -65
  230. package/.agent/skills/mobile-design/decision-trees.md +0 -516
  231. package/.agent/skills/mobile-design/mobile-backend.md +0 -491
  232. package/.agent/skills/mobile-design/mobile-color-system.md +0 -420
  233. package/.agent/skills/mobile-design/mobile-debugging.md +0 -122
  234. package/.agent/skills/mobile-design/mobile-design-thinking.md +0 -357
  235. package/.agent/skills/mobile-design/mobile-navigation.md +0 -458
  236. package/.agent/skills/mobile-design/mobile-performance.md +0 -767
  237. package/.agent/skills/mobile-design/mobile-testing.md +0 -356
  238. package/.agent/skills/mobile-design/mobile-typography.md +0 -433
  239. package/.agent/skills/mobile-design/platform-android.md +0 -666
  240. package/.agent/skills/mobile-design/platform-ios.md +0 -561
  241. package/.agent/skills/mobile-design/touch-psychology.md +0 -537
  242. package/.agent/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
  243. package/.agent/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
  244. package/.agent/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
  245. package/.agent/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
  246. package/.agent/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
  247. package/.agent/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
  248. package/.agent/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
  249. package/.agent/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
  250. package/.agent/skills/vulnerability-scanner/checklists.md +0 -121
@@ -1,236 +0,0 @@
1
- ---
2
- name: game-development
3
- description: Game development orchestrator. Routes to platform-specific skills based on project needs.
4
- allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
- version: 1.0.0
6
- last-updated: 2026-03-12
7
- applies-to-model: gemini-2.5-pro, claude-3-7-sonnet
8
- ---
9
-
10
- # Game Development
11
-
12
- > **Orchestrator skill** that provides core principles and routes to specialized sub-skills.
13
-
14
- ---
15
-
16
- ## When to Use This Skill
17
-
18
- You 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.
19
-
20
- ---
21
-
22
- ## Sub-Skill Routing
23
-
24
- ### Platform Selection
25
-
26
- | If the game targets... | Use Sub-Skill |
27
- |------------------------|---------------|
28
- | Web browsers (HTML5, WebGL) | `game-development/web-games` |
29
- | Mobile (iOS, Android) | `game-development/mobile-games` |
30
- | PC (Steam, Desktop) | `game-development/pc-games` |
31
- | VR/AR headsets | `game-development/vr-ar` |
32
-
33
- ### Dimension Selection
34
-
35
- | If the game is... | Use Sub-Skill |
36
- |-------------------|---------------|
37
- | 2D (sprites, tilemaps) | `game-development/2d-games` |
38
- | 3D (meshes, shaders) | `game-development/3d-games` |
39
-
40
- ### Specialty Areas
41
-
42
- | If you need... | Use Sub-Skill |
43
- |----------------|---------------|
44
- | GDD, balancing, player psychology | `game-development/game-design` |
45
- | Multiplayer, networking | `game-development/multiplayer` |
46
- | Visual style, asset pipeline, animation | `game-development/game-art` |
47
- | Sound design, music, adaptive audio | `game-development/game-audio` |
48
-
49
- ---
50
-
51
- ## Core Principles (All Platforms)
52
-
53
- ### 1. The Game Loop
54
-
55
- Every game, regardless of platform, follows this pattern:
56
-
57
- ```
58
- INPUT → Read player actions
59
- UPDATE → Process game logic (fixed timestep)
60
- RENDER → Draw the frame (interpolated)
61
- ```
62
-
63
- **Fixed Timestep Rule:**
64
- - Physics/logic: Fixed rate (e.g., 50Hz)
65
- - Rendering: As fast as possible
66
- - Interpolate between states for smooth visuals
67
-
68
- ---
69
-
70
- ### 2. Pattern Selection Matrix
71
-
72
- | Pattern | Use When | Example |
73
- |---------|----------|---------|
74
- | **State Machine** | 3-5 discrete states | Player: Idle→Walk→Jump |
75
- | **Object Pooling** | Frequent spawn/destroy | Bullets, particles |
76
- | **Observer/Events** | Cross-system communication | Health→UI updates |
77
- | **ECS** | Thousands of similar entities | RTS units, particles |
78
- | **Command** | Undo, replay, networking | Input recording |
79
- | **Behavior Tree** | Complex AI decisions | Enemy AI |
80
-
81
- **Decision Rule:** Start with State Machine. Add ECS only when performance demands.
82
-
83
- ---
84
-
85
- ### 3. Input Abstraction
86
-
87
- Abstract input into ACTIONS, not raw keys:
88
-
89
- ```
90
- "jump" → Space, Gamepad A, Touch tap
91
- "move" → WASD, Left stick, Virtual joystick
92
- ```
93
-
94
- **Why:** Enables multi-platform, rebindable controls.
95
-
96
- ---
97
-
98
- ### 4. Performance Budget (60 FPS = 16.67ms)
99
-
100
- | System | Budget |
101
- |--------|--------|
102
- | Input | 1ms |
103
- | Physics | 3ms |
104
- | AI | 2ms |
105
- | Game Logic | 4ms |
106
- | Rendering | 5ms |
107
- | Buffer | 1.67ms |
108
-
109
- **Optimization Priority:**
110
- 1. Algorithm (O(n²) → O(n log n))
111
- 2. Batching (reduce draw calls)
112
- 3. Pooling (avoid GC spikes)
113
- 4. LOD (detail by distance)
114
- 5. Culling (skip invisible)
115
-
116
- ---
117
-
118
- ### 5. AI Selection by Complexity
119
-
120
- | AI Type | Complexity | Use When |
121
- |---------|------------|----------|
122
- | **FSM** | Simple | 3-5 states, predictable behavior |
123
- | **Behavior Tree** | Medium | Modular, designer-friendly |
124
- | **GOAP** | High | Emergent, planning-based |
125
- | **Utility AI** | High | Scoring-based decisions |
126
-
127
- ---
128
-
129
- ### 6. Collision Strategy
130
-
131
- | Type | Best For |
132
- |------|----------|
133
- | **AABB** | Rectangles, fast checks |
134
- | **Circle** | Round objects, cheap |
135
- | **Spatial Hash** | Many similar-sized objects |
136
- | **Quadtree** | Large worlds, varying sizes |
137
-
138
- ---
139
-
140
- ## Anti-Patterns (Universal)
141
-
142
- | Don't | Do |
143
- |-------|-----|
144
- | Update everything every frame | Use events, dirty flags |
145
- | Create objects in hot loops | Object pooling |
146
- | Cache nothing | Cache references |
147
- | Optimize without profiling | Profile first |
148
- | Mix input with logic | Abstract input layer |
149
-
150
- ---
151
-
152
- ## Routing Examples
153
-
154
- ### Example 1: "I want to make a browser-based 2D platformer"
155
- → Start with `game-development/web-games` for framework selection
156
- → Then `game-development/2d-games` for sprite/tilemap patterns
157
- → Reference `game-development/game-design` for level design
158
-
159
- ### Example 2: "Mobile puzzle game for iOS and Android"
160
- → Start with `game-development/mobile-games` for touch input and stores
161
- → Use `game-development/game-design` for puzzle balancing
162
-
163
- ### Example 3: "Multiplayer VR shooter"
164
- → `game-development/vr-ar` for comfort and immersion
165
- → `game-development/3d-games` for rendering
166
- → `game-development/multiplayer` for networking
167
-
168
- ---
169
-
170
- > **Remember:** Great games come from iteration, not perfection. Prototype fast, then polish.
171
-
172
- ---
173
-
174
- ## Output Format
175
-
176
- When this skill produces or reviews code, structure your output as follows:
177
-
178
- ```
179
- ━━━ Game Development Report ━━━━━━━━━━━━━━━━━━━━━━━━
180
- Skill: Game Development
181
- Language: [detected language / framework]
182
- Scope: [N files · N functions]
183
- ─────────────────────────────────────────────────
184
- ✅ Passed: [checks that passed, or "All clean"]
185
- ⚠️ Warnings: [non-blocking issues, or "None"]
186
- ❌ Blocked: [blocking issues requiring fix, or "None"]
187
- ─────────────────────────────────────────────────
188
- VBC status: PENDING → VERIFIED
189
- Evidence: [test output / lint pass / compile success]
190
- ```
191
-
192
- **VBC (Verification-Before-Completion) is mandatory.**
193
- Do not mark status as VERIFIED until concrete terminal evidence is provided.
194
-
195
-
196
-
197
- ---
198
-
199
- ## 🤖 LLM-Specific Traps
200
-
201
- AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
202
-
203
- 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
204
- 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
205
- 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
206
- 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
207
- 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
208
-
209
- ---
210
-
211
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
212
-
213
- **Slash command: `/review` or `/tribunal-full`**
214
- **Active reviewers: `logic-reviewer` · `security-auditor`**
215
-
216
- ### ❌ Forbidden AI Tropes
217
-
218
- 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
219
- 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
220
- 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
221
-
222
- ### ✅ Pre-Flight Self-Audit
223
-
224
- Review these questions before confirming output:
225
- ```
226
- ✅ Did I rely ONLY on real, verified tools and methods?
227
- ✅ Is this solution appropriately scoped to the user's constraints?
228
- ✅ Did I handle potential failure modes and edge cases?
229
- ✅ Have I avoided generic boilerplate that doesn't add value?
230
- ```
231
-
232
- ### 🛑 Verification-Before-Completion (VBC) Protocol
233
-
234
- **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
235
- - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
236
- - ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
@@ -1,185 +0,0 @@
1
- ---
2
- name: game-art
3
- description: Game art principles. Visual style selection, asset pipeline, animation workflow.
4
- allowed-tools: Read, Glob, Grep
5
- ---
6
-
7
- # Game Art Principles
8
-
9
- > Visual design thinking for games - style selection, asset pipelines, and art direction.
10
-
11
- ---
12
-
13
- ## 1. Art Style Selection
14
-
15
- ### Decision Tree
16
-
17
- ```
18
- What feeling should the game evoke?
19
-
20
- ├── Nostalgic / Retro
21
- │ ├── Limited palette? → Pixel Art
22
- │ └── Hand-drawn feel? → Vector / Flash style
23
-
24
- ├── Realistic / Immersive
25
- │ ├── High budget? → PBR 3D
26
- │ └── Stylized realism? → Hand-painted textures
27
-
28
- ├── Approachable / Casual
29
- │ ├── Clean shapes? → Flat / Minimalist
30
- │ └── Soft feel? → Gradient / Soft shadows
31
-
32
- └── Unique / Experimental
33
- └── Define custom style guide
34
- ```
35
-
36
- ### Style Comparison Matrix
37
-
38
- | Style | Production Speed | Skill Floor | Scalability | Best For |
39
- |-------|------------------|-------------|-------------|----------|
40
- | **Pixel Art** | Medium | Medium | Hard to hire | Indie, retro |
41
- | **Vector/Flat** | Fast | Low | Easy | Mobile, casual |
42
- | **Hand-painted** | Slow | High | Medium | Fantasy, stylized |
43
- | **PBR 3D** | Slow | High | AAA pipeline | Realistic games |
44
- | **Low-poly** | Fast | Medium | Easy | Indie 3D |
45
- | **Cel-shaded** | Medium | Medium | Medium | Anime, cartoon |
46
-
47
- ---
48
-
49
- ## 2. Asset Pipeline Decisions
50
-
51
- ### 2D Pipeline
52
-
53
- | Phase | Tool Options | Output |
54
- |-------|--------------|--------|
55
- | **Concept** | Paper, Procreate, Photoshop | Reference sheet |
56
- | **Creation** | Aseprite, Photoshop, Krita | Individual sprites |
57
- | **Atlas** | TexturePacker, Aseprite | Spritesheet |
58
- | **Animation** | Spine, DragonBones, Frame-by-frame | Animation data |
59
- | **Integration** | Engine import | Game-ready assets |
60
-
61
- ### 3D Pipeline
62
-
63
- | Phase | Tool Options | Output |
64
- |-------|--------------|--------|
65
- | **Concept** | 2D art, Blockout | Reference |
66
- | **Modeling** | Blender, Maya, 3ds Max | High-poly mesh |
67
- | **Retopology** | Blender, ZBrush | Game-ready mesh |
68
- | **UV/Texturing** | Substance Painter, Blender | Texture maps |
69
- | **Rigging** | Blender, Maya | Skeletal rig |
70
- | **Animation** | Blender, Maya, Mixamo | Animation clips |
71
- | **Export** | FBX, glTF | Engine-ready |
72
-
73
- ---
74
-
75
- ## 3. Color Theory Decisions
76
-
77
- ### Palette Selection
78
-
79
- | Goal | Strategy | Example |
80
- |------|----------|---------|
81
- | **Harmony** | Complementary or analogous | Nature games |
82
- | **Contrast** | High saturation differences | Action games |
83
- | **Mood** | Warm/cool temperature | Horror, cozy |
84
- | **Readability** | Value contrast over hue | Gameplay clarity |
85
-
86
- ### Color Principles
87
-
88
- - **Hierarchy:** Important elements should pop
89
- - **Consistency:** Same object = same color family
90
- - **Context:** Colors read differently on backgrounds
91
- - **Accessibility:** Don't rely only on color
92
-
93
- ---
94
-
95
- ## 4. Animation Principles
96
-
97
- ### The 12 Principles (Applied to Games)
98
-
99
- | Principle | Game Application |
100
- |-----------|------------------|
101
- | **Squash & Stretch** | Jump arcs, impacts |
102
- | **Anticipation** | Wind-up before attack |
103
- | **Staging** | Clear silhouettes |
104
- | **Follow-through** | Hair, capes after movement |
105
- | **Slow in/out** | Easing on transitions |
106
- | **Arcs** | Natural movement paths |
107
- | **Secondary Action** | Breathing, blinking |
108
- | **Timing** | Frame count = weight/speed |
109
- | **Exaggeration** | Readable from distance |
110
- | **Appeal** | Memorable design |
111
-
112
- ### Frame Count Guidelines
113
-
114
- | Action Type | Typical Frames | Feel |
115
- |-------------|----------------|------|
116
- | Idle breathing | 4-8 | Subtle |
117
- | Walk cycle | 6-12 | Smooth |
118
- | Run cycle | 4-8 | Energetic |
119
- | Attack | 3-6 | Snappy |
120
- | Death | 8-16 | Dramatic |
121
-
122
- ---
123
-
124
- ## 5. Resolution & Scale Decisions
125
-
126
- ### 2D Resolution by Platform
127
-
128
- | Platform | Base Resolution | Sprite Scale |
129
- |----------|-----------------|--------------|
130
- | Mobile | 1080p | 64-128px characters |
131
- | Desktop | 1080p-4K | 128-256px characters |
132
- | Pixel art | 320x180 to 640x360 | 16-32px characters |
133
-
134
- ### Consistency Rule
135
-
136
- Choose a base unit and stick to it:
137
- - Pixel art: Work at 1x, scale up (never down)
138
- - HD art: Define DPI, maintain ratio
139
- - 3D: 1 unit = 1 meter (industry standard)
140
-
141
- ---
142
-
143
- ## 6. Asset Organization
144
-
145
- ### Naming Convention
146
-
147
- ```
148
- [type]_[object]_[variant]_[state].[ext]
149
-
150
- Examples:
151
- spr_player_idle_01.png
152
- tex_stone_wall_normal.png
153
- mesh_tree_oak_lod2.fbx
154
- ```
155
-
156
- ### Folder Structure Principle
157
-
158
- ```
159
- assets/
160
- ├── characters/
161
- │ ├── player/
162
- │ └── enemies/
163
- ├── environment/
164
- │ ├── props/
165
- │ └── tiles/
166
- ├── ui/
167
- ├── effects/
168
- └── audio/
169
- ```
170
-
171
- ---
172
-
173
- ## 7. Anti-Patterns
174
-
175
- | Don't | Do |
176
- |-------|-----|
177
- | Mix art styles randomly | Define and follow style guide |
178
- | Work at final resolution only | Create at source resolution |
179
- | Ignore silhouette readability | Test at gameplay distance |
180
- | Over-detail background | Focus detail on player area |
181
- | Skip color testing | Test on target display |
182
-
183
- ---
184
-
185
- > **Remember:** Art serves gameplay. If it doesn't help the player, it's decoration.
@@ -1,190 +0,0 @@
1
- ---
2
- name: game-audio
3
- description: Game audio principles. Sound design, music integration, adaptive audio systems.
4
- allowed-tools: Read, Glob, Grep
5
- ---
6
-
7
- # Game Audio Principles
8
-
9
- > Sound design and music integration for immersive game experiences.
10
-
11
- ---
12
-
13
- ## 1. Audio Category System
14
-
15
- ### Category Definitions
16
-
17
- | Category | Behavior | Examples |
18
- |----------|----------|----------|
19
- | **Music** | Looping, crossfade, ducking | BGM, combat music |
20
- | **SFX** | One-shot, 3D positioned | Footsteps, impacts |
21
- | **Ambient** | Looping, background layer | Wind, crowd, forest |
22
- | **UI** | Immediate, non-3D | Button clicks, notifications |
23
- | **Voice** | Priority, ducking trigger | Dialogue, announcer |
24
-
25
- ### Priority Hierarchy
26
-
27
- ```
28
- When sounds compete for channels:
29
-
30
- 1. Voice (highest - always audible)
31
- 2. Player SFX (feedback critical)
32
- 3. Enemy SFX (gameplay important)
33
- 4. Music (mood, but duckable)
34
- 5. Ambient (lowest - can drop)
35
- ```
36
-
37
- ---
38
-
39
- ## 2. Sound Design Decisions
40
-
41
- ### SFX Creation Approach
42
-
43
- | Approach | When to Use | Trade-offs |
44
- |----------|-------------|------------|
45
- | **Recording** | Realistic needs | High quality, time intensive |
46
- | **Synthesis** | Sci-fi, retro, UI | Unique, requires skill |
47
- | **Library samples** | Fast production | Common sounds, licensing |
48
- | **Layering** | Complex sounds | Best results, more work |
49
-
50
- ### Layering Structure
51
-
52
- | Layer | Purpose | Example: Gunshot |
53
- |-------|---------|------------------|
54
- | **Attack** | Initial transient | Click, snap |
55
- | **Body** | Main character | Boom, blast |
56
- | **Tail** | Decay, room | Reverb, echo |
57
- | **Sweetener** | Special sauce | Shell casing, mechanical |
58
-
59
- ---
60
-
61
- ## 3. Music Integration
62
-
63
- ### Music State System
64
-
65
- ```
66
- Game State → Music Response
67
-
68
- ├── Menu → Calm, loopable theme
69
- ├── Exploration → Ambient, atmospheric
70
- ├── Combat detected → Transition to tension
71
- ├── Combat engaged → Full battle music
72
- ├── Victory → Stinger + calm transition
73
- ├── Defeat → Somber stinger
74
- └── Boss → Unique, multi-phase track
75
- ```
76
-
77
- ### Transition Techniques
78
-
79
- | Technique | Use When | Feel |
80
- |-----------|----------|------|
81
- | **Crossfade** | Smooth mood shift | Gradual |
82
- | **Stinger** | Immediate event | Dramatic |
83
- | **Stem mixing** | Dynamic intensity | Seamless |
84
- | **Beat-synced** | Rhythmic gameplay | Musical |
85
- | **Queue point** | Next natural break | Clean |
86
-
87
- ---
88
-
89
- ## 4. Adaptive Audio Decisions
90
-
91
- ### Intensity Parameters
92
-
93
- | Parameter | Affects | Example |
94
- |-----------|---------|---------|
95
- | **Threat level** | Music intensity | Enemy count |
96
- | **Health** | Filter, reverb | Low health = muffled |
97
- | **Speed** | Tempo, energy | Racing speed |
98
- | **Environment** | Reverb, EQ | Cave vs outdoor |
99
- | **Time of day** | Mood, volume | Night = quieter |
100
-
101
- ### Vertical vs Horizontal
102
-
103
- | System | What Changes | Best For |
104
- |--------|--------------|----------|
105
- | **Vertical (layers)** | Add/remove instrument layers | Intensity scaling |
106
- | **Horizontal (segments)** | Different music sections | State changes |
107
- | **Combined** | Both | AAA adaptive scores |
108
-
109
- ---
110
-
111
- ## 5. 3D Audio Decisions
112
-
113
- ### Spatialization
114
-
115
- | Element | 3D Positioned? | Reason |
116
- |---------|----------------|--------|
117
- | Player footsteps | No (or subtle) | Always audible |
118
- | Enemy footsteps | Yes | Directional awareness |
119
- | Gunfire | Yes | Combat awareness |
120
- | Music | No | Mood, non-diegetic |
121
- | Ambient zone | Yes (area) | Environmental |
122
- | UI sounds | No | Interface feedback |
123
-
124
- ### Distance Behavior
125
-
126
- | Distance | Sound Behavior |
127
- |----------|----------------|
128
- | **Near** | Full volume, full frequency |
129
- | **Medium** | Volume falloff, high-freq rolloff |
130
- | **Far** | Low volume, low-pass filter |
131
- | **Max** | Silent or ambient hint |
132
-
133
- ---
134
-
135
- ## 6. Platform Considerations
136
-
137
- ### Format Selection
138
-
139
- | Platform | Recommended Format | Reason |
140
- |----------|-------------------|--------|
141
- | PC | OGG Vorbis, WAV | Quality, no licensing |
142
- | Console | Platform-specific | Certification |
143
- | Mobile | MP3, AAC | Size, compatibility |
144
- | Web | WebM/Opus, MP3 fallback | Browser support |
145
-
146
- ### Memory Budget
147
-
148
- | Game Type | Audio Budget | Strategy |
149
- |-----------|--------------|----------|
150
- | Mobile casual | 10-50 MB | Compressed, fewer variants |
151
- | PC indie | 100-500 MB | Quality focus |
152
- | AAA | 1+ GB | Full quality, many variants |
153
-
154
- ---
155
-
156
- ## 7. Mix Hierarchy
157
-
158
- ### Volume Balance Reference
159
-
160
- | Category | Relative Level | Notes |
161
- |----------|----------------|-------|
162
- | **Voice** | 0 dB (reference) | Always clear |
163
- | **Player SFX** | -3 to -6 dB | Prominent but not harsh |
164
- | **Music** | -6 to -12 dB | Foundation, ducks for voice |
165
- | **Enemy SFX** | -6 to -9 dB | Important but not dominant |
166
- | **Ambient** | -12 to -18 dB | Subtle background |
167
-
168
- ### Ducking Rules
169
-
170
- | When | Duck What | Amount |
171
- |------|-----------|--------|
172
- | Voice plays | Music, Ambient | -6 to -9 dB |
173
- | Explosion | All except explosion | Brief duck |
174
- | Menu open | Gameplay audio | -3 to -6 dB |
175
-
176
- ---
177
-
178
- ## 8. Anti-Patterns
179
-
180
- | Don't | Do |
181
- |-------|-----|
182
- | Play same sound repeatedly | Use variations (3-5 per sound) |
183
- | Max volume everything | Use proper mix hierarchy |
184
- | Ignore silence | Silence creates contrast |
185
- | One music track loops forever | Provide variety, transitions |
186
- | Skip audio in prototype | Placeholder audio matters |
187
-
188
- ---
189
-
190
- > **Remember:** 50% of the game experience is audio. A muted game loses half its soul.