scar-debug

Diagnose and resolve SCAR/Lua runtime errors in AoE4 mods.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/GPK-GIT5/AgeofEmpires4-Mod-Repo --skill scar-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scar-debug
Source: https://github.com/GPK-GIT5/AgeofEmpires4-Mod-Repo/tree/main/.skills/scar-debug
Command: npx skills add https://github.com/GPK-GIT5/AgeofEmpires4-Mod-Repo --skill scar-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose and fix SCAR/Lua runtime errors in AoE4 mods, providing a structured workflow and a reusable debugger framework for mod teams.

Core Features & Use Cases

  • Diagnostic triage and root-cause analysis for common SCAR/Lua faults
  • Onslaught debugger maintenance and surface commands for testing and validation
  • Integrated guidance for reproduction steps, fixes, and post-work verification

Quick Start

Launch scar-debug to start diagnosing a reported SCAR/Lua error and load the diagnostic workflow.

Frequently Asked Questions about scar-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug SCAR/Lua runtime errors in Age of Empires 4 mods?

Debugging SCAR/Lua runtime errors in AoE4 mods requires a structured workflow covering triage, root-cause diagnosis, and fixes. It handles EventRule callbacks, blueprint resolution, and runtime crash scenarios with a split debugger framework.

What causes SCAR Lua blueprint resolution failures during AoE4 mod development?

SCAR Lua blueprint resolution failures typically stem from runtime errors in EventRule callbacks or incorrect blueprint references. A diagnostic workflow can isolate these faults through triage and root-cause analysis to identify the exact callback failure.

Can I use a split debugger to diagnose Onslaught mod runtime crashes in AoE4?

Yes, you can use a split debugger to diagnose Onslaught mod runtime crashes in AoE4. It provides diagnostic triage and surfaces test commands for validation, guiding you through reproduction steps and post-work verification.

How do I validate fixes for SCAR Lua EventRule callbacks after resolving errors?

To validate fixes for SCAR Lua EventRule callbacks, run post-work verification using surfaced test and validation commands. This ensures the applied fixes for your AoE4 mod runtime errors hold under typical game conditions.

Does this SCAR debugging workflow handle AoE4 Onslaught mod development specifically?

Yes, this SCAR debugging workflow handles AoE4 Onslaught mod development specifically. It applies to Onslaught debugger maintenance and provides integrated guidance for reproduction steps, fixes, and post-work verification of runtime errors.