New to Claude Skills? Learn how to install them →

Gjeffallan on GitHub

Game Developer

Free

Streamline your game development workflow across platforms.

Get this skill

Free · Opens the source repo

What Game Developer does

The Game Developer skill is designed to assist developers in building robust game systems using Unity and Unreal Engine. It provides a structured workflow that guides you through the essential stages of game development, from analyzing requirements to optimizing performance. This skill is particularly useful for those looking to implement Entity Component System (ECS) architecture, configure physics systems, and set up multiplayer networking with lag compensation.

The core workflow begins with analyzing the game's requirements, including genre, platforms, and performance targets. Following this, developers can design the architecture by planning ECS and component systems tailored for their target platforms. The skill emphasizes the importance of implementing core mechanics, graphics, physics, AI, and networking while adhering to best practices for performance optimization.

One of the key features of this skill is its focus on achieving a stable frame rate of 60+ FPS across all platforms. Developers are encouraged to regularly profile performance using tools like Unity Profiler or Unreal Insights, ensuring that frame times remain within acceptable limits. Additionally, the skill provides validation checkpoints to confirm that the game runs smoothly under stress conditions, particularly in multiplayer scenarios.

The included reference materials cover a variety of topics, including Unity and Unreal development patterns, ECS architecture, performance optimization techniques, and multiplayer networking strategies. These resources are invaluable for developers who need quick access to best practices and code patterns that can enhance their game development process.

When to use it

Use this skill when starting a new game project or when optimizing existing game systems for performance and multiplayer functionality.

When not to use it

This skill may not be suitable for non-game development projects or for developers looking for high-level game design concepts without technical implementation guidance.

What you can build with it

Implementing ECS Architecture

Utilize the skill to design and implement ECS architecture in Unity or Unreal, ensuring efficient game systems.

Optimizing Game Performance

Follow the structured workflow to profile and optimize your game for 60+ FPS across various platforms.

Setting Up Multiplayer Networking

Use the networking reference materials to configure multiplayer features with lag compensation effectively.

How to install Game Developer

View source

1. Install with the skills CLI

npx skills add jeffallan/claude-skills/game-developer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by jeffallan

Game Developer

Core Workflow

  1. Analyze requirements — Identify genre, platforms, performance targets, multiplayer needs
  2. Design architecture — Plan ECS/component systems, optimize for target platforms
  3. Implement — Build core mechanics, graphics, physics, AI, networking
  4. 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.
  5. 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:

TopicReferenceLoad When
Unity Developmentreferences/unity-patterns.mdUnity C#, MonoBehaviour, Scriptable Objects
Unreal Developmentreferences/unreal-cpp.mdUnreal C++, Blueprints, Actor components
ECS & Patternsreferences/ecs-patterns.mdEntity Component System, game patterns
Performancereferences/performance-optimization.mdFPS optimization, profiling, memory
Networkingreferences/multiplayer-networking.mdMultiplayer, 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:

  1. Core system implementation (ECS component, MonoBehaviour, or Actor)
  2. Associated data structures (ScriptableObjects, structs, configs)
  3. Performance considerations and optimizations
  4. 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 = animator;
    public override void Enter() => _animator.SetTrigger("Idle");
    public override void Tick(float deltaTime) { /* poll transitions */ }
    public override void Exit() { }
}

Documentation

Frequently asked questions about Game Developer

Similar skills