What problem does it solve? Project Zomboid mods break in ways that are hard to trace: Lua errors, red context-menu options, missing assets, load failures, and loot distribution bugs. This Skill provides a structured log-first debugging workflow that locates the real working copy, matches log lines to code, and fixes root causes without breaking save compatibility. ## Core Features & Use Cases - Log-Driven Diagnosis: Reads console.txt and crash logs first, matching Lua stack traces and load errors to the exact mod file and code path before editing. - Workshop-First Patching: Compares local copies against Steam Workshop sources before patching, avoiding duplicate fixes that upstream already shipped. - Domain-Specific Fixes: Handles loot distribution bugs, roof cutaway .lotheader repairs, live symlink packaging, and save-compatible Lua fixes within the client/shared/server split. - Use Case: A player reports red context-menu options and Lua errors after loading a mod. The Skill inspects the logs, checks the Workshop source, applies a targeted fix in the project repo, validates Lua syntax, relinks the live install, and runs a post-change review. ## Quick Start Use the zomboid-bug-fixing skill to investigate the Lua errors in console.txt and fix the broken mod.