helper-recovery

Installation
SKILL.md

helper-recovery: restore the helpers behind a function

Project guide: the repository's AGENTS.md. If the repository has none, use AGENTS-template.md and ask the user to fill in its project adapter.

The original developers wrote accessors, small inline helpers and macros, and the compiler expanded them. A reconstruction that transcribes the expanded body reads fine, but it can miss the helper's own statement boundaries, local scopes, temporaries and evaluation order, and that is often exactly what a stubborn wall is. Restoring the helper is correct source whether or not a score moves, and once enough helpers are restored, hard functions start to close.

-    if (target != 0 && target->m_skillLevel[m_skill] <= m_level) {
-        if (target->m_skillLevel[m_skill] == 0)
+    if (target != 0
+        && target->GetSkillLevel(SkillId(m_skill)) <= m_level) {
+        if (target->GetSkillLevel(SkillId(m_skill)) == 0)
             target->GiveSkill(m_skill, m_level);
Installs
5
GitHub Stars
197
First Seen
Oct 26, 2026