[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79QJBXK9XDBPZ4AV6A72S51":3,"skill-same:01M79QJBXK9XDBPZ4AV6A72S51":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M79QJBXK9XDBPZ4AV6A72S51","unreal-enhanced-input",null,"Set up player input in Unreal Engine 5 with Enhanced Input: Input Actions, Input Mapping Contexts, modifiers and triggers, adding the mapping context, and binding actions by ETriggerEvent. Use when wiring movement\u002Flook\u002Fjump input, creating IA_\u002FIMC_ assets, binding in C++ or Blueprints, or when the user mentions Enhanced Input, Input Mapping Context, Input Action, IA_\u002FIMC_, or ETriggerEvent.","JunMystery\u002FAgent-Guidance","JunMystery","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F161468934?v=4","01M79MTMV8F0BY8NK1A92RA8A0","Jun","01M79MTMWCFBKPHN5B25E6V20B",0,"MIT","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Funreal-enhanced-input\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: unreal-enhanced-input\ndescription: >\n  Set up player input in Unreal Engine 5 with Enhanced Input: Input Actions, Input Mapping\n  Contexts, modifiers and triggers, adding the mapping context, and binding actions by\n  ETriggerEvent. Use when wiring movement\u002Flook\u002Fjump input, creating IA_\u002FIMC_ assets, binding\n  in C++ or Blueprints, or when the user mentions Enhanced Input, Input Mapping Context,\n  Input Action, IA_\u002FIMC_, or ETriggerEvent.\n---\n\n# Unreal Enhanced Input\n\nWire player input the modern UE5 way with the **Enhanced Input** system: data-driven Input\nActions and Mapping Contexts instead of the legacy Project Settings axis\u002Faction mappings.\nTargets **UE 5.8** (Enhanced Input is the default; legacy input is deprecated).\n\n## When to use\n\n- Use when adding movement\u002Flook\u002Fjump\u002Ffire input, creating Input Action (`IA_`) and Input\n  Mapping Context (`IMC_`) assets, applying modifiers\u002Ftriggers, adding a mapping context to a\n  player, or binding actions in C++ or Blueprints.\n- Use when the project has `IA_*`\u002F`IMC_*` assets or references `EnhancedInput`.\n\n**When *not* to use:** engine-agnostic input *architecture* (rebinding strategy, buffering,\nmulti-device design) → `input-systems`. The Pawn\u002FCharacter C++ those bindings live in →\n`unreal-cpp-gameplay`.\n\n## Core workflow\n\n1. **Enable the module\u002Fplugin.** Enhanced Input is on by default in UE5; for C++ binding add\n   `\"EnhancedInput\"` to `PublicDependencyModuleNames` in `*.Build.cs`.\n2. **Create Input Actions (`IA_`).** Each has a **Value Type**: `Digital (bool)` for buttons,\n   `Axis1D (float)` for triggers, `Axis2D (Vector2D)` for movement\u002Flook.\n3. **Create an Input Mapping Context (`IMC_`)** that maps keys\u002Fbuttons to those actions. Use\n   **Modifiers** to shape raw input (Negate, Swizzle Input Axis Values, Dead Zone) — e.g. WASD\n   into one Axis2D needs Negate on A\u002FS and a Swizzle on W\u002FS. Use **Triggers** (Pressed, Hold,\n   Tap) to decide *when* an action fires. The **Combo** trigger is deprecated in UE 5.8; don't\n   build new input on it.\n4. **Add the mapping context to the player** via the `EnhancedInputLocalPlayerSubsystem`\n   (`AddMappingContext(IMC, Priority)`), usually in `BeginPlay`\u002Fpossession.\n5. **Bind actions** to handlers by `ETriggerEvent` (`Triggered`, `Started`, `Completed`, …) on\n   the `EnhancedInputComponent`, and read the `FInputActionValue` in the handler.\n6. **Verify** in PIE; the Enhanced Input debugging console commands\n   (`showdebug enhancedinput`) show which actions trigger and their values.\n\n## Patterns\n\n### 1. Add the mapping context (C++ Character)\n\n```cpp\nvoid AMyCharacter::BeginPlay()\n{\n    Super::BeginPlay();\n    if (APlayerController* PC = Cast\u003CAPlayerController>(GetController()))\n        if (ULocalPlayer* LP = PC->GetLocalPlayer())\n            if (auto* Subsystem = LP->GetSubsystem\u003CUEnhancedInputLocalPlayerSubsystem>())\n                Subsystem->AddMappingContext(DefaultMappingContext, \u002F*Priority*\u002F 0);\n}\n\u002F\u002F DefaultMappingContext is a UPROPERTY(EditAnywhere) TObjectPtr\u003CUInputMappingContext>.\n```\n\n### 2. Bind actions and read values\n\n```cpp\nvoid AMyCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)\n{\n    Super::SetupPlayerInputComponent(PlayerInputComponent);\n\n    \u002F\u002F The component is an Enhanced Input component when the plugin is active.\n    \u002F\u002F (Don't name the parameter InputComponent: that shadows AActor::InputComponent.)\n    if (UEnhancedInputComponent* EIC = Cast\u003CUEnhancedInputComponent>(PlayerInputComponent))\n    {\n        EIC->BindAction(MoveAction, ETriggerEvent::Triggered, this, &AMyCharacter::Move);\n        EIC->BindAction(LookAction, ETriggerEvent::Triggered, this, &AMyCharacter::Look);\n        EIC->BindAction(JumpAction, ETriggerEvent::Started,   this, &ACharacter::Jump);\n        EIC->BindAction(JumpAction, ETriggerEvent::Completed, this, &ACharacter::StopJumping);\n    }\n}\n\nvoid AMyCharacter::Move(const FInputActionValue& Value)\n{\n    const FVector2D Axis = Value.Get\u003CFVector2D>();          \u002F\u002F Axis2D action\n    AddMovementInput(GetActorForwardVector(), Axis.Y);\n    AddMovementInput(GetActorRightVector(),   Axis.X);\n}\n```\n\n### 3. Blueprint equivalent (node flow)\n\n```text\nEvent BeginPlay\n  -> Get Controller -> Cast To PlayerController -> Get Local Player\n  -> Get EnhancedInputLocalPlayerSubsystem -> Add Mapping Context (IMC_Default, Priority 0)\n\n\u002F\u002F IA_Move is exposed as its own event node in the Character's Event Graph:\nEnhancedInputAction IA_Move (Triggered)\n  -> Action Value (Vector2D) -> Add Movement Input (Forward * Y, Right * X)\n```\n\n## Pitfalls\n\n- **No input at all** — the mapping context was never added (`AddMappingContext`), or the\n  player has no Local Player yet. Add it after possession\u002F`BeginPlay`.\n- **Input works in single player but not on a client, or stops after respawn** — `BeginPlay`\n  ran before the controller possessed the pawn, so `GetController()` was null. Add the context\n  in an override of `PawnClientRestart()`, which runs on the owning client after possession\n  (Epic's Input Overview does this), or in the PlayerController.\n- **Link\u002Fcompile error binding in C++** — `\"EnhancedInput\"` isn't in `Build.cs`\n  `PublicDependencyModuleNames`.\n- **WASD only moves on two keys \u002F wrong axis** — Axis2D needs **Modifiers**: Negate on the\n  negative keys (A, S) and a Swizzle Input Axis Values on the vertical (W\u002FS) so both axes map\n  correctly. Raw bindings without modifiers misbehave.\n- **`Get\u003CFVector2D>()` returns zero** — value-type mismatch: the Input Action is Digital\u002FAxis1D,\n  not Axis2D. Match the `Get\u003CT>()` to the action's Value Type.\n- **Action fires every frame unexpectedly** — `Triggered` repeats while held for a Down trigger;\n  use `Started`\u002F`Completed` for one-shots (jump press\u002Frelease), or a Pressed\u002FTap trigger.\n- **Two contexts fight** — multiple mapping contexts stack by Priority; a higher-priority\n  context can consume a key. Manage with priorities and `RemoveMappingContext`.\n\n## References\n\n- For a complete first-\u002Fthird-person C++ Character with Enhanced Input (header + source,\n  including look\u002Fjump and a control-rebind note), read `references\u002Fcpp-setup.md`.\n- Primary docs: \"Enhanced Input in Unreal Engine\"\n  (`https:\u002F\u002Fdev.epicgames.com\u002Fdocumentation\u002Fen-us\u002Funreal-engine\u002Fenhanced-input-in-unreal-engine`)\n  and \"Input Overview\"\n  (`https:\u002F\u002Fdev.epicgames.com\u002Fdocumentation\u002Fen-us\u002Funreal-engine\u002Finput-overview-in-unreal-engine`).\n\n## Related skills\n\n- `input-systems` — engine-agnostic input architecture and rebinding strategy.\n- `unreal-cpp-gameplay` — the Character\u002FPawn class and module setup.\n- `fps-shooter` — composes input with a 3D controller and shooting.\n","# Unreal Enhanced Input\n\nWire player input the modern UE5 way with the **Enhanced Input** system: data-driven Input\nActions and Mapping Contexts instead of the legacy Project Settings axis\u002Faction mappings.\nTargets **UE 5.8** (Enhanced Input is the default; legacy input is deprecated).\n\n## When to use\n\n- Use when adding movement\u002Flook\u002Fjump\u002Ffire input, creating Input Action (`IA_`) and Input\n  Mapping Context (`IMC_`) assets, applying modifiers\u002Ftriggers, adding a mapping context to a\n  player, or binding actions in C++ or Blueprints.\n- Use when the project has `IA_*`\u002F`IMC_*` assets or references `EnhancedInput`.\n\n**When *not* to use:** engine-agnostic input *architecture* (rebinding strategy, buffering,\nmulti-device design) → `input-systems`. The Pawn\u002FCharacter C++ those bindings live in →\n`unreal-cpp-gameplay`.\n\n## Core workflow\n\n1. **Enable the module\u002Fplugin.** Enhanced Input is on by default in UE5; for C++ binding add\n   `\"EnhancedInput\"` to `PublicDependencyModuleNames` in `*.Build.cs`.\n2. **Create Input Actions (`IA_`).** Each has a **Value Type**: `Digital (bool)` for buttons,\n   `Axis1D (float)` for triggers, `Axis2D (Vector2D)` for movement\u002Flook.\n3. **Create an Input Mapping Context (`IMC_`)** that maps keys\u002Fbuttons to those actions. Use\n   **Modifiers** to shape raw input (Negate, Swizzle Input Axis Values, Dead Zone) — e.g. WASD\n   into one Axis2D needs Negate on A\u002FS and a Swizzle on W\u002FS. Use **Triggers** (Pressed, Hold,\n   Tap) to decide *when* an action fires. The **Combo** trigger is deprecated in UE 5.8; don't\n   build new input on it.\n4. **Add the mapping context to the player** via the `EnhancedInputLocalPlayerSubsystem`\n   (`AddMappingContext(IMC, Priority)`), usually in `BeginPlay`\u002Fpossession.\n5. **Bind actions** to handlers by `ETriggerEvent` (`Triggered`, `Started`, `Completed`, …) on\n   the `EnhancedInputComponent`, and read the `FInputActionValue` in the handler.\n6. **Verify** in PIE; the Enhanced Input debugging console commands\n   (`showdebug enhancedinput`) show which actions trigger and their values.\n\n## Patterns\n\n### 1. Add the mapping context (C++ Character)\n\n```cpp\nvoid AMyCharacter::BeginPlay()\n{\n    Super::BeginPlay();\n    if (APlayerController* PC = Cast\u003CAPlayerController>(GetController()))\n        if (ULocalPlayer* LP = PC->GetLocalPlayer())\n            if (auto* Subsystem = LP->GetSubsystem\u003CUEnhancedInputLocalPlayerSubsystem>())\n                Subsystem->AddMappingContext(DefaultMappingContext, \u002F*Priority*\u002F 0);\n}\n\u002F\u002F DefaultMappingContext is a UPROPERTY(EditAnywhere) TObjectPtr\u003CUInputMappingContext>.\n```\n\n### 2. Bind actions and read values\n\n```cpp\nvoid AMyCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)\n{\n    Super::SetupPlayerInputComponent(PlayerInputComponent);\n\n    \u002F\u002F The component is an Enhanced Input component when the plugin is active.\n    \u002F\u002F (Don't name the parameter InputComponent: that shadows AActor::InputComponent.)\n    if (UEnhancedInputComponent* EIC = Cast\u003CUEnhancedInputComponent>(PlayerInputComponent))\n    {\n        EIC->BindAction(MoveAction, ETriggerEvent::Triggered, this, &AMyCharacter::Move);\n        EIC->BindAction(LookAction, ETriggerEvent::Triggered, this, &AMyCharacter::Look);\n        EIC->BindAction(JumpAction, ETriggerEvent::Started,   this, &ACharacter::Jump);\n        EIC->BindAction(JumpAction, ETriggerEvent::Completed, this, &ACharacter::StopJumping);\n    }\n}\n\nvoid AMyCharacter::Move(const FInputActionValue& Value)\n{\n    const FVector2D Axis = Value.Get\u003CFVector2D>();          \u002F\u002F Axis2D action\n    AddMovementInput(GetActorForwardVector(), Axis.Y);\n    AddMovementInput(GetActorRightVector(),   Axis.X);\n}\n```\n\n### 3. Blueprint equivalent (node flow)\n\n```text\nEvent BeginPlay\n  -> Get Controller -> Cast To PlayerController -> Get Local Player\n  -> Get EnhancedInputLocalPlayerSubsystem -> Add Mapping Context (IMC_Default, Priority 0)\n\n\u002F\u002F IA_Move is exposed as its own event node in the Character's Event Graph:\nEnhancedInputAction IA_Move (Triggered)\n  -> Action Value (Vector2D) -> Add Movement Input (Forward * Y, Right * X)\n```\n\n## Pitfalls\n\n- **No input at all** — the mapping context was never added (`AddMappingContext`), or the\n  player has no Local Player yet. Add it after possession\u002F`BeginPlay`.\n- **Input works in single player but not on a client, or stops after respawn** — `BeginPlay`\n  ran before the controller possessed the pawn, so `GetController()` was null. Add the context\n  in an override of `PawnClientRestart()`, which runs on the owning client after possession\n  (Epic's Input Overview does this), or in the PlayerController.\n- **Link\u002Fcompile error binding in C++** — `\"EnhancedInput\"` isn't in `Build.cs`\n  `PublicDependencyModuleNames`.\n- **WASD only moves on two keys \u002F wrong axis** — Axis2D needs **Modifiers**: Negate on the\n  negative keys (A, S) and a Swizzle Input Axis Values on the vertical (W\u002FS) so both axes map\n  correctly. Raw bindings without modifiers misbehave.\n- **`Get\u003CFVector2D>()` returns zero** — value-type mismatch: the Input Action is Digital\u002FAxis1D,\n  not Axis2D. Match the `Get\u003CT>()` to the action's Value Type.\n- **Action fires every frame unexpectedly** — `Triggered` repeats while held for a Down trigger;\n  use `Started`\u002F`Completed` for one-shots (jump press\u002Frelease), or a Pressed\u002FTap trigger.\n- **Two contexts fight** — multiple mapping contexts stack by Priority; a higher-priority\n  context can consume a key. Manage with priorities and `RemoveMappingContext`.\n\n## References\n\n- For a complete first-\u002Fthird-person C++ Character with Enhanced Input (header + source,\n  including look\u002Fjump and a control-rebind note), read `references\u002Fcpp-setup.md`.\n- Primary docs: \"Enhanced Input in Unreal Engine\"\n  (`https:\u002F\u002Fdev.epicgames.com\u002Fdocumentation\u002Fen-us\u002Funreal-engine\u002Fenhanced-input-in-unreal-engine`)\n  and \"Input Overview\"\n  (`https:\u002F\u002Fdev.epicgames.com\u002Fdocumentation\u002Fen-us\u002Funreal-engine\u002Finput-overview-in-unreal-engine`).\n\n## Related skills\n\n- `input-systems` — engine-agnostic input architecture and rebinding strategy.\n- `unreal-cpp-gameplay` — the Character\u002FPawn class and module setup.\n- `fps-shooter` — composes input with a 3D controller and shooting.\n",{"name":5,"description":7},"main","5d0a87185c0e172c3901e2a6e5916b6d544b8b94","skills\u002Funreal-enhanced-input","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance","https:\u002F\u002Fgithub.com\u002FJunMystery","AI is the typist, I am the architect. Building efficient, secure, and user-centric products through disciplined AI prompt engineering.","2026-11-13 17:41:25",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add JunMystery\u002FAgent-Guidance --skill unreal-enhanced-input",{"tool":37,"command":38},"bunx","bunx skills add JunMystery\u002FAgent-Guidance --skill unreal-enhanced-input",{"tool":40,"command":41},"pnpm","pnpm dlx skills add JunMystery\u002FAgent-Guidance --skill unreal-enhanced-input","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Funreal-enhanced-input\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fcpp-setup.md","REFERENCE","参考文档",4844,"https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Funreal-enhanced-input\u002Freferences\u002Fcpp-setup.md",[52,58,64,70,76,82],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M79QR1E309VJ6CTQKB32AWWA","zero-trust-architecture-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-architecture-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79QQV7GHYR02DYGN41S23WN","xss-filter-evasion-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxss-filter-evasion-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79QQNSN7YB8XB61FFSCS3WH","xs-leaks-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxs-leaks-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79QQHZZJKFDY9132G5A65C2","xpath-injection-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxpath-injection-prevention-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M79QQB9ZSD3DJG8658EHQXR1","xml-security-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-security-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79QQ60WKV7PFMXWT9CW8PM6","xml-external-entity-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-external-entity-prevention-cheat-sheet\u002FSKILL.md",[],[]]