native-platform-porting — Claude Code skill for native ports
native-platform-porting is a Claude Code skill for moving game and software source code to modern systems without emulation. It activates for legacy ports and replacements for hardware-specific interfaces.
no license ★ 231 updated 2026-11-01
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a claude-codeWhat native-platform-porting does
The skill maps hardware dependencies and outlines native replacements: HAL layers for device-specific calls, drawing commands instead of graphics packets, and filesystem streams in place of sector reads and DMA. It also covers fixed-width types and separating in-memory structures from disk formats.
For a 64-bit build of a project with 32-bit offsets, it recommends keeping disk offsets separate from runtime pointers. The workflow moves one subsystem at a time, rebuilding after each change and checking functional parity.
What it helps with
- port console game code to Windows, Linux, or macOS
- replace register access with native APIs
- separate file formats from runtime structures
- decouple game updates from hardware interrupts
Example prompts for the agent
- Port the PlayStation game source to Windows without emulation.
- Replace the graphics hardware calls with a native interface and outline a HAL.
- Prepare this legacy C++ project for a 64-bit build.
How to install native-platform-porting
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a claude-code2Manually: put the files in place
~/.claude/skills/native-platform-porting/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/native-platform-porting/
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a codex2Manually: put the files in place
.agents/skills/native-platform-porting/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a cursor2Manually: put the files in place
.cursor/skills/native-platform-porting/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install lemiur/Game-Decompilation-Skill-For-Claude .claude/skills/native-platform-porting2Manually: put the files in place
.github/skills/native-platform-porting/SKILL.md1Skills CLI (Vercel)
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a gemini-cli2Platform CLI
gemini skills install https://github.com/lemiur/Game-Decompilation-Skill-For-Claude --path .claude/skills/native-platform-portingManually: put the files in place
.devin/skills/native-platform-porting/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about native-platform-porting
How do I install native-platform-porting in Claude Code?
Run npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a claude-code. The skill file is available at ~/.claude/skills/native-platform-porting/SKILL.md.
What does native-platform-porting do?
It guides ports of legacy and console source code to modern systems, replacing hardware-specific logic with native interfaces rather than emulating the original hardware.
How does the skill handle binary structures in a 64-bit port?
It separates on-disk and runtime structures: disk files use fixed-width offsets, while the running program uses native pointers.