ue5-cpp-gameplay

Generate Unreal Engine 5.6/5.7 gameplay C++ code with paired .h/.cpp files.

491|70|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/UnrealXu/UnrealEngine5-Skills --skill ue5-cpp-gameplay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue5-cpp-gameplay
Source: https://github.com/UnrealXu/UnrealEngine5-Skills/tree/main/skills/ue5-cpp-gameplay
Command: npx skills add https://github.com/UnrealXu/UnrealEngine5-Skills --skill ue5-cpp-gameplay

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and agents (resource) components.

What problem does it solve?

This Skill streamlines the creation of gameplay-related C++ code for Unreal Engine 5.6/5.7 projects, handling everything from basic class structures to complex replication and gameplay tag systems.

Core Features & Use Cases

  • C++ Class Implementation: Generates paired .h and .cpp files for Actors, Components, DataAssets, and more.
  • Blueprint Integration: Exposes UPROPERTY and UFUNCTION for seamless Blueprint access.
  • Gameplay Logic: Implements core gameplay patterns, including replication, RPCs, and GameplayTags.
  • Use Case: You need to create a new AActor subclass to manage player inventory, expose inventory slots as UPROPERTY for Blueprint access, and implement server-authoritative functions for adding/removing items.

Quick Start

Create a new UE5 C++ Actor class named 'MyInventoryActor' with a replicated UPROPERTY for an integer called 'MaxInventorySlots'.

Frequently Asked Questions about ue5-cpp-gameplay

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

FAQPage Schema
How do I generate UE5 C++ gameplay code for Actors and Components?

You can generate UE5 C++ gameplay code for Actors and Components by providing a class description; the Skill outputs paired .h/.cpp files with reflection macros, Blueprint API exposure, and replication logic built-in.

How do I expose UPROPERTY and UFUNCTION to Blueprint in Unreal Engine 5.6?

To expose UPROPERTY and UFUNCTION to Blueprint in Unreal Engine 5.6, you define them with the appropriate specifiers in your C++ header; this Skill generates these macros automatically for seamless Blueprint access.

What is the best way to implement server-authoritative replicated gameplay logic in UE5?

The best way to implement replicated gameplay logic in UE5 is using component-based systems with RPCs; this Skill generates server-authoritative functions and replicated variables for your Actors.

Can I integrate GameplayTags into my Unreal Engine C++ gameplay systems?

Yes, you can integrate GameplayTags into your Unreal Engine C++ gameplay systems; this Skill implements GameplayTag logic directly within your Actor and Component classes to manage gameplay states.

Does this support creating reusable component-based systems in Unreal Engine C++?

Yes, this supports creating reusable component-based systems in Unreal Engine C++; it generates DataAssets and Component classes with exposed properties to build modular gameplay architectures.

Why do I need C++ to build Unreal Engine 5 gameplay systems instead of Blueprints?

You need C++ to build Unreal Engine 5 gameplay systems when requiring server-authoritative replication, complex GameplayTag integration, or base class structures that Blueprints cannot efficiently define.