decomp

Match decompiled C code to original PowerPC assembly for Melee.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Match decompiled C code to original PowerPC assembly for Super Smash Bros Melee, enabling byte-for-byte identical decompilation results and reproducible builds.

Core Features & Use Cases

  • Supports a subdirectory-based worktree workflow to isolate function work and enable parallel decomp efforts.
  • Guides the end-to-end process from function claim, scratch creation, context generation, decompilation, to commit with safeguards.
  • Provides clear rules for updating headers, respecting signatures, and safe collaboration across teammates.

Quick Start

Ask me to decompile or match a specific function by saying /decomp <function_name> and I will guide you through the iterative steps to reach a perfect match.

Frequently Asked Questions about decomp

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

FAQPage Schema
How do I match decompiled C code to PowerPC assembly for Melee?

Matching decompiled C to PowerPC assembly for Melee involves iterative scratch refinement using local decomp.me workflows and subdirectory worktrees to reach byte-for-byte identical output.

What is the scratch workflow for GameCube PowerPC decompilation?

The scratch workflow for GameCube PowerPC decompilation is an iterative process of creating scratches, generating context, and refining C code until the decompiled output matches the original assembly exactly.

Can I isolate function decompilation work using subdirectory worktrees?

Yes, you can isolate function decompilation using subdirectory worktrees, which enables parallel decomp efforts across the melee source tree while maintaining safe, auditable collaboration.

How do I start matching a specific function in the Melee source tree?

To start matching a specific function in the Melee source tree, invoke the decomp command with the function name to trigger guided steps from scratch creation to commit validation.

Does the Melee decompilation workflow enforce commit validation and header updates?

Yes, the Melee decompilation workflow enforces strict commit validation and rules for updating headers and respecting signatures. This ensures safe, auditable, and reproducible build results across the source tree.

Why is my decompiled C code not producing a byte-for-byte match with the original assembly?

Decompiled C code may fail to produce a byte-for-byte match if context generation is incomplete or signatures are not respected. Iteratively refining scratches and updating headers ensures the output aligns with the original PowerPC assembly.