decomp-fixup

Diagnose and fix header mismatches in matched Melee decomp functions.

6|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/itsgrimetime/melee-decomp --skill decomp-fixup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: decomp-fixup
Source: https://github.com/itsgrimetime/melee-decomp/tree/main/.claude/skills/decomp-fixup
Command: npx skills add https://github.com/itsgrimetime/melee-decomp --skill decomp-fixup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds for matched functions in the Melee decomp project often fail due to header mismatches, signature changes, or caller updates. This skill guides you to align headers to implementations after a match and restore a successful build.

Core Features & Use Cases

  • Diagnose and fix header/signature issues after a function match.
  • Update prototypes and caller calls to match the implementation.
  • Validate fixes by rebuilding the project with python configure.py and ninja.

Quick Start

Run decomp-fixup on a matched function to update its header and verify by rebuilding.

Frequently Asked Questions about decomp-fixup

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

FAQPage Schema
How do I fix a build failure caused by UNK_RET or UNK_PARAMS in a matched Melee decomp function?

To fix a build failure caused by UNK_RET or UNK_PARAMS, you must align the function's header signatures with its implementation by updating forward declarations and prototypes in the include/melee headers.

Why does my Melee decomp build break after matching a new function?

Your Melee decomp build breaks after matching a function due to header mismatches, signature changes, or caller updates that need aligning across headers and implementations to restore a successful build.

What is the best way to update caller call sites when a function signature changes in a decomp project?

The best way to update caller call sites after a signature change is to inspect the include/melee headers, update the forward declarations, and modify the callers to match the new implementation.

How do I validate header signature fixes for a decompilation project?

You validate header signature fixes by rebuilding the decompilation project, specifically by running python configure.py and ninja to ensure the build succeeds without errors.

When do I need to update prototypes for matched Melee functions?

You need to update prototypes for matched Melee functions when a build breaks due to missing function prototypes or mismatched header signatures after completing a function match.

Does decomp-fixup work with missing prototypes in include/melee headers?

Yes, decomp-fixup works with missing prototypes by guiding you to inspect include/melee headers, update forward declarations, and validate the fixes by running python configure.py and ninja.