unreal-engine-png
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "unreal-engine-png":https://skillpi.com/zh/skills/deepskill-c84baff76695ba7733ecfad5fa9cf0f2fc521dda1a314171472873e4221d5d6d。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/unreal-engine-png。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
为虚幻引擎 Claude Code 技能专用的技能包,旨在帮助 AI Agent 高效完成与虚幻引擎相关的任务。
介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 在以下情况下使用此技能:为Unreal Engine 5.x项目编写C++代码 编写Actor、组件或基于UObject的类 优化Unreal Engine中性能关键代码 调试内存泄漏或垃圾回收问题 实现蓝图暴露的功能 遵循Epic Games的编码标准和惯例 与Unreal的反射系统(UCLASS、USTRUCT、UFUNCTION)协作 管理资源加载和软引用
- 适合谁
- 当: 为不真实引擎开发 C++ 代码时使用此技能 5 .x项目 写演员、组件或U对象生成类 在不真实引擎调试内存泄漏中优化性能关键代码或垃圾收集问题 Epic Games的编码标准和常规 当 : 仅使用 Blueprint 工程( 无 C++ 代码) 时不要使用此技能 。 为不真实的引擎开发版本 5 .x 致力于非真实游戏引擎 任务与非真实引擎开发无关
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: 虚幻引擎Claude Code技能
slug: unreal-engine-png
version: 1.0.0
displayName: 虚幻引擎Claude Code技能
description: >
虚幻引擎Claude Code技能专用技能,帮助AI Agent高效完成相关任务。
summary: "虚幻引擎Claude Code技能专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 游戏开发
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"Unreal Engine Development Assistant
When to Use
Use this skill when:
- Developing C++ code for Unreal Engine 5.x projects
- Writing Actors, Components, or UObject-derived classes
- Optimizing performance-critical code in Unreal Engine
- Debugging memory leaks or garbage collection issues
- Implementing Blueprint-exposed functionality
- Following Epic Games' coding standards and conventions
- Working with Unreal's reflection system (UCLASS, USTRUCT, UFUNCTION)
- Managing asset loading and soft references
Do not use this skill when:
- Working with Blueprint-only projects (no C++ code)
- Developing for Unreal Engine versions prior to 5.x
- Working on non-Unreal game engines
- The task is unrelated to Unreal Engine development
Core Philosophy: Zero Assumptions
CRITICAL: Never make assumptions about the user's project. Every Unreal project is unique in structure, assets, and configuration. Always verify before suggesting code or assets.
UCLASS / USTRUCT File Creation Policy
NEVER autonomously create new UCLASS or USTRUCT header/source files.
Unreal Engine generates these files with engine-managed boilerplate that cannot be reliably replicated by hand:
GENERATED_BODY()macro and UHT-managed include order- Module API export macros (
PROJECTNAME_API) - Correct
.generated.hinclude placement - Blueprint asset registration hooks
Correct workflow:
- User creates the class from Unreal Editor (Tools → New C++ Class or Content Browser)
- Engine generates the
.h/.cpppair with proper boilerplate - Claude works on the generated files — adding members, functions, logic
If a new class is needed, tell the user to create it from the editor and describe exactly which parent class to choose. Do not generate the file yourself.
Helper Function Usage Policy
Before calling any helper function, verify it is declared in the existing codebase.
Do not assume helper functions exist (e.g. GetUIManager(), GetInventory()). Always check first using Pre-Flight Step 4. If the function is not found, use the direct Unreal API instead of inventing the call.
// ✅ Confirmed declared in codebase — use it
UIManager = GetUIManager();
// ✅ Not found in codebase — use direct API instead
UIManager = GetLocalPlayer()->GetSubsystem<UMyLocalUISubsystem>();
// ❌ Assumed to exist without verification — causes linker error if missing
UIManager = GetUIManager();
Engine API Usage Policy
Do not guess Getter functions or utility methods on engine classes without verifying they exist.
Engine APIs often lack Getters where you'd expect them by naming convention alone.
When uncertain, access member variables directly or verify the API via web search before writing code.
GAS-related classes (FGameplayAbilityActorInfo, FGameplayEffectSpec, etc.) are
particularly prone to this — their access patterns frequently differ from standard UE conventions.
Build Verification Policy
After modifying any C++ file, run the project build and verify it succeeds before proceeding.
Check CLAUDE.md for the project-specific build command.
Pre-Flight Discovery Protocol
When a user asks for Unreal Engine help, ALWAYS execute this discovery sequence FIRST:
1. Locate the .uproject File
find . -maxdepth 2 -name "*.uproject" -type f
If found, extract:
- Engine version from
"EngineAssociation"field - Enabled plugins from
"Plugins"array - Module dependencies from
"Modules"array
2. Map the Project Structure
Standard Unreal project layout:
ProjectRoot/
├── ProjectName.uproject
├── Source/
│ └── ProjectName/
│ ├── Public/ ← Header files (.h)
│ ├── Private/ ← Implementation files (.cpp)
│ └── ProjectName.Build.cs
├── Content/
│ ├── Blueprints/
│ ├── Input/ ← Input Actions & Mapping Contexts
│ ├── Characters/
│ └── UI/
├── Config/
│ ├── DefaultEngine.ini
│ ├── DefaultInput.ini
│ └── DefaultGame.ini
└── Plugins/
3. Discover Sources and Content Assets
# C++ source files
view Source/*/Public
view Source/*/Private
find Source -name "*.h" -o -name "*.cpp" | head -20
# Engine version & plugin check
grep "EngineAssociation" *.uproject
grep -i "GameplayAbilities" *.uproject
# Content assets
find Content -type f -name "*.uasset" | head -50
find Content -type f -name "*IA_*" -o -name "*InputAction*"
find Content -type f -name "*IMC_*" -o -name "*InputMappingContext*"
find Content -type f -name "BP_*.uasset" | head -20
# Config
ls -la Config/
4. Understand Existing Code
Before suggesting ANY code:
- Read existing character/controller classes to understand patterns
- Check what components are already added
- Identify naming conventions (e.g.,
IA_prefix for Input Actions) - Look for existing helper classes or base classes
find Source -name "*Character.h" -o -name "*Character.cpp"
C++ Code Quality
Always verify these principles before finalizing any generated code. → Full reference:
references/unreal_cpp_best_practice.md
- GC Safety: All
UObject*andTObjectPtr<>members must be wrapped inUPROPERTY(). PreferTObjectPtr<>for members, raw pointers for function parameters/return values. For non-UObject owners or cross-thread access (FRunnable, async tasks), useTStrongObjectPtr<>orFGCObject; avoidAddToRoot()as it bypasses GC. - Reflection: Use
BlueprintReadOnlyby default. Only useBlueprintReadWritewhen BP truly needs write access. - Tick: Disabled (
bCanEverTick = false) by default. Prefer timers or events. - Casting: Never
Cast<T>()in hot loops. Cache inBeginPlayorPostInitializeComponents. - Soft References: Use
TSoftClassPtr/TSoftObjectPtrinstead of hardTSubclassOffor large assets.
Naming Conventions
Follow Epic Games' coding standard. Identify the project's existing convention first (Step 4).
| Prefix | Type | Example |
|---|---|---|
T |
Templates | TArray, TMap |
U |
UObject-derived | UHealthComponent |
A |
AActor-derived | AMyGameMode |
S |
Slate Widgets | SMyWidget |
F |
Structs | FVector, FHitResult |
E |
Enums | EWeaponState |
I |
Interfaces | IInteractable |
b |
Booleans | bIsDead |
Input System (Enhanced Input)
→ Full reference:
references/enhanced_input.md
NEVER assume input action names. Always run discovery (Step 3) first.
Key points:
- Bind in
SetupPlayerInputComponentusingUEnhancedInputComponent - Add
UInputMappingContextviaUEnhancedInputLocalPlayerSubsysteminBeginPlay - Declare
UInputAction*properties asBlueprintReadOnly .uassetfiles are binary — usefindto discover, not to read
Gameplay Ability System (GAS)
→ Full reference:
references/gameplay_ability_system.md
Check .uproject for "GameplayAbilities" plugin before proceeding.
Key points:
- Add
GameplayAbilities,GameplayTags,GameplayTaskstoBuild.cs - Place ASC on Character (single-player) or PlayerState (dedicated server)
- Grant abilities on server only (
HasAuthority()) - Use
FGameplayTagfor ability identification over string names - Custom AbilityTask creation: see reference → "Custom AbilityTask" section
- GA lifecycle (End vs Cancel semantics, dynamic grant/revoke): see reference → "Advanced GA Lifecycle"
- Server-authoritative activation (no client prediction): see reference → "Network Patterns"
Plugin Guidance
→ Full reference:
references/plugin_guidance.md
- Always verify plugin is enabled in
.uprojectbefore writing plugin-dependent code - For unknown or experimental plugins, search documentation and be transparent about uncertainty
- Check plugin stability status (
Stable/Beta/Experimental) before use in production
Plugin Development
→ Full reference:
references/plugin_development.md
For creating new UE plugins (not just using existing ones). Key points:
- Runtime/Editor module split (
.upluginModules array) WITH_EDITORmacro for editor-only code isolation- Build.cs inter-module dependency configuration (Public vs Private)
- How to add plugin module dependencies from external projects
Data-Driven Design
→ Full reference:
references/data_driven_design.md
For DataAsset / DataTable based gameplay data architecture. Key points:
UDataAssetvsUPrimaryDataAssetselection criteria- Defining gameplay parameters with DataAssets (weapons, skills, items, etc.)
- DataTable + CSV/JSON import workflow
- DataAsset runtime loading via AssetManager
Debugging
→ Full reference:
references/debugging.md
- Use
UE_LOGwith custom log categories (DEFINE_LOG_CATEGORY) for contextual filtering - Use
GEngine->AddOnScreenDebugMessage()for quick in-editor feedback - Use Visual Logger for AI and spatial debugging (
UE_VLOG_*macros) - Prefer
check()/ensure()over silent failures
API Knowledge Gaps
When uncertain about API usage:
- Search Epic's documentation:
web_search: "Unreal Engine [ClassName] API [EngineVersion]" - Search community resources:
web_search: "Unreal Engine [feature] example code C++" - Check Epic Developer Community forums
- Reference example projects: Lyra, Valley of the Ancient, ActionRPG
Version-Specific Considerations
Always check .uproject for "EngineAssociation":
| Version | Notes |
|---|---|
5.5+ |
Mutable/Customization systems, new input features |
5.0–5.4 |
Stable Enhanced Input, Experimental GAS improvements |
4.27 |
Legacy input system; requires manual Enhanced Input setup |
When suggesting code, verify feature availability:
web_search: "Unreal Engine [feature] [version] availability"
Common Pitfalls
→ Full reference:
references/common_pitfalls.md
- Never assume asset names or paths — always discover with
find - Missing
UPROPERTY()→ silent GC collection Cast<T>()in Tick → severe performance cost- Hard
TSubclassOfreferences → forced asset loading at startup BlueprintReadWriteon internal state → fragile BP/C++ boundary
Workflow Decision Tree
User asks for Unreal help
│
├─> Find .uproject ─> Extract version & plugins
│
├─> Map project structure ─> View Source/ and Content/
│
├─> Identify question type:
│ ├─> Input system? ─> references/enhanced_input.md
│ ├─> GAS-related? ─> references/gameplay_ability_system.md
│ ├─> Plugin development? ─> references/plugin_development.md
│ ├─> Plugin usage? ─> references/plugin_guidance.md
│ ├─> DataAsset/DataTable? ─> references/data_driven_design.md
│ ├─> Debugging? ─> references/debugging.md
│ ├─> C++ quality? ─> references/unreal_cpp_best_practice.md
│ └─> General C++? ─> Read existing classes for patterns
│
├─> Provide solution with:
│ ├─> Verified asset references
│ ├─> Version-appropriate code
│ └─> Project-specific patterns
│
└─> If uncertain about API/plugin ─> Search documentation
Checklists
Pre-Code Checklist
Before providing ANY code suggestion:
- [ ] Found and read .uproject file
- [ ] Identified engine version
- [ ] Mapped Source/ directory structure
- [ ] Discovered Content/ assets (especially for input/blueprints)
- [ ] Read existing class files for patterns
- [ ] Verified asset paths and names
- [ ] Checked plugin availability
- [ ] Searched documentation for uncertain APIs
- [ ] Used project-specific naming conventions
Pre-PR / Code Review Checklist
Before finalizing any C++ code:
- [ ] Does this Actor need to Tick? Can it be replaced with a Timer or event?
- [ ] Are all
UObject*andTObjectPtr<>members wrapped inUPROPERTY? - [ ] Are hard references (
TSubclassOf) causing load chains? Can they beTSoftClassPtr? - [ ] Are
Cast<T>()calls cached inBeginPlay, not repeated inTick? - [ ] Are Blueprint-exposed properties using the appropriate access specifier (
ReadOnlyvsReadWrite)? - [ ] Did you clean up delegates in
EndPlay? - [ ] Did you run the build and verify it succeeds? (check CLAUDE.md)
Reference Files
Load the appropriate reference file when deeper detail is needed:
| File | Load When |
|---|---|
references/unreal_cpp_best_practice.md |
GC, reflection, performance, naming, common patterns |
references/enhanced_input.md |
Enhanced Input binding, Input Actions, Mapping Contexts |
references/gameplay_ability_system.md |
GAS setup, abilities, attributes, effects, AbilityTasks, network patterns |
references/plugin_guidance.md |
Unknown or experimental plugins (consumer side) |
references/plugin_development.md |
Plugin creation, module split, Build.cs, WITH_EDITOR (author side) |
references/data_driven_design.md |
DataAsset, DataTable, AssetManager, data-driven design |
references/debugging.md |
UE_LOG, Visual Logger, crash/assert patterns |
references/common_pitfalls.md |
Troubleshooting build errors, GC bugs, performance issues |
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 专门针对Unreal Engine 5.x C++开发,解决游戏开发中的具体痛点
- 提供了完整的开发流程指导和最佳实践
- 覆盖输入系统、GAS、插件开发、数据驱动设计等多个专业领域
亮点
- description明确说明了技能用途
- When to Use部分详细列出了适用和不适用场景
- 触发词覆盖完整,边界清晰
待提升项
-
缺少端到端完整示例 原报告严重程度:轻微
虽然有详细的检查清单和决策树,但缺少一个完整的端到端示例来展示整个工作流程
改进建议:建议添加一个完整的示例项目,展示从Pre-Flight Discovery到最终代码实现的完整流程
-
文档较长,建议分拆 原报告严重程度:轻微
单个文件内容较长,虽然有参考文件链接,但主要文档过于冗长
改进建议:建议将部分内容移至独立的参考文件,保持主文档的简洁性
亮点
- 结构完整,包含多个清晰的章节和子章节
- 提供了详细的Pre-Flight Discovery Protocol
- 包含完整的检查清单和决策树
待提升项
-
部分API使用示例可以更具体 原报告严重程度:轻微
虽然提到了API验证的重要性,但具体验证方法的示例可以更详细
改进建议:建议添加更多具体的API验证示例和错误处理代码
亮点
- 提供了详细的预检流程确保代码可靠性
- 包含构建验证策略
- 有完整的错误处理和异常预防机制
- 工具来源明确(Unreal Engine官方API)
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。