Saltar al contenido
Skillpedia
Programación general12 mil · #11427

game-developer

Qué hace

Guía al agente de IA en la creación de mecánicas de juego y en el trabajo de rendimiento en Unity o Unreal Engine. Está pensada para desarrolladores de juegos que necesitan una tasa de fotogramas fluida y sistemas de juego sólidos.

Cuándo usarla

  • ✓Cuando estás implementando un sistema de juego en Unity o Unreal Engine.
  • ✓Cuando tu juego baja de una tasa de fotogramas fluida y necesita un análisis de rendimiento.
  • ✓Cuando añades redes multijugador con compensación de latencia.

Link de la skill

https://github.com/Jeffallan/claude-skills/blob/main/skills/game-developer/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/Jeffallan/claude-skills/blob/main/skills/game-developer/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Mi juego de Unity baja de 30 fotogramas por segundo en las batallas grandes. Encuentra la causa y arréglala.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente planifica la arquitectura del juego, construye los sistemas y luego analiza el rendimiento con las herramientas del motor. Busca un tiempo de fotograma de 16 milisegundos o menos, lo que equivale a 60 fotogramas por segundo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

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:

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:

  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 = an
Preguntas frecuentes

¿Qué motores cubre?

Cubre Unity con C# y Unreal Engine con C++ y Blueprints.

¿Qué tasa de fotogramas busca?

Apunta a 60 fotogramas por segundo o más, lo que equivale a un tiempo de fotograma de 16 milisegundos o menos.

¿Cubre el modo multijugador?

Sí. Cubre redes cliente-servidor y compensación de latencia, y sugiere pruebas de estrés antes de publicar.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
12 mil
Posición en el ranking
#11427
Licencia
MIT
Actualizada
30/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas