skills/live-coding-refresh/SKILL.md
Trigger Unreal Engine Live Coding compilation
npx skillsauth add sipherxyz/universal-ue-skills live-coding-refreshInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Role: Build Engineer - Live Coding Trigger Scope: Trigger Unreal Engine Live Coding compilation Engine Version: UE 5.7+ Platform: Windows
Trigger Live Coding (Hot Reload) compilation in Unreal Editor by sending Ctrl+Alt+F11 keystroke, allowing code changes to be compiled without restarting the editor.
When the user asks to:
$editor = Get-Process -Name "UnrealEditor" -ErrorAction SilentlyContinue
if (-not $editor) {
Write-Host "ERROR: Unreal Editor is not running. Please open the editor first."
exit 1
}
Write-Host "Found Unreal Editor process (PID: $($editor.Id))"
# Load Windows Forms for SendKeys
Add-Type -AssemblyName System.Windows.Forms
# Find the Unreal Editor window
$editor = Get-Process -Name "UnrealEditor" -ErrorAction SilentlyContinue
if ($editor) {
# Bring editor to foreground
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class Win32 {
[DllImport("user32.dll")]
public static extern bool SetForegroundWindow(IntPtr hWnd);
[DllImport("user32.dll")]
public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
}
"@
$hwnd = $editor.MainWindowHandle
[Win32]::ShowWindow($hwnd, 9) # SW_RESTORE
[Win32]::SetForegroundWindow($hwnd)
Start-Sleep -Milliseconds 500
# Send Ctrl+Alt+F11
[System.Windows.Forms.SendKeys]::SendWait("^%{F11}")
Write-Host "SUCCESS: Sent Ctrl+Alt+F11 to Unreal Editor"
Write-Host "Live Coding compilation triggered. Check editor for results."
} else {
Write-Host "ERROR: Could not find Unreal Editor window"
exit 1
}
Save as trigger-live-coding.ps1:
# Trigger Live Coding in Unreal Editor
# Sends Ctrl+Alt+F11 to the editor window
param(
[switch]$WaitForCompletion
)
# Check if editor is running
$editor = Get-Process -Name "UnrealEditor" -ErrorAction SilentlyContinue
if (-not $editor) {
Write-Host "ERROR: Unreal Editor is not running." -ForegroundColor Red
Write-Host "Please open the editor first, or use 'dev-workflow:ue-cpp-build' skill for standalone compilation."
exit 1
}
Write-Host "Found Unreal Editor (PID: $($editor.Id))" -ForegroundColor Green
# Load required assemblies
Add-Type -AssemblyName System.Windows.Forms
# Import Win32 functions
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class Win32User {
[DllImport("user32.dll")]
public static extern bool SetForegroundWindow(IntPtr hWnd);
[DllImport("user32.dll")]
public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
[DllImport("user32.dll")]
public static extern IntPtr GetForegroundWindow();
}
"@
# Store current foreground window to restore later
$previousWindow = [Win32User]::GetForegroundWindow()
# Bring editor to foreground
$hwnd = $editor.MainWindowHandle
if ($hwnd -eq [IntPtr]::Zero) {
Write-Host "WARNING: Could not get editor window handle. Trying anyway..." -ForegroundColor Yellow
}
[Win32User]::ShowWindow($hwnd, 9) # SW_RESTORE
[Win32User]::SetForegroundWindow($hwnd)
# Wait for window to come to foreground
Start-Sleep -Milliseconds 300
# Send Ctrl+Alt+F11
Write-Host "Sending Ctrl+Alt+F11..." -ForegroundColor Cyan
[System.Windows.Forms.SendKeys]::SendWait("^%{F11}")
Write-Host "Live Coding triggered!" -ForegroundColor Green
Write-Host ""
Write-Host "Check the Unreal Editor for compilation results."
Write-Host "The Live Coding panel will show compilation progress."
# Restore previous window if requested
if (-not $WaitForCompletion) {
Start-Sleep -Milliseconds 500
[Win32User]::SetForegroundWindow($previousWindow)
}
exit 0
powershell -NoProfile -ExecutionPolicy Bypass -File "{ProjectRoot}/./trigger-live-coding.ps1"
| Scenario | Use Live Coding | Use /dev-workflow:ue-cpp-build | |----------|-----------------|------------------| | Editor is open, small code change | Yes | No | | Editor is closed | No | Yes | | Header file changes | No (restart needed) | Yes | | Adding new UPROPERTY/UFUNCTION | No (restart needed) | Yes | | Implementation-only changes | Yes | Either | | Need to see compile output | No | Yes |
open-editor skill to launch it/dev-workflow:ue-cpp-build - Full compilation when editor is closedopen-editor - Launch Unreal Editorskill: live-coding-refresh
invoke: /dev-workflow:live-coding-refresh
development
This skill should be used when implementing features in isolation using git worktrees. Triggers on "create worktree", "isolated workspace", "parallel development", or when starting implementation that should not affect main workspace.
testing
Manage VFX team issues on GitHub Projects - timeline scheduling, status updates, member commit checks, bulk assign. Use when managing VFX team project board, adding issues to timeline, checking member progress, or bulk-updating issue fields.
tools
Generate C++ validation rules from JSON definitions. Use when team updates ValidationRules.json or asks to add/modify validation rules.
development
Check codebase for Microsoft Xbox XR (Xbox Requirements) compliance issues. Scans for account picker, cloud saves, achievements, Quick Resume, and Xbox certification requirements. Use before console submission or when preparing for Microsoft certification. Triggers on "XR", "Xbox certification", "Microsoft compliance", "Xbox cert", "Xbox requirements", "GDK compliance".