ecs-prefab-creator

Scaffold ECS prefab templates for Irreden Engine components, systems, and commands.

8|Updated Oct 11, 2023
One-click install
npx skills add https://github.com/jakildev/IrredenEngine --skill ecs-prefab-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ecs-prefab-creator
Source: https://github.com/jakildev/IrredenEngine/tree/main/.cursor/skills/ecs-prefab-creator
Command: npx skills add https://github.com/jakildev/IrredenEngine --skill ecs-prefab-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a guided framework to scaffold ECS prefabs (components, systems, commands) for Irreden Engine, ensuring consistency and adherence to established conventions.

Core Features & Use Cases

  • Generate component header templates with include guards, namespaces, and constructors.
  • Generate system headers and per-tick templates for component and entity workflows.
  • Generate command headers and binding templates for input and actions.
  • Guidance on registration in a creation pipeline and how to wire new prefabs into the project.

Quick Start

Create a new prefab by following the ECS Prefab Creator guidelines to add component, system, and command templates under engine/prefabs/irreden/<domain>, then register them in the pipeline.

Frequently Asked Questions about ecs-prefab-creator

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

FAQPage Schema
How do I scaffold ECS prefabs for a C++ engine to ensure consistent component and system registration?

To scaffold ECS prefabs effectively, generate header-only templates for components, systems, and commands that apply include-guard naming, namespace conventions, and tick patterns for seamless pipeline integration.

What are the required conventions for generating header-only ECS component templates in C++?

Generating header-only ECS component templates requires applying specific include-guard naming, defining appropriate namespaces, and setting up constructors to maintain consistency across module development and the build pipeline.

How do I create system and command templates for ECS workflows that require per-entity tick patterns?

Creating system and command templates involves scaffolding per-tick templates for component and entity workflows, alongside binding templates for input and actions, ensuring proper system and command registrations within the engine.

Does this ECS prefab scaffolding approach support adding new domains to an existing engine build pipeline?

Yes, this scaffolding approach supports module developers adding new domains by providing guidelines to wire new prefabs into the project and register them correctly within the creation pipeline.

Can I use these ECS prefab templates to bind commands and input actions without modifying the core build pipeline?

Yes, you can generate command headers and binding templates for input and actions, integrating them directly through the creation pipeline registration process without altering the core build pipeline.