decomp
Match decompiled C code to original PowerPC assembly for Super Smash Bros Melee. Use this skill when asked to match, decompile, or fix a function to achieve 100% match against target assembly. Invoked with /decomp <function_name> or automatically when working on decompilation tasks.
Security Assessment
About decomp
The 'decomp' skill is designed to assist with the process of matching decompiled C code to PowerPC assembly for the Super Smash Bros Melee project. This tool is used to achieve a byte-for-byte identical match between the source code and the target assembly, which is crucial for maintaining the accuracy and integrity of the game's decompiled functions. This process ensures that the generated code mirrors the behavior of the original assembly code exactly, which is essential for proper gameplay functionality in Melee.
FAQ
How do I claim a function using the decomp skill?
To claim a function, simply use the 'melee-agent claim add' command followed by the function name. For example, you can claim the function 'lbColl_80008440' with the command 'melee-agent claim add lbColl_80008440'. The source file is auto-detected, so no additional flags are needed.
What happens if I try to work on a function in a locked subdirectory?
If the subdirectory is locked, you should not work on functions within it. Subdirectory locks exist to prevent blocking other agents. If you're unsure whether the subdirectory is locked, check the 'High-contention zone' section or consult the worktree state tracking steps.
What should I do if the build validation fails?
If the build validation fails, the system will display errors. You can use the '/decomp-fixup' skill to diagnose and fix the issues. It's important to address these errors before committing any changes.
Install decomp
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
itsgrimetime/melee-decomp