Game development expert including DragonRuby, Unity, and game mechanics
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
| Anti-Pattern | Why It Fails | Correct Approach | | -------------------------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------- | | Instantiating/destroying objects every frame | GC pressure causes frame hitches; performance degrades with entity count | Use object pools; reuse pre-allocated instances by resetting and re-enabling | | Game logic in the render step | Frame-rate-dependent behavior; desync between logic and display | Separate fixed-rate update loop from variable-rate render loop | | Ad-hoc if/else for entity states | Impossible edge cases; transitions undefined for unexpected state combos | Use explicit state machine with defined transitions and entry/exit hooks | | Direct input polling in entity update | Breaks remapping, replay, and multiplayer input sync | Route all input through centralized input manager updated once per frame | | Optimizing without profiling | Wrong bottleneck targeted; CPU/GPU budget guesses are often wrong | Profile with Unity Profiler or platform tools; optimize measured hot paths only |
This expert skill consolidates 4 individual skills:
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer