game-system

Implement modular game systems with Update methods for entity processing.

Updated Nov 16, 2025
One-click install
npx skills add https://github.com/TheLazyLemur/engine --skill game-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-system
Source: https://github.com/TheLazyLemur/engine/tree/main/engine/template/claude/skills/game-system
Command: npx skills add https://github.com/TheLazyLemur/engine --skill game-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, repeatable approach for adding gameplay logic by creating and wiring concrete systems that operate on entities and components within the engine.

Core Features & Use Cases

  • Template-driven system creation: a ready-made skeleton for new systems including Update method, mode policy, and naming.
  • ECS integration: demonstrates querying and manipulating components (e.g., Transform) within a system.
  • Registration pattern: shows how to register new systems with the engine and integrate them into the runtime.
  • Use Case: implement AI or movement logic that processes relevant entities each frame.

Quick Start

Create a new system by following the provided template and implement Update to process entities.

Frequently Asked Questions about game-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement modular game systems that process entities and components in Go?

Modular game systems process entities by implementing a standard Update method within a template-driven skeleton. This approach queries and manipulates components like Transform to apply gameplay logic across runtime and editor modes.

What is the best way to structure an ECS game engine system for AI and movement logic?

Structuring an ECS game engine system involves using a template-driven creation pattern that defines mode policies and naming conventions. You implement an Update method to process relevant entities each frame for AI or movement logic.

How do I register a new gameplay system with a Go game engine?

You register a new gameplay system by following a specific registration pattern that integrates the system into the engine. This wires the concrete system into the runtime so it can operate on entities during the update loop.

Can I use a template to create game systems that work across runtime and editor modes?

Yes, the system template supports mode variants, allowing your gameplay logic to operate across both runtime and editor modes. The template provides a ready-made skeleton including the Update method and mode policy.

How does an ECS system query and manipulate components like Transform?

An ECS system queries and manipulates components by accessing them through the engine's framework within the Update method. This allows the system to read and modify component data such as Transform for processing entities each frame.

Why use a template-driven approach for adding gameplay logic to a game engine?

A template-driven approach for adding gameplay logic provides a structured, repeatable method for creating and wiring concrete systems. It ensures consistent naming, mode policies, and integration patterns when building new systems.