Unreal gameplayabilities

From OrionUE/Orion_FreeEdition · View interactive version

Unreal gameplayabilities is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Use when Codex works on Unreal Engine GameplayAbilities, GAS, GA, small gameplay abilities, AbilitySystemComponent, GameplayAbility, GameplayEffect, AttributeSet, AbilityTasks, prediction keys, target data replication, GameplayCues, GameplayEffectComponents, CoreGameplayAbility, CoreAbilitySystemCom

How to use this skill

Skill file

Unreal GameplayAbilities

本 Skill 用于处理 Unreal Engine GameplayAbilities / GAS,以及框架内基于 GA 的小玩法、AbilitySet、输入触发和 GamePhase 流程。先从当前机器的引擎、项目和插件源码确认真实类型、模块依赖、函数签名、预测/复制语义和项目封装层,再修改能力系统代码。

详细说明:

references/gameplayabilities.zh-CN.md

工作流

  1. 先判断玩法形态:能抽象成“授予、激活、等待任务/输入/事件、提交消耗、结束/取消”的小玩法,优先用 GA。
  2. 先定位层级:ASC、GameplayAbility、GameplayEffect、AttributeSet、AbilityTask、TargetData、Prediction、GameplayCue、GE Component、AbilitySet、PawnData、Experience、GameFeature、GamePhase、Editor tooling。
  3. 涉及能力激活、授权、移除或输入触发时,优先查 UAbilitySystemComponent、UGameplayAbility、FGameplayAbilitySpec、UCoreAbilitySystemComponent、UCoreGameplayAbility 和 UCoreAbilitySet。
  4. 涉及 AbilitySet、PawnData、Experience 或 GameFeature 授予时,确认服务端授权、句柄回收、feature 反激活和输入 Tag 链路。
  5. 涉及数值、生命值、伤害或属性复制时,优先查 UAttributeSet、FGameplayAttributeData、rep notify 和 GE execution。
  6. 涉及 multiplayer、预测、TargetData 或客户端先行表现时,必须查 prediction key、target data RPC/delegate/consume 链路。
  7. 涉及 GameplayEffect 新行为时,优先查 modular UGameplayEffectComponent 路径和当前版本是否存在 deprecated 字段。
  8. 实现前确认模块依赖;实现后验证 authority、prediction、replication、attribute、GE stacking、GameplayCue、AbilitySet 回收、GamePhase 和输入触发行为。

路由

约束

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.