game-developer
できること
UnityとUnreal Engineで、ゲームのしくみと性能の作業を進めるようエージェントを導きます。なめらかなフレームレートと、しっかりしたゲームのシステムがほしいゲーム開発者向けです。
使う場面
- ✓UnityまたはUnreal Engineでゲームのシステムを実装しているとき。
- ✓ゲームのフレームレートが、なめらかな水準を下回り、プロファイリングが必要なとき。
- ✓ラグ補正を備えたマルチプレイヤーのネットワークを追加するとき。
スキルのリンク
https://github.com/Jeffallan/claude-skills/blob/main/skills/game-developer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Unityのゲームが、大規模な戦闘で毎秒30フレームを下回ります。原因を見つけて直してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、ゲームのアーキテクチャを計画し、システムを作ります。そのあと、エンジンのツールでゲームをプロファイリングします。フレーム時間を16ミリ秒以下、つまり毎秒60フレームを目指します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Game Developer
Core Workflow
- Analyze requirements — Identify genre, platforms, performance targets, multiplayer needs
- Design architecture — Plan ECS/component systems, optimize for target platforms
- Implement — Build core mechanics, graphics, physics, AI, networking
- Optimize — Profile and optimize for 60+ FPS, minimize memory/battery usage
- ✅ Validation checkpoint: Run Unity Profiler or Unreal Insights; verify frame time ≤16 ms (60 FPS) before proceeding. Identify and resolve CPU/GPU bottlenecks iteratively.
- Test — Cross-platform testing, performance validation, multiplayer stress tests
- ✅ Validation checkpoint: Confirm stable frame rate under stress load; run multiplayer latency/desync tests before shipping.
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Unity Development | references/unity-patterns.md |
Unity C#, MonoBehaviour, Scriptable Objects |
| Unreal Development | references/unreal-cpp.md |
Unreal C++, Blueprints, Actor components |
| ECS & Patterns | references/ecs-patterns.md |
Entity Component System, game patterns |
| Performance | references/performance-optimization.md |
FPS optimization, profiling, memory |
| Networking | references/multiplayer-networking.md |
Multiplayer, client-server, lag compensation |
Constraints
MUST DO
- Target 60+ FPS on all platforms
- Use object pooling for frequent instantiation
- Implement LOD systems for optimization
- Profile performance regularly (CPU, GPU, memory)
- Use async loading for resources
- Implement proper state machines for game logic
- Cache component references (avoid GetComponent in Update)
- Use delta time for frame-independent movement
MUST NOT DO
- Instantiate/Destroy in tight loops or Update()
- Skip profiling and performance testing
- Use string comparisons for tags (use CompareTag)
- Allocate memory in Update/FixedUpdate loops
- Ignore platform-specific constraints (mobile, console)
- Use Find methods in Update loops
- Hardcode game values (use ScriptableObjects/data files)
Output Templates
When implementing game features, provide:
- Core system implementation (ECS component, MonoBehaviour, or Actor)
- Associated data structures (ScriptableObjects, structs, configs)
- Performance considerations and optimizations
- Brief explanation of architecture decisions
Key Code Patterns
Object Pooling (Unity C#)
public class ObjectPool<T> where T : Component
{
private readonly Queue<T> _pool = new();
private readonly T _prefab;
private readonly Transform _parent;
public ObjectPool(T prefab, int initialSize, Transform parent = null)
{
_prefab = prefab;
_parent = parent;
for (int i = 0; i < initialSize; i++)
Release(Create());
}
public T Get()
{
T obj = _pool.Count > 0 ? _pool.Dequeue() : Create();
obj.gameObject.SetActive(true);
return obj;
}
public void Release(T obj)
{
obj.gameObject.SetActive(false);
_pool.Enqueue(obj);
}
private T Create() => Object.Instantiate(_prefab, _parent);
}
Component Caching (Unity C#)
public class PlayerController : MonoBehaviour
{
// Cache all component references in Awake — never call GetComponent in Update
private Rigidbody _rb;
private Animator _animator;
private PlayerInput _input;
private void Awake()
{
_rb = GetComponent<Rigidbody>();
_animator = GetComponent<Animator>();
_input = GetComponent<PlayerInput>();
}
private void FixedUpdate()
{
// Use cached references; use deltaTime for frame-independence
Vector3 move = _input.MoveDirection * (speed * Time.fixedDeltaTime);
_rb.MovePosition(_rb.position + move);
}
}
State Machine (Unity C#)
public abstract class State
{
public abstract void Enter();
public abstract void Tick(float deltaTime);
public abstract void Exit();
}
public class StateMachine
{
private State _current;
public void TransitionTo(State next)
{
_current?.Exit();
_current = next;
_current.Enter();
}
public void Tick(float deltaTime) => _current?.Tick(deltaTime);
}
// Usage example
public class IdleState : State
{
private readonly Animator _animator;
public IdleState(Animator animator) => _animator = an
よくある質問
どのエンジンに対応していますか?
C#を使うUnityと、C++とBlueprintを使うUnreal Engineに対応しています。
どのフレームレートを目指しますか?
毎秒60フレーム以上、つまりフレーム時間が16ミリ秒以下を目指します。
マルチプレイヤーにも対応していますか?
はい。クライアントとサーバーのネットワークとラグ補正を扱い、出荷の前にストレステストを勧めます。
詳細
作者による元の説明
Use when building game systems, implementing Unity/Unreal Engine features, or optimizing game performance. Invoke to implement ECS architecture, configure physics systems and colliders, set up multiplayer networking with lag compensation, optimize frame rates to 60+ FPS targets, develop shaders, or apply game design patterns such as object pooling and state machines. Trigger keywords: Unity, Unreal Engine, game development, ECS architecture, game physics, multiplayer networking, game optimization, shader programming, game AI.
repo: Jeffallan/claude-skills
人気
- GitHubのスター
- 12k
- ランキング
- #11427
- ライセンス
- MIT
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
angular-architect
12kエージェントが、スタンドアロンコンポーネント、遅延読み込みのルーティング、NgRxの状態管理、RxJSのパターン、性能の調整を使ったAngular 17以降のアプリを作るのを支援します。
api-designer
12kエージェントが、RESTまたはGraphQLのAPIを設計し、OpenAPI 3.1の仕様を書くのを支援します。リソース、ページネーション、エラーの形式、バージョン管理のルールを含みます。
architecture-designer
12kエージェントが、システムのアーキテクチャを設計し、パターンや技術を比べて、それぞれの選択を説明するアーキテクチャ決定記録(ADR)を書くのを支援します。
atlassian-mcp
12kMCPを通じて、JiraのIssueとConfluenceのページを検索、更新するのを支援します。JQLとCQLのクエリ、スプリント、ドキュメントの同期を含みます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。