跳过主要内容
UE5
Skill免费

UE C++ Foundations

/ue-cpp-foundations

Unreal Engine C++ reflection and core types: UCLASS, UPROPERTY and UFUNCTION, smart pointers, containers, delegates, subsystems and garbage collection.

GitHub 星数
403
(所在仓库星数,统计于 2026-10-21)
许可证
MIT
最近提交
2026/09/28
作者
quodsoler

所属合集

Unreal Engine Skills (quodsoler)

31 Unreal Engine C++ skills checked against the UE 5.8 headers: gameplay framework, GAS, animation, networking, rendering, AI, UI, tools and more.

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Any agent (skills CLI)
npx skills add quodsoler/unreal-engine-skills --skill ue-project-context ue-cpp-foundations

Installs this skill plus ue-project-context, which writes the project document every skill in this pack reads first. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.

命令照搬项目 README。在本机运行前,请先看一眼仓库。

为指定 Agent 安装
Agent-a文件夹
Claude Codeclaude-code.claude/skills/
Codexcodex.agents/skills/
Cursorcursor.agents/skills/
Gemini CLIgemini-cli.agents/skills/
GitHub Copilotgithub-copilot.agents/skills/
OpenCodeopencode.agents/skills/
Windsurfwindsurf.windsurf/skills/

在命令后加 -a <参数>。以上是项目级文件夹;加 -g 则安装到你的用户目录。

包含内容

  • A pitfalls section with the mistakes to avoid
  • Bundled 3 reference docs the agent reads when needed
  • Written for Unreal Engine 5.8

适合

  • Writing Unreal Engine C++ that touches the reflection system or core types

不适合

试试这条提示词

提示词
My UObject pointer keeps getting garbage collected. Fix the ownership.

关于这个 Skill

Use when writing Unreal Engine C++ that touches the reflection system or core types: UCLASS, UPROPERTY, UFUNCTION, USTRUCT, UENUM, GENERATED_BODY, TObjectPtr, TWeakObjectPtr, TSharedPtr, FGCObject, TArray, TMap, TSet, TOptional, TVariant, DECLARE_DYNAMIC_MULTICAST_DELEGATE, AddDynamic, FName, FString, FText, UGameInstanceSubsystem, UWorldSubsystem, GetDefault, TNotNull. For Actor and component lifecycle, see ue-actor-component-architecture; for Build.cs and modules, see ue-module-build-system; for Blueprint-facing functions and latent actions, see ue-blueprint-cpp-interop.

From the ue-cpp-foundations SKILL.md in quodsoler/unreal-engine-skills.

What's inside

  • Context
  • Reflection Macros
  • UCLASS
  • UPROPERTY
  • UFUNCTION
  • USTRUCT, UENUM, UINTERFACE
  • Containers
  • TVariant
  • Delegates
  • String Types

Good to know

Skills in Unreal Engine Skills read .agents/ue-project-context.md, which the ue-project-context skill writes from your project's modules and conventions. Every API is checked against the UE 5.8 headers.

环境要求

  • Unreal Engine 5.8
  • Unreal Engine 5.8 C++ project
  • The ue-project-context skill from the same pack

相关主题

常见问题

搭配使用

作者标注的相关 Skills,或更适合相邻任务的 Skills。

Unreal Engine Skills (quodsoler) 中的更多 Skills

相似 skills