@cubis/foundry 0.3.71 → 0.3.72

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 (270) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cli/core.js +4 -18
  3. package/dist/cli/core.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/cli/core.ts +4 -18
  6. package/workflows/powers/accessibility/POWER.md +83 -94
  7. package/workflows/powers/accessibility/SKILL.md +82 -94
  8. package/workflows/powers/agent-design/POWER.md +201 -0
  9. package/workflows/powers/agent-design/SKILL.md +198 -0
  10. package/workflows/powers/agent-design/references/clarification-patterns.md +153 -0
  11. package/workflows/powers/agent-design/references/skill-testing.md +164 -0
  12. package/workflows/powers/agent-design/references/workflow-patterns.md +226 -0
  13. package/workflows/powers/agentic-eval/POWER.md +62 -0
  14. package/workflows/powers/agentic-eval/SKILL.md +59 -0
  15. package/workflows/powers/agentic-eval/references/rubric-and-regression-checklist.md +11 -0
  16. package/workflows/powers/api-designer/POWER.md +43 -71
  17. package/workflows/powers/api-designer/SKILL.md +43 -71
  18. package/workflows/powers/api-patterns/POWER.md +42 -56
  19. package/workflows/powers/api-patterns/SKILL.md +42 -57
  20. package/workflows/powers/architecture-designer/POWER.md +43 -60
  21. package/workflows/powers/architecture-designer/SKILL.md +43 -60
  22. package/workflows/powers/ask-questions-if-underspecified/POWER.md +51 -3
  23. package/workflows/powers/auth-architect/POWER.md +69 -0
  24. package/workflows/powers/auth-architect/SKILL.md +66 -0
  25. package/workflows/powers/auth-architect/references/session-token-policy-checklist.md +45 -0
  26. package/workflows/powers/behavioral-modes/POWER.md +100 -9
  27. package/workflows/powers/c-pro/POWER.md +105 -0
  28. package/workflows/powers/c-pro/SKILL.md +102 -0
  29. package/workflows/powers/c-pro/references/build-systems-and-toolchains.md +148 -0
  30. package/workflows/powers/c-pro/references/common-ub-and-portability.md +166 -0
  31. package/workflows/powers/c-pro/references/debugging-with-sanitizers.md +205 -0
  32. package/workflows/powers/c-pro/references/memory-safety-and-build-checklist.md +60 -0
  33. package/workflows/powers/c-pro/references/posix-and-platform-apis.md +244 -0
  34. package/workflows/powers/changelog-generator/POWER.md +127 -63
  35. package/workflows/powers/changelog-generator/SKILL.md +126 -63
  36. package/workflows/powers/ci-cd-pipelines/POWER.md +156 -0
  37. package/workflows/powers/ci-cd-pipelines/SKILL.md +153 -0
  38. package/workflows/powers/ci-cd-pipelines/references/github-actions-patterns.md +160 -0
  39. package/workflows/powers/ci-cd-pipelines/references/pipeline-security-checklist.md +57 -0
  40. package/workflows/powers/cli-developer/POWER.md +152 -95
  41. package/workflows/powers/cli-developer/SKILL.md +152 -95
  42. package/workflows/powers/cpp-pro/POWER.md +111 -0
  43. package/workflows/powers/cpp-pro/SKILL.md +108 -0
  44. package/workflows/powers/cpp-pro/references/concurrency-primitives.md +266 -0
  45. package/workflows/powers/cpp-pro/references/move-semantics-and-value-types.md +149 -0
  46. package/workflows/powers/cpp-pro/references/performance-and-profiling.md +191 -0
  47. package/workflows/powers/cpp-pro/references/raii-and-modern-cpp-checklist.md +87 -0
  48. package/workflows/powers/cpp-pro/references/template-and-concepts-patterns.md +205 -0
  49. package/workflows/powers/csharp-pro/POWER.md +47 -22
  50. package/workflows/powers/csharp-pro/SKILL.md +47 -22
  51. package/workflows/powers/dart-pro/POWER.md +68 -0
  52. package/workflows/powers/dart-pro/SKILL.md +65 -0
  53. package/workflows/powers/dart-pro/references/isolate-and-concurrency.md +180 -0
  54. package/workflows/powers/dart-pro/references/null-safety-and-async-patterns.md +133 -0
  55. package/workflows/powers/dart-pro/references/package-structure-and-linting.md +193 -0
  56. package/workflows/powers/dart-pro/references/sealed-records-patterns.md +173 -0
  57. package/workflows/powers/dart-pro/references/testing-and-mocking.md +235 -0
  58. package/workflows/powers/database-design/POWER.md +47 -33
  59. package/workflows/powers/database-design/SKILL.md +47 -33
  60. package/workflows/powers/database-optimizer/POWER.md +43 -64
  61. package/workflows/powers/database-optimizer/SKILL.md +43 -64
  62. package/workflows/powers/database-skills/POWER.md +59 -93
  63. package/workflows/powers/database-skills/SKILL.md +59 -93
  64. package/workflows/powers/debugging-strategies/POWER.md +69 -0
  65. package/workflows/powers/debugging-strategies/SKILL.md +66 -0
  66. package/workflows/powers/debugging-strategies/references/reproduce-isolate-verify-checklist.md +42 -0
  67. package/workflows/powers/deep-research/POWER.md +67 -0
  68. package/workflows/powers/deep-research/SKILL.md +64 -0
  69. package/workflows/powers/deep-research/references/multi-round-research-loop.md +80 -0
  70. package/workflows/powers/design-system-builder/POWER.md +130 -116
  71. package/workflows/powers/design-system-builder/SKILL.md +130 -116
  72. package/workflows/powers/devops-engineer/POWER.md +120 -57
  73. package/workflows/powers/devops-engineer/SKILL.md +120 -57
  74. package/workflows/powers/docker-kubernetes/POWER.md +94 -0
  75. package/workflows/powers/docker-kubernetes/SKILL.md +91 -0
  76. package/workflows/powers/docker-kubernetes/references/dockerfile-optimization-checklist.md +35 -0
  77. package/workflows/powers/docker-kubernetes/references/kubernetes-deployment-patterns.md +59 -0
  78. package/workflows/powers/documentation-templates/POWER.md +158 -127
  79. package/workflows/powers/documentation-templates/SKILL.md +158 -127
  80. package/workflows/powers/drizzle-expert/POWER.md +66 -0
  81. package/workflows/powers/drizzle-expert/SKILL.md +63 -0
  82. package/workflows/powers/drizzle-expert/references/runtime-pairing-matrix.md +16 -0
  83. package/workflows/powers/drizzle-expert/references/schema-and-migration-playbook.md +18 -0
  84. package/workflows/powers/error-ux-observability/POWER.md +144 -131
  85. package/workflows/powers/error-ux-observability/SKILL.md +143 -131
  86. package/workflows/powers/fastapi-expert/POWER.md +46 -60
  87. package/workflows/powers/fastapi-expert/SKILL.md +46 -60
  88. package/workflows/powers/firebase/POWER.md +65 -0
  89. package/workflows/powers/firebase/SKILL.md +62 -0
  90. package/workflows/powers/firebase/references/platform-routing.md +16 -0
  91. package/workflows/powers/firebase/references/rules-and-indexes-checklist.md +11 -0
  92. package/workflows/powers/flutter-design-system/POWER.md +63 -0
  93. package/workflows/powers/flutter-design-system/SKILL.md +60 -0
  94. package/workflows/powers/flutter-design-system/references/shared-widgets.md +29 -0
  95. package/workflows/powers/flutter-design-system/references/tokens-and-theme.md +34 -0
  96. package/workflows/powers/flutter-drift/POWER.md +65 -0
  97. package/workflows/powers/flutter-drift/SKILL.md +62 -0
  98. package/workflows/powers/flutter-drift/references/migrations.md +22 -0
  99. package/workflows/powers/flutter-drift/references/query-patterns.md +26 -0
  100. package/workflows/powers/flutter-feature/POWER.md +65 -0
  101. package/workflows/powers/flutter-feature/SKILL.md +62 -0
  102. package/workflows/powers/flutter-feature/references/architecture-rules.md +85 -0
  103. package/workflows/powers/flutter-feature/references/composite-provider.md +58 -0
  104. package/workflows/powers/flutter-feature/references/outbox-pattern.md +87 -0
  105. package/workflows/powers/flutter-feature/references/testing-patterns.md +218 -0
  106. package/workflows/powers/flutter-go-router/POWER.md +64 -0
  107. package/workflows/powers/flutter-go-router/SKILL.md +61 -0
  108. package/workflows/powers/flutter-go-router/references/guards-and-deeplinks.md +20 -0
  109. package/workflows/powers/flutter-go-router/references/typed-routes.md +27 -0
  110. package/workflows/powers/flutter-offline-sync/POWER.md +62 -0
  111. package/workflows/powers/flutter-offline-sync/SKILL.md +59 -0
  112. package/workflows/powers/flutter-offline-sync/references/outbox-full.md +44 -0
  113. package/workflows/powers/flutter-repository/POWER.md +64 -0
  114. package/workflows/powers/flutter-repository/SKILL.md +61 -0
  115. package/workflows/powers/flutter-repository/references/drift-patterns.md +21 -0
  116. package/workflows/powers/flutter-repository/references/retrofit-patterns.md +20 -0
  117. package/workflows/powers/flutter-riverpod/POWER.md +70 -0
  118. package/workflows/powers/flutter-riverpod/SKILL.md +67 -0
  119. package/workflows/powers/flutter-riverpod/references/async-and-mutations.md +19 -0
  120. package/workflows/powers/flutter-riverpod/references/async-lifecycle.md +19 -0
  121. package/workflows/powers/flutter-riverpod/references/provider-selection.md +20 -0
  122. package/workflows/powers/flutter-riverpod/references/testing.md +21 -0
  123. package/workflows/powers/flutter-riverpod/references/version-matrix.md +24 -0
  124. package/workflows/powers/flutter-state-machine/POWER.md +62 -0
  125. package/workflows/powers/flutter-state-machine/SKILL.md +59 -0
  126. package/workflows/powers/flutter-state-machine/references/app-state-contract.md +23 -0
  127. package/workflows/powers/flutter-state-machine/references/ui-rendering.md +14 -0
  128. package/workflows/powers/flutter-testing/POWER.md +64 -0
  129. package/workflows/powers/flutter-testing/SKILL.md +61 -0
  130. package/workflows/powers/flutter-testing/references/offline-sync-tests.md +16 -0
  131. package/workflows/powers/flutter-testing/references/test-layers.md +33 -0
  132. package/workflows/powers/frontend-code-review/POWER.md +137 -0
  133. package/workflows/powers/frontend-code-review/SKILL.md +134 -0
  134. package/workflows/powers/frontend-code-review/references/common-antipatterns.md +86 -0
  135. package/workflows/powers/frontend-code-review/references/performance-budgets.md +56 -0
  136. package/workflows/powers/frontend-code-review/references/review-checklists.md +47 -0
  137. package/workflows/powers/frontend-design/POWER.md +163 -362
  138. package/workflows/powers/frontend-design/SKILL.md +163 -362
  139. package/workflows/powers/game-development/POWER.md +57 -140
  140. package/workflows/powers/game-development/SKILL.md +57 -140
  141. package/workflows/powers/geo-fundamentals/POWER.md +64 -126
  142. package/workflows/powers/geo-fundamentals/SKILL.md +64 -127
  143. package/workflows/powers/git-workflow/POWER.md +135 -0
  144. package/workflows/powers/git-workflow/SKILL.md +132 -0
  145. package/workflows/powers/git-workflow/references/pr-review-checklist.md +63 -0
  146. package/workflows/powers/golang-pro/POWER.md +46 -35
  147. package/workflows/powers/golang-pro/SKILL.md +46 -35
  148. package/workflows/powers/graphql-architect/POWER.md +44 -62
  149. package/workflows/powers/graphql-architect/SKILL.md +44 -62
  150. package/workflows/powers/i18n-localization/POWER.md +118 -103
  151. package/workflows/powers/i18n-localization/SKILL.md +118 -103
  152. package/workflows/powers/java-pro/POWER.md +47 -22
  153. package/workflows/powers/java-pro/SKILL.md +47 -22
  154. package/workflows/powers/javascript-pro/POWER.md +47 -34
  155. package/workflows/powers/javascript-pro/SKILL.md +47 -34
  156. package/workflows/powers/kotlin-pro/POWER.md +46 -23
  157. package/workflows/powers/kotlin-pro/SKILL.md +46 -23
  158. package/workflows/powers/legacy-modernizer/POWER.md +43 -60
  159. package/workflows/powers/legacy-modernizer/SKILL.md +43 -60
  160. package/workflows/powers/mcp-builder/POWER.md +65 -0
  161. package/workflows/powers/mcp-builder/SKILL.md +62 -0
  162. package/workflows/powers/mcp-builder/references/testing-and-evals.md +17 -0
  163. package/workflows/powers/mcp-builder/references/transport-and-tool-design.md +17 -0
  164. package/workflows/powers/microservices-architect/POWER.md +43 -70
  165. package/workflows/powers/microservices-architect/SKILL.md +43 -70
  166. package/workflows/powers/mobile-design/POWER.md +110 -345
  167. package/workflows/powers/mobile-design/SKILL.md +110 -345
  168. package/workflows/powers/mongodb/POWER.md +67 -0
  169. package/workflows/powers/mongodb/SKILL.md +64 -0
  170. package/workflows/powers/mongodb/references/mongodb-checklist.md +20 -0
  171. package/workflows/powers/mysql/POWER.md +67 -0
  172. package/workflows/powers/mysql/SKILL.md +64 -0
  173. package/workflows/powers/mysql/references/mysql-checklist.md +20 -0
  174. package/workflows/powers/neki/POWER.md +67 -0
  175. package/workflows/powers/neki/SKILL.md +64 -0
  176. package/workflows/powers/neki/references/neki-checklist.md +18 -0
  177. package/workflows/powers/nestjs-expert/POWER.md +45 -91
  178. package/workflows/powers/nestjs-expert/SKILL.md +45 -91
  179. package/workflows/powers/nextjs-developer/POWER.md +51 -44
  180. package/workflows/powers/nextjs-developer/SKILL.md +51 -44
  181. package/workflows/powers/nodejs-best-practices/POWER.md +48 -29
  182. package/workflows/powers/nodejs-best-practices/SKILL.md +48 -29
  183. package/workflows/powers/observability/POWER.md +109 -0
  184. package/workflows/powers/observability/SKILL.md +106 -0
  185. package/workflows/powers/observability/references/alerting-and-slo-checklist.md +87 -0
  186. package/workflows/powers/observability/references/opentelemetry-setup-guide.md +121 -0
  187. package/workflows/powers/openai-docs/POWER.md +61 -0
  188. package/workflows/powers/openai-docs/SKILL.md +58 -0
  189. package/workflows/powers/openai-docs/references/official-source-playbook.md +10 -0
  190. package/workflows/powers/performance-profiling/POWER.md +61 -114
  191. package/workflows/powers/performance-profiling/SKILL.md +61 -114
  192. package/workflows/powers/php-pro/POWER.md +116 -0
  193. package/workflows/powers/php-pro/SKILL.md +113 -0
  194. package/workflows/powers/php-pro/references/architecture-and-di.md +239 -0
  195. package/workflows/powers/php-pro/references/modern-php-features.md +189 -0
  196. package/workflows/powers/php-pro/references/performance-and-deployment.md +197 -0
  197. package/workflows/powers/php-pro/references/php84-strict-typing-checklist.md +161 -0
  198. package/workflows/powers/php-pro/references/testing-and-static-analysis.md +235 -0
  199. package/workflows/powers/playwright-e2e/POWER.md +85 -0
  200. package/workflows/powers/playwright-e2e/SKILL.md +82 -0
  201. package/workflows/powers/playwright-e2e/references/locator-trace-flake-checklist.md +80 -0
  202. package/workflows/powers/postgres/POWER.md +67 -0
  203. package/workflows/powers/postgres/SKILL.md +64 -0
  204. package/workflows/powers/postgres/references/postgres-checklist.md +20 -0
  205. package/workflows/powers/prompt-engineer/POWER.md +47 -30
  206. package/workflows/powers/prompt-engineer/SKILL.md +47 -30
  207. package/workflows/powers/python-pro/POWER.md +47 -36
  208. package/workflows/powers/python-pro/SKILL.md +47 -36
  209. package/workflows/powers/react-best-practices/POWER.md +56 -33
  210. package/workflows/powers/react-best-practices/SKILL.md +56 -33
  211. package/workflows/powers/react-expert/POWER.md +47 -37
  212. package/workflows/powers/react-expert/SKILL.md +47 -37
  213. package/workflows/powers/redis/POWER.md +67 -0
  214. package/workflows/powers/redis/SKILL.md +64 -0
  215. package/workflows/powers/redis/references/redis-checklist.md +19 -0
  216. package/workflows/powers/ruby-pro/POWER.md +118 -0
  217. package/workflows/powers/ruby-pro/SKILL.md +115 -0
  218. package/workflows/powers/ruby-pro/references/modern-ruby-features.md +189 -0
  219. package/workflows/powers/ruby-pro/references/object-design-patterns.md +220 -0
  220. package/workflows/powers/ruby-pro/references/performance-and-profiling.md +224 -0
  221. package/workflows/powers/ruby-pro/references/ruby-concurrency-and-testing.md +190 -0
  222. package/workflows/powers/ruby-pro/references/testing-and-rspec.md +236 -0
  223. package/workflows/powers/rust-pro/POWER.md +45 -31
  224. package/workflows/powers/rust-pro/SKILL.md +45 -31
  225. package/workflows/powers/security-engineer/POWER.md +129 -0
  226. package/workflows/powers/security-engineer/SKILL.md +126 -0
  227. package/workflows/powers/seo-fundamentals/POWER.md +59 -102
  228. package/workflows/powers/seo-fundamentals/SKILL.md +59 -102
  229. package/workflows/powers/serverless-patterns/POWER.md +171 -0
  230. package/workflows/powers/serverless-patterns/SKILL.md +168 -0
  231. package/workflows/powers/skill-creator/POWER.md +90 -0
  232. package/workflows/powers/skill-creator/SKILL.md +87 -0
  233. package/workflows/powers/skill-creator/references/platform-formats.md +181 -0
  234. package/workflows/powers/skill-creator/references/schemas.md +430 -0
  235. package/workflows/powers/spec-miner/POWER.md +49 -57
  236. package/workflows/powers/spec-miner/SKILL.md +49 -57
  237. package/workflows/powers/sqlite/POWER.md +67 -0
  238. package/workflows/powers/sqlite/SKILL.md +64 -0
  239. package/workflows/powers/sqlite/references/sqlite-checklist.md +19 -0
  240. package/workflows/powers/sre-engineer/POWER.md +123 -64
  241. package/workflows/powers/sre-engineer/SKILL.md +123 -64
  242. package/workflows/powers/static-analysis/POWER.md +121 -77
  243. package/workflows/powers/static-analysis/SKILL.md +121 -77
  244. package/workflows/powers/stripe-best-practices/POWER.md +140 -17
  245. package/workflows/powers/stripe-best-practices/SKILL.md +139 -17
  246. package/workflows/powers/supabase/POWER.md +67 -0
  247. package/workflows/powers/supabase/SKILL.md +64 -0
  248. package/workflows/powers/supabase/references/supabase-checklist.md +19 -0
  249. package/workflows/powers/swift-pro/POWER.md +118 -0
  250. package/workflows/powers/swift-pro/SKILL.md +115 -0
  251. package/workflows/powers/swift-pro/references/concurrency-patterns.md +165 -0
  252. package/workflows/powers/swift-pro/references/protocol-and-generics.md +172 -0
  253. package/workflows/powers/swift-pro/references/sendable-and-isolation.md +116 -0
  254. package/workflows/powers/swift-pro/references/swift-concurrency-and-protocols.md +260 -0
  255. package/workflows/powers/swift-pro/references/testing-and-packages.md +192 -0
  256. package/workflows/powers/tailwind-patterns/POWER.md +71 -240
  257. package/workflows/powers/tailwind-patterns/SKILL.md +71 -240
  258. package/workflows/powers/testing-patterns/POWER.md +155 -10
  259. package/workflows/powers/testing-patterns/SKILL.md +155 -10
  260. package/workflows/powers/typescript-pro/POWER.md +47 -38
  261. package/workflows/powers/typescript-pro/SKILL.md +47 -38
  262. package/workflows/powers/vitess/POWER.md +67 -0
  263. package/workflows/powers/vitess/SKILL.md +64 -0
  264. package/workflows/powers/vitess/references/vitess-checklist.md +19 -0
  265. package/workflows/powers/vulnerability-scanner/POWER.md +146 -10
  266. package/workflows/powers/vulnerability-scanner/SKILL.md +146 -10
  267. package/workflows/powers/web-perf/POWER.md +43 -170
  268. package/workflows/powers/web-perf/SKILL.md +43 -170
  269. package/workflows/powers/webapp-testing/POWER.md +43 -164
  270. package/workflows/powers/webapp-testing/SKILL.md +43 -164
@@ -2,169 +2,86 @@
2
2
  ---
3
3
  inclusion: manual
4
4
  name: game-development
5
- description: Game development orchestrator. Routes to platform-specific skills based on project needs.
6
- allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
+ description: "Use when implementing game mechanics, game loops, physics, AI, collision detection, or performance optimization for web, mobile, PC, or VR/AR games."
6
+ license: MIT
7
+ metadata:
8
+ author: cubis-foundry
9
+ version: "1.0"
10
+ compatibility: Claude Code, Codex, GitHub Copilot
7
11
  ---
8
12
 
9
13
  # Game Development
10
14
 
11
- > **Orchestrator skill** that provides core principles and routes to specialized sub-skills.
15
+ ## Purpose
12
16
 
13
- ---
14
-
15
- ## When to Use This Skill
16
-
17
- 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.
18
-
19
- ---
20
-
21
- ## Sub-Skill Routing
22
-
23
- ### Platform Selection
24
-
25
- | If the game targets... | Use Sub-Skill |
26
- |------------------------|---------------|
27
- | Web browsers (HTML5, WebGL) | `game-development/web-games` |
28
- | Mobile (iOS, Android) | `game-development/mobile-games` |
29
- | PC (Steam, Desktop) | `game-development/pc-games` |
30
- | VR/AR headsets | `game-development/vr-ar` |
31
-
32
- ### Dimension Selection
33
-
34
- | If the game is... | Use Sub-Skill |
35
- |-------------------|---------------|
36
- | 2D (sprites, tilemaps) | `game-development/2d-games` |
37
- | 3D (meshes, shaders) | `game-development/3d-games` |
38
-
39
- ### Specialty Areas
40
-
41
- | If you need... | Use Sub-Skill |
42
- |----------------|---------------|
43
- | GDD, balancing, player psychology | `game-development/game-design` |
44
- | Multiplayer, networking | `game-development/multiplayer` |
45
- | Visual style, asset pipeline, animation | `game-development/game-art` |
46
- | Sound design, music, adaptive audio | `game-development/game-audio` |
47
-
48
- ---
49
-
50
- ## Core Principles (All Platforms)
51
-
52
- ### 1. The Game Loop
53
-
54
- Every game, regardless of platform, follows this pattern:
55
-
56
- ```
57
- INPUT → Read player actions
58
- UPDATE → Process game logic (fixed timestep)
59
- RENDER → Draw the frame (interpolated)
60
- ```
17
+ Use when implementing game mechanics, game loops, physics, AI, collision detection, or performance optimization for web, mobile, PC, or VR/AR games.
61
18
 
62
- **Fixed Timestep Rule:**
63
- - Physics/logic: Fixed rate (e.g., 50Hz)
64
- - Rendering: As fast as possible
65
- - Interpolate between states for smooth visuals
19
+ ## When to Use
66
20
 
67
- ---
68
-
69
- ### 2. Pattern Selection Matrix
70
-
71
- | Pattern | Use When | Example |
72
- |---------|----------|---------|
73
- | **State Machine** | 3-5 discrete states | Player: Idle→Walk→Jump |
74
- | **Object Pooling** | Frequent spawn/destroy | Bullets, particles |
75
- | **Observer/Events** | Cross-system communication | Health→UI updates |
76
- | **ECS** | Thousands of similar entities | RTS units, particles |
77
- | **Command** | Undo, replay, networking | Input recording |
78
- | **Behavior Tree** | Complex AI decisions | Enemy AI |
79
-
80
- **Decision Rule:** Start with State Machine. Add ECS only when performance demands.
81
-
82
- ---
83
-
84
- ### 3. Input Abstraction
85
-
86
- Abstract input into ACTIONS, not raw keys:
87
-
88
- ```
89
- "jump" → Space, Gamepad A, Touch tap
90
- "move" → WASD, Left stick, Virtual joystick
91
- ```
21
+ - Implementing core game loops (input, update, render) for any platform.
22
+ - Choosing game architecture patterns (ECS, state machine, object pooling).
23
+ - Implementing collision detection, physics, or spatial partitioning.
24
+ - Designing game AI (FSM, behavior trees, utility AI, GOAP).
25
+ - Optimizing game performance to hit 60 FPS budgets.
26
+ - Platform-specific game delivery (web, mobile, desktop, VR/AR).
92
27
 
93
- **Why:** Enables multi-platform, rebindable controls.
28
+ ## Instructions
94
29
 
95
- ---
30
+ 1. Determine target platform and rendering approach.
31
+ 2. Implement the core game loop with fixed timestep for physics and variable timestep for rendering.
32
+ 3. Choose architecture patterns based on entity count and complexity.
33
+ 4. Implement game systems in priority order: input, physics/collision, game logic, rendering, audio.
34
+ 5. Profile early and continuously against the performance budget.
96
35
 
97
- ### 4. Performance Budget (60 FPS = 16.67ms)
36
+ ### Baseline standards
98
37
 
99
- | System | Budget |
100
- |--------|--------|
101
- | Input | 1ms |
102
- | Physics | 3ms |
103
- | AI | 2ms |
104
- | Game Logic | 4ms |
105
- | Rendering | 5ms |
106
- | Buffer | 1.67ms |
38
+ - Performance budget: 60 FPS = 16.67ms per frame (input 1ms, physics 3ms, game logic 4ms, render 6ms, audio 1ms, overhead 1.67ms).
39
+ - Use object pooling for frequently created/destroyed entities.
40
+ - Separate game logic from rendering for testability.
41
+ - Use spatial partitioning for collision detection at scale.
42
+ - Implement deterministic physics with fixed timestep.
107
43
 
108
- **Optimization Priority:**
109
- 1. Algorithm (O(n²) → O(n log n))
110
- 2. Batching (reduce draw calls)
111
- 3. Pooling (avoid GC spikes)
112
- 4. LOD (detail by distance)
113
- 5. Culling (skip invisible)
44
+ ### Pattern selection
114
45
 
115
- ---
46
+ | Pattern | When to Use |
47
+ | --------------- | ----------------------------------------------- |
48
+ | State Machine | Character states, UI flow, game phases |
49
+ | ECS | Large entity counts, data-driven composition |
50
+ | Object Pooling | Bullets, particles, frequently spawned entities |
51
+ | Command Pattern | Input handling, replay, undo |
52
+ | Observer | Events, achievements, UI updates |
116
53
 
117
- ### 5. AI Selection by Complexity
54
+ ### AI selection by complexity
118
55
 
119
- | AI Type | Complexity | Use When |
120
- |---------|------------|----------|
121
- | **FSM** | Simple | 3-5 states, predictable behavior |
122
- | **Behavior Tree** | Medium | Modular, designer-friendly |
123
- | **GOAP** | High | Emergent, planning-based |
124
- | **Utility AI** | High | Scoring-based decisions |
56
+ | Complexity | Approach |
57
+ | ---------- | ------------------------------------------ |
58
+ | Simple | Finite State Machine (FSM) |
59
+ | Medium | Behavior Tree |
60
+ | Complex | GOAP or Utility AI |
61
+ | Adaptive | Machine learning (rare in real-time games) |
125
62
 
126
- ---
63
+ ### Constraints
127
64
 
128
- ### 6. Collision Strategy
65
+ - Never allocate memory in the hot path (game loop).
66
+ - Never use floating point equality for physics comparisons.
67
+ - Never couple game logic directly to frame rate.
68
+ - Always handle edge cases in collision detection (tunneling, resting contact).
129
69
 
130
- | Type | Best For |
131
- |------|----------|
132
- | **AABB** | Rectangles, fast checks |
133
- | **Circle** | Round objects, cheap |
134
- | **Spatial Hash** | Many similar-sized objects |
135
- | **Quadtree** | Large worlds, varying sizes |
70
+ ## Output Format
136
71
 
137
- ---
72
+ Provide implementation guidance, code examples, architecture diagrams, and performance budgets as appropriate.
138
73
 
139
- ## Anti-Patterns (Universal)
74
+ ## References
140
75
 
141
- | Don't | Do |
142
- |-------|-----|
143
- | Update everything every frame | Use events, dirty flags |
144
- | Create objects in hot loops | Object pooling |
145
- | Cache nothing | Cache references |
146
- | Optimize without profiling | Profile first |
147
- | Mix input with logic | Abstract input layer |
76
+ No reference files for this skill right now.
148
77
 
149
- ---
78
+ ## Scripts
150
79
 
151
- ## Routing Examples
80
+ No helper scripts are required for this skill right now.
152
81
 
153
- ### Example 1: "I want to make a browser-based 2D platformer"
154
- → Start with `game-development/web-games` for framework selection
155
- → Then `game-development/2d-games` for sprite/tilemap patterns
156
- → Reference `game-development/game-design` for level design
157
-
158
- ### Example 2: "Mobile puzzle game for iOS and Android"
159
- → Start with `game-development/mobile-games` for touch input and stores
160
- → Use `game-development/game-design` for puzzle balancing
161
-
162
- ### Example 3: "Multiplayer VR shooter"
163
- → `game-development/vr-ar` for comfort and immersion
164
- → `game-development/3d-games` for rendering
165
- → `game-development/multiplayer` for networking
166
-
167
- ---
82
+ ## Examples
168
83
 
169
- > **Remember:** Great games come from iteration, not perfection. Prototype fast, then polish.
84
+ - "Help me implement a game loop with fixed timestep physics"
85
+ - "Choose the right collision detection strategy for my 2D platformer"
86
+ - "Design an entity component system for my RTS game"
170
87
  ````
@@ -1,167 +1,84 @@
1
1
  ---
2
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
3
+ description: "Use when implementing game mechanics, game loops, physics, AI, collision detection, or performance optimization for web, mobile, PC, or VR/AR games."
4
+ license: MIT
5
+ metadata:
6
+ author: cubis-foundry
7
+ version: "1.0"
8
+ compatibility: Claude Code, Codex, GitHub Copilot
5
9
  ---
6
10
 
7
11
  # Game Development
8
12
 
9
- > **Orchestrator skill** that provides core principles and routes to specialized sub-skills.
13
+ ## Purpose
10
14
 
11
- ---
12
-
13
- ## When to Use This Skill
14
-
15
- 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.
16
-
17
- ---
18
-
19
- ## Sub-Skill Routing
20
-
21
- ### Platform Selection
22
-
23
- | If the game targets... | Use Sub-Skill |
24
- |------------------------|---------------|
25
- | Web browsers (HTML5, WebGL) | `game-development/web-games` |
26
- | Mobile (iOS, Android) | `game-development/mobile-games` |
27
- | PC (Steam, Desktop) | `game-development/pc-games` |
28
- | VR/AR headsets | `game-development/vr-ar` |
29
-
30
- ### Dimension Selection
31
-
32
- | If the game is... | Use Sub-Skill |
33
- |-------------------|---------------|
34
- | 2D (sprites, tilemaps) | `game-development/2d-games` |
35
- | 3D (meshes, shaders) | `game-development/3d-games` |
36
-
37
- ### Specialty Areas
38
-
39
- | If you need... | Use Sub-Skill |
40
- |----------------|---------------|
41
- | GDD, balancing, player psychology | `game-development/game-design` |
42
- | Multiplayer, networking | `game-development/multiplayer` |
43
- | Visual style, asset pipeline, animation | `game-development/game-art` |
44
- | Sound design, music, adaptive audio | `game-development/game-audio` |
45
-
46
- ---
47
-
48
- ## Core Principles (All Platforms)
49
-
50
- ### 1. The Game Loop
51
-
52
- Every game, regardless of platform, follows this pattern:
53
-
54
- ```
55
- INPUT → Read player actions
56
- UPDATE → Process game logic (fixed timestep)
57
- RENDER → Draw the frame (interpolated)
58
- ```
15
+ Use when implementing game mechanics, game loops, physics, AI, collision detection, or performance optimization for web, mobile, PC, or VR/AR games.
59
16
 
60
- **Fixed Timestep Rule:**
61
- - Physics/logic: Fixed rate (e.g., 50Hz)
62
- - Rendering: As fast as possible
63
- - Interpolate between states for smooth visuals
17
+ ## When to Use
64
18
 
65
- ---
66
-
67
- ### 2. Pattern Selection Matrix
68
-
69
- | Pattern | Use When | Example |
70
- |---------|----------|---------|
71
- | **State Machine** | 3-5 discrete states | Player: Idle→Walk→Jump |
72
- | **Object Pooling** | Frequent spawn/destroy | Bullets, particles |
73
- | **Observer/Events** | Cross-system communication | Health→UI updates |
74
- | **ECS** | Thousands of similar entities | RTS units, particles |
75
- | **Command** | Undo, replay, networking | Input recording |
76
- | **Behavior Tree** | Complex AI decisions | Enemy AI |
77
-
78
- **Decision Rule:** Start with State Machine. Add ECS only when performance demands.
79
-
80
- ---
81
-
82
- ### 3. Input Abstraction
83
-
84
- Abstract input into ACTIONS, not raw keys:
85
-
86
- ```
87
- "jump" → Space, Gamepad A, Touch tap
88
- "move" → WASD, Left stick, Virtual joystick
89
- ```
19
+ - Implementing core game loops (input, update, render) for any platform.
20
+ - Choosing game architecture patterns (ECS, state machine, object pooling).
21
+ - Implementing collision detection, physics, or spatial partitioning.
22
+ - Designing game AI (FSM, behavior trees, utility AI, GOAP).
23
+ - Optimizing game performance to hit 60 FPS budgets.
24
+ - Platform-specific game delivery (web, mobile, desktop, VR/AR).
90
25
 
91
- **Why:** Enables multi-platform, rebindable controls.
26
+ ## Instructions
92
27
 
93
- ---
28
+ 1. Determine target platform and rendering approach.
29
+ 2. Implement the core game loop with fixed timestep for physics and variable timestep for rendering.
30
+ 3. Choose architecture patterns based on entity count and complexity.
31
+ 4. Implement game systems in priority order: input, physics/collision, game logic, rendering, audio.
32
+ 5. Profile early and continuously against the performance budget.
94
33
 
95
- ### 4. Performance Budget (60 FPS = 16.67ms)
34
+ ### Baseline standards
96
35
 
97
- | System | Budget |
98
- |--------|--------|
99
- | Input | 1ms |
100
- | Physics | 3ms |
101
- | AI | 2ms |
102
- | Game Logic | 4ms |
103
- | Rendering | 5ms |
104
- | Buffer | 1.67ms |
36
+ - Performance budget: 60 FPS = 16.67ms per frame (input 1ms, physics 3ms, game logic 4ms, render 6ms, audio 1ms, overhead 1.67ms).
37
+ - Use object pooling for frequently created/destroyed entities.
38
+ - Separate game logic from rendering for testability.
39
+ - Use spatial partitioning for collision detection at scale.
40
+ - Implement deterministic physics with fixed timestep.
105
41
 
106
- **Optimization Priority:**
107
- 1. Algorithm (O(n²) → O(n log n))
108
- 2. Batching (reduce draw calls)
109
- 3. Pooling (avoid GC spikes)
110
- 4. LOD (detail by distance)
111
- 5. Culling (skip invisible)
42
+ ### Pattern selection
112
43
 
113
- ---
44
+ | Pattern | When to Use |
45
+ | --------------- | ----------------------------------------------- |
46
+ | State Machine | Character states, UI flow, game phases |
47
+ | ECS | Large entity counts, data-driven composition |
48
+ | Object Pooling | Bullets, particles, frequently spawned entities |
49
+ | Command Pattern | Input handling, replay, undo |
50
+ | Observer | Events, achievements, UI updates |
114
51
 
115
- ### 5. AI Selection by Complexity
52
+ ### AI selection by complexity
116
53
 
117
- | AI Type | Complexity | Use When |
118
- |---------|------------|----------|
119
- | **FSM** | Simple | 3-5 states, predictable behavior |
120
- | **Behavior Tree** | Medium | Modular, designer-friendly |
121
- | **GOAP** | High | Emergent, planning-based |
122
- | **Utility AI** | High | Scoring-based decisions |
54
+ | Complexity | Approach |
55
+ | ---------- | ------------------------------------------ |
56
+ | Simple | Finite State Machine (FSM) |
57
+ | Medium | Behavior Tree |
58
+ | Complex | GOAP or Utility AI |
59
+ | Adaptive | Machine learning (rare in real-time games) |
123
60
 
124
- ---
61
+ ### Constraints
125
62
 
126
- ### 6. Collision Strategy
63
+ - Never allocate memory in the hot path (game loop).
64
+ - Never use floating point equality for physics comparisons.
65
+ - Never couple game logic directly to frame rate.
66
+ - Always handle edge cases in collision detection (tunneling, resting contact).
127
67
 
128
- | Type | Best For |
129
- |------|----------|
130
- | **AABB** | Rectangles, fast checks |
131
- | **Circle** | Round objects, cheap |
132
- | **Spatial Hash** | Many similar-sized objects |
133
- | **Quadtree** | Large worlds, varying sizes |
68
+ ## Output Format
134
69
 
135
- ---
70
+ Provide implementation guidance, code examples, architecture diagrams, and performance budgets as appropriate.
136
71
 
137
- ## Anti-Patterns (Universal)
72
+ ## References
138
73
 
139
- | Don't | Do |
140
- |-------|-----|
141
- | Update everything every frame | Use events, dirty flags |
142
- | Create objects in hot loops | Object pooling |
143
- | Cache nothing | Cache references |
144
- | Optimize without profiling | Profile first |
145
- | Mix input with logic | Abstract input layer |
74
+ No reference files for this skill right now.
146
75
 
147
- ---
76
+ ## Scripts
148
77
 
149
- ## Routing Examples
78
+ No helper scripts are required for this skill right now.
150
79
 
151
- ### Example 1: "I want to make a browser-based 2D platformer"
152
- → Start with `game-development/web-games` for framework selection
153
- → Then `game-development/2d-games` for sprite/tilemap patterns
154
- → Reference `game-development/game-design` for level design
155
-
156
- ### Example 2: "Mobile puzzle game for iOS and Android"
157
- → Start with `game-development/mobile-games` for touch input and stores
158
- → Use `game-development/game-design` for puzzle balancing
159
-
160
- ### Example 3: "Multiplayer VR shooter"
161
- → `game-development/vr-ar` for comfort and immersion
162
- → `game-development/3d-games` for rendering
163
- → `game-development/multiplayer` for networking
164
-
165
- ---
80
+ ## Examples
166
81
 
167
- > **Remember:** Great games come from iteration, not perfection. Prototype fast, then polish.
82
+ - "Help me implement a game loop with fixed timestep physics"
83
+ - "Choose the right collision detection strategy for my 2D platformer"
84
+ - "Design an entity component system for my RTS game"
@@ -2,157 +2,95 @@
2
2
  ---
3
3
  inclusion: manual
4
4
  name: geo-fundamentals
5
- description: Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).
6
- allowed-tools: Read, Glob, Grep
5
+ description: "Use when optimizing content for AI search engines (ChatGPT, Claude, Perplexity) using Generative Engine Optimization techniques and citation-worthy content patterns."
6
+ license: MIT
7
+ metadata:
8
+ author: cubis-foundry
9
+ version: "1.0"
10
+ compatibility: Claude Code, Codex, GitHub Copilot
7
11
  ---
8
12
 
9
13
  # GEO Fundamentals
10
14
 
11
- > Optimization for AI-powered search engines.
15
+ ## Purpose
12
16
 
13
- ---
14
-
15
- ## 1. What is GEO?
16
-
17
- **GEO** = Generative Engine Optimization
18
-
19
- | Goal | Platform |
20
- |------|----------|
21
- | Be cited in AI responses | ChatGPT, Claude, Perplexity, Gemini |
22
-
23
- ### SEO vs GEO
24
-
25
- | Aspect | SEO | GEO |
26
- |--------|-----|-----|
27
- | Goal | #1 ranking | AI citations |
28
- | Platform | Google | AI engines |
29
- | Metrics | Rankings, CTR | Citation rate |
30
- | Focus | Keywords | Entities, data |
31
-
32
- ---
33
-
34
- ## 2. AI Engine Landscape
35
-
36
- | Engine | Citation Style | Opportunity |
37
- |--------|----------------|-------------|
38
- | **Perplexity** | Numbered [1][2] | Highest citation rate |
39
- | **ChatGPT** | Inline/footnotes | Custom GPTs |
40
- | **Claude** | Contextual | Long-form content |
41
- | **Gemini** | Sources section | SEO crossover |
42
-
43
- ---
44
-
45
- ## 3. RAG Retrieval Factors
46
-
47
- How AI engines select content to cite:
48
-
49
- | Factor | Weight |
50
- |--------|--------|
51
- | Semantic relevance | ~40% |
52
- | Keyword match | ~20% |
53
- | Authority signals | ~15% |
54
- | Freshness | ~10% |
55
- | Source diversity | ~15% |
17
+ Use when optimizing content for AI search engines (ChatGPT, Claude, Perplexity) using Generative Engine Optimization techniques and citation-worthy content patterns.
56
18
 
57
- ---
58
-
59
- ## 4. Content That Gets Cited
19
+ ## When to Use
60
20
 
61
- | Element | Why It Works |
62
- |---------|--------------|
63
- | **Original statistics** | Unique, citable data |
64
- | **Expert quotes** | Authority transfer |
65
- | **Clear definitions** | Easy to extract |
66
- | **Step-by-step guides** | Actionable value |
67
- | **Comparison tables** | Structured info |
68
- | **FAQ sections** | Direct answers |
69
-
70
- ---
21
+ - Optimizing content to be cited by AI search engines and LLM-powered tools.
22
+ - Understanding the differences between traditional SEO and Generative Engine Optimization.
23
+ - Creating content that performs well in RAG retrieval pipelines.
24
+ - Configuring AI crawler access and structured data for LLM consumption.
25
+ - Designing content strategies that work across both traditional and AI-powered search.
71
26
 
72
- ## 5. GEO Content Checklist
27
+ ## Instructions
73
28
 
74
- ### Content Elements
29
+ 1. Understand the AI search landscape — how Perplexity, ChatGPT, and Claude cite sources differently.
30
+ 2. Optimize for RAG retrieval factors — semantic relevance (~40%), keyword match (~20%), authority (~15%), freshness (~10%), diversity (~15%).
31
+ 3. Create citation-worthy content — original statistics, expert quotes, clear definitions, step-by-step guides, comparison tables.
32
+ 4. Implement technical GEO — schema markup, author credentials, AI crawler access, FAQ sections.
33
+ 5. Measure and iterate — track AI citation frequency and adapt content strategy.
75
34
 
76
- - [ ] Question-based titles
77
- - [ ] Summary/TL;DR at top
78
- - [ ] Original data with sources
79
- - [ ] Expert quotes (name, title)
80
- - [ ] FAQ section (3-5 Q&A)
81
- - [ ] Clear definitions
82
- - [ ] "Last updated" timestamp
83
- - [ ] Author with credentials
35
+ ### SEO vs GEO comparison
84
36
 
85
- ### Technical Elements
37
+ | Aspect | Traditional SEO | Generative Engine Optimization |
38
+ | ------- | -------------------------- | ----------------------------------- |
39
+ | Target | Search engine results page | AI-generated answers |
40
+ | Goal | Click-through from SERP | Citation in AI response |
41
+ | Content | Keyword-optimized pages | Citation-worthy, structured content |
42
+ | Links | Backlink building | Authority signals for RAG |
43
+ | Schema | For rich snippets | For LLM understanding |
86
44
 
87
- - [ ] Article schema with dates
88
- - [ ] Person schema for author
89
- - [ ] FAQPage schema
90
- - [ ] Fast loading (< 2.5s)
91
- - [ ] Clean HTML structure
45
+ ### Content patterns that get cited
92
46
 
93
- ---
47
+ - Original statistics and data points
48
+ - Expert quotes with credentials
49
+ - Clear, concise definitions
50
+ - Step-by-step guides with numbered steps
51
+ - Comparison tables with concrete data
52
+ - Unique frameworks or methodologies
94
53
 
95
- ## 6. Entity Building
54
+ ### AI crawler user agents
96
55
 
97
- | Action | Purpose |
98
- |--------|---------|
99
- | Google Knowledge Panel | Entity recognition |
100
- | Wikipedia (if notable) | Authority source |
101
- | Consistent info across web | Entity consolidation |
102
- | Industry mentions | Authority signals |
56
+ | Crawler | Engine |
57
+ | --------------- | ------------------ |
58
+ | GPTBot | ChatGPT / OpenAI |
59
+ | Claude-Web | Claude / Anthropic |
60
+ | PerplexityBot | Perplexity |
61
+ | Google-Extended | Google AI features |
103
62
 
104
- ---
63
+ ### GEO content checklist
105
64
 
106
- ## 7. AI Crawler Access
65
+ - Question-based titles and headings
66
+ - Author credentials and expertise signals
67
+ - FAQ sections with structured data
68
+ - Article and FAQPage schema markup
69
+ - Clear, quotable sentences in the first paragraph
70
+ - Data-backed claims with sources
107
71
 
108
- ### Key AI User-Agents
72
+ ### Constraints
109
73
 
110
- | Crawler | Engine |
111
- |---------|--------|
112
- | GPTBot | ChatGPT/OpenAI |
113
- | Claude-Web | Claude |
114
- | PerplexityBot | Perplexity |
115
- | Googlebot | Gemini (shared) |
74
+ - Never block AI crawlers unless there's a specific business reason.
75
+ - Never create content solely for AI citation without user value.
76
+ - Always maintain content accuracy — AI engines amplify both good and bad information.
77
+ - Always include proper attribution for data and quotes.
116
78
 
117
- ### Access Decision
79
+ ## Output Format
118
80
 
119
- | Strategy | When |
120
- |----------|------|
121
- | Allow all | Want AI citations |
122
- | Block GPTBot | Don't want OpenAI training |
123
- | Selective | Allow some, block others |
81
+ Provide GEO audit findings, content optimization recommendations, schema markup, and crawler configuration guidance.
124
82
 
125
- ---
83
+ ## References
126
84
 
127
- ## 8. Measurement
85
+ No reference files for this skill right now.
128
86
 
129
- | Metric | How to Track |
130
- |--------|--------------|
131
- | AI citations | Manual monitoring |
132
- | "According to [Brand]" mentions | Search in AI |
133
- | Competitor citations | Compare share |
134
- | AI-referred traffic | UTM parameters |
87
+ ## Scripts
135
88
 
136
- ---
137
-
138
- ## 9. Anti-Patterns
139
-
140
- | ❌ Don't | ✅ Do |
141
- |----------|-------|
142
- | Publish without dates | Add timestamps |
143
- | Vague attributions | Name sources |
144
- | Skip author info | Show credentials |
145
- | Thin content | Comprehensive coverage |
146
-
147
- ---
148
-
149
- > **Remember:** AI cites content that's clear, authoritative, and easy to extract. Be the best answer.
150
-
151
- ---
89
+ No helper scripts are required for this skill right now.
152
90
 
153
- ## Script
91
+ ## Examples
154
92
 
155
- | Script | Purpose | Command |
156
- |--------|---------|---------|
157
- | `scripts/geo_checker.py` | GEO audit (AI citation readiness) | `python scripts/geo_checker.py <project_path>` |
93
+ - "Optimize our documentation to be cited by AI search engines"
94
+ - "Create a GEO content strategy for our developer blog"
95
+ - "Configure AI crawler access and structured data for our site"
158
96
  ````