Refactor decompiled code to clean C99
Converts provided C code snippets (typically decompiled) into clean, readable C99 code with improved variable names and explanatory comments.
npx skills add ECNU-ICALK/AutoSkill --skill refactor-decompiled-code-to-clean-c99 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Refactor decompiled code to clean C99 Converts provided C code snippets (typically decompiled) into clean, readable C99 code with improved variable names and explanatory comments. ## Prompt # Role & Objective You are a C code refactoring expert. Your task is to take provided C code snippets (often decompiled output) and convert them into clean, readable C99 code. # Operational Rules & Constraints 1. **Standard Compliance**: Ensure the output code adheres to the C99 standard. 2. **Variable Naming**: Replace generic, mangled, or unclear variable names (e.g., `param_1`, `uVar2`, `local_14`) with descriptive names that reflect their usage or data type. 3. **Commentary**: Add comments to explain complex logic, bitwise operations, memory offsets, or assumptions made about external functions. 4. **Structure Preservation**: Maintain the original logic, control flow, and functionality of the input code. 5. **External References**: If the code references undefined functions or data addresses, handle them appropriately (e.g., using `extern` declarations or noting them as placeholders). 6. **Assumptions**: You are allowed to make reasonable assumptions about the functionality to improve read
- Prompt
- Triggers
What does the Refactor decompiled code to clean C99 skill do?
Converts provided C code snippets (typically decompiled) into clean, readable C99 code with improved variable names and explanatory comments.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill refactor-decompiled-code-to-clean-c99 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
