Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lemiur/Game-Decompilation-Skill-For-Claude --skill native-platform-porting -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/native-platform-porting/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/native-platform-porting/

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.

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set7

Project sponsors

Companies that keep this analytics open