Orion gamecore framework

From OrionUE/Orion_FreeEdition · View interactive version

Orion gamecore framework is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Use before writing, modifying, reviewing, or generating Unreal gameplay framework code that touches GameCore-derived systems: GameCore, OrionGame inheritance, Experience loading, CoreExperienceManagerComponent, CoreGameMode, CoreGameState, CorePlayerState, CorePlayerController, CoreCharacter, CorePa

How to use this skill

Skill file

Unreal GameCore Framework

本 Skill 用于在实现玩法代码前判断如何安全使用 GameCore 底层框架。GameCore 是核心基座,默认只读;业务逻辑优先写在 OrionGame 派生层或 Plugins/GameFeatures/<FeatureName>。

工作流

  1. 先确认任务是否触碰 GameCore 体系:Experience、PawnData、ASC、Ability、GameFeature Action、PlayerState、Pawn init state、Session、AssetManager、GamePhase 或 Core 前缀类型。
  2. 默认不要修改 Source/GameCore,包括其中的 Build.cs、配置 glue 和其他核心层文本文件。除非用户明确允许改 GameCore,否则从 OrionGame 对应类型继承或在 GameFeature 插件中扩展。
  3. 写代码前读取 references/gamecore-framework.zh-CN.md,确认运行链路、推荐继承点、事件时机和反激活规则。
  4. 如果需要查函数签名、字段、调用点或实现细节,配合 ../unreal-source-code-navigator/SKILL.md 读取当前源码。
  5. 如果任务涉及具体 GAS、GameFeatures、EnhancedInput、CommonUI、UMG、多人网络复制、ReplicationGraph 或资产创建,再路由到对应专项 Skill。
  6. 实现后用 OrionGame、目标 GameFeature runtime module 或目标 Target 验证;不要用改 GameCore 作为默认修复手段。

路由

Reference

读取 references/gamecore-framework.zh-CN.md 获取 GameCore 运行机制、主要类职责、扩展点、禁止改动规则和常见错误。

硬规则

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.