Skip to content
Back to skills

Unreal Cpp Mastery

ASecurity

Enforce professional standards for Unreal Engine (UE5) development. This skill focuses on high-performance C++ integration, Nanite/Lumen optimization, and Blueprint/C++ hybrid architecture.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
documentationc++performance

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add iDorgham/Workspace-Factory --skill unreal-cpp-mastery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unreal Cpp Mastery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unreal Cpp Mastery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/idorgham-unreal-cpp-mastery/badge)](https://www.skillsdirectory.com/skills/idorgham-unreal-cpp-mastery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
type: Skill
subagents: [core-validator, integrity-bot]
agents: [master-guide, swarm-router]
dependencies: [core-orchestration, global-sync]
version: 1.0.0
---



# 🎮 Unreal Engine & C++ Mastery (Omega-tier)

## Purpose
Enforce professional standards for Unreal Engine (UE5) development. This skill focuses on high-performance C++ integration, Nanite/Lumen optimization, and Blueprint/C++ hybrid architecture.

---

## Technique 1 — High-Performance C++ (UObject/AActor)

### Header Hygiene & Compilation Speed
- **Rule**: Minimize `#include` in headers; use **Forward Declarations** whenever possible.
- **Protocol**: Use the `UProperty()`, `UFunction()`, and `UClass()` macros to ensure the Unreal Header Tool (UHT) and Garbage Collector (GC) track object references correctly.

### Memory Management (Smart Pointers)
- **TSharedPtr / TWeakPtr**: Use for non-UObject classes to avoid circular dependencies and leaks.
- **TArray Buffer Allocation**: Use `TArray::Reserve()` before large loops to prevent redundant memory re-allocations.

---

## Technique 2 — UE5 Specialized Rendering

### Nanite & Lumen Optimization
- **Nanite**: Use virtualized geometry for high-poly assets (>1M triangles). Ensure "Nanite-Enable" is checked in the Mesh Editor.
- **Lumen**: Use Hardware Ray Tracing for "Cine-Serious" lighting. Monitor the `stat lumen` overlay for triangle-trace costs.

---

## 🛡️ Critical Failure Modes (Anti-Patterns)

| Anti-Pattern | Result | Correction |
| :--- | :--- | :--- |
| **Logic in Tick()** | Severe frame drop | Use Timers or Event-driven logic via Delegates. |
| **Hard Asset References** | High loading times / Bloat | Use `TSoftObjectPtr` and `TSoftClassPtr` for asynchronous loading. |
| **Blueprint-Only Logic** | Unscalable / Slow | Move "Math-Heavy" or "Loop-Heavy" logic to C++ (Expose via `BlueprintCallable`). |

---

## Success Criteria (Unreal QA)
- [ ] Profiler (`insights`) shows no single-frame stalls > 16.6ms (target 60fps).
- [ ] No hard-coded asset paths; all refs are `TSoftObjectPtr`.
- [ ] Shaders are compiled and cached (no "Compiling Shaders" popups during play).
- [ ] "Rule of Three" followed: Logic (C++) -> Variable exposure (BP) -> Visuals (Level).

Files in this skill

  • SKILL.md2.2 KB
  • core.py362 B
  • manifest.yaml184 B
  • tests/test_core.py302 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.