Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

unreal-cpp-gameplay

Skill by gamedev-skills

Guides an AI assistant in writing Unreal Engine 5 C++ gameplay code that compiles, survives garbage collection, and can be tested from a terminal. It is for developers building gameplay classes in UE 5.8.

  • Score 85
  • 12k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install unreal-cpp-gameplay

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/unreal/unreal-cpp-gameplay ~/.claude/skills/unreal-cpp-gameplay

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install unreal-cpp-gameplay in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for writing Unreal Engine 5 C++ gameplay code. It covers UCLASS and UPROPERTY reflection, the Gameplay Framework (GameMode, Pawn, Character, PlayerController and actor components), GC-safe pointers, and module Build.cs files. It targets UE 5.8 and includes a workflow for reading an existing project, declaring reflected types, and adding module dependencies.

The skill also covers verification. It explains how to compile the editor target from the command line, run C++ automation tests headless, and diagnose UHT, linker and Live Coding problems. It includes example code for a reflected actor with a GC-safe component and a C++ automation test. It is for Unreal developers who write or debug C++ gameplay classes. Blueprints, Enhanced Input, Behavior Trees, packaging and engine source builds are handled by other skills or left out of scope.

Written from the project's SKILL.md and checked against it.

What it can do

  • Reflection macrosWrites UCLASS, UPROPERTY and UFUNCTION declarations with correct prefixes and generated includes.
  • Gameplay FrameworkPlaces logic in GameMode, PlayerState, PlayerController, Pawn, Character and components as the framework expects.
  • GC-safe pointersKeeps UObject members visible to garbage collection using UPROPERTY, TObjectPtr and TWeakObjectPtr.
  • Build.cs modulesAdds module dependencies to PublicDependencyModuleNames or PrivateDependencyModuleNames as needed.
  • Command-line buildsCompiles the editor target with the editor closed using the Build.bat or Build.sh scripts.
  • Headless automation testsWrites C++ automation tests and runs them with UnrealEditor-Cmd and RunTest filters.
  • TroubleshootingDiagnoses generated.h include errors, unresolved external symbols, dangling pointers and Live Coding issues.

What you need

  • Unreal Engine 5.8
  • Visual Studio 2022 17.14 or newer on Windows
  • Xcode 15.2 or newer on macOS
  • clang 20.1.8 on Linux

Try asking

  • Write a C++ pickup actor with a score value and a Collect function.
  • Why is my UObject pointer crashing after garbage collection? Check my header.
  • Add the EnhancedInput module to my Build.cs and explain the dependency choice.

Good to know

  • Building Unreal Engine itself from source is not covered.
  • Live Coding can be less reliable after header changes, so a full build may be needed.
  • Designer-facing Blueprint logic, Enhanced Input, Behavior Trees and packaging are covered by other skills.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/unreal/unreal-cpp-gameplay/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • references/components-and-gc.md5 KB

Alternatives to unreal-cpp-gameplay

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

unreal-cpp-gameplay: common questions

Which Unreal Engine version does this skill target?

The skill targets UE 5.8. Its version notes also mention UE 5.9 Preview, which adds the Modular Test Framework for scoped plugin tests.

Can it compile and run tests without opening the editor?

Yes. The skill shows how to compile the editor target with the editor closed and how to run automation tests headless using UnrealEditor-Cmd with -unattended and -nullrhi.

Does it cover Blueprints?

No. Designer-facing visual logic is handled by the unreal-blueprints skill, and the source points to that skill for it.

How do I install unreal-cpp-gameplay?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is unreal-cpp-gameplay free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is unreal-cpp-gameplay safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to unreal-cpp-gameplay?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

unreal-cpp-gameplay Install

Add to stack

Loading.