transform-source

Transform POSIX C source into AmigaOS-compatible code with tiered wrappers.

30|2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/bdgscotland/amiport --skill transform-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transform-source
Source: https://github.com/bdgscotland/amiport/tree/main/.claude/skills/transform-source
Command: npx skills add https://github.com/bdgscotland/amiport --skill transform-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Transform C source into AmigaOS-compatible code by replacing POSIX calls with Amiga wrappers or shims.

Core Features & Use Cases

  • Tiered transformation rules (Tier 1 shim wrappers, Tier 2 emulation wrappers, Tier 3 redesign patterns) for incremental porting.
  • Generates a ported copy of the codebase alongside the original and documents every change.
  • Includes references and guidelines to aid ongoing maintenance and compliance with ADR-008.

Quick Start

Run the transformation on your project to generate a ported version in a new ported/ directory.

Frequently Asked Questions about transform-source

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

FAQPage Schema
How do I port POSIX C source code to AmigaOS?

To port POSIX C source to AmigaOS, this Skill transforms your codebase by replacing POSIX calls with Amiga wrappers or shims. It generates a ported copy alongside the original and documents every modification.

What is the best way to handle POSIX calls when migrating C code to AmigaOS?

The best way to handle POSIX calls during AmigaOS migration is applying tiered transformation rules. The Skill uses Tier 1 shim wrappers, Tier 2 emulation wrappers, and Tier 3 redesign patterns to incrementally port files.

Does porting C code to AmigaOS require manual tracking of modified files?

Porting C code to AmigaOS does not require manual tracking of modified files. The Skill automatically produces a change log detailing modified files, applied wrappers, emulation caveats, and redesign patterns.

When do I need to use redesign patterns instead of shim wrappers for AmigaOS compatibility?

You need Tier 3 redesign patterns instead of Tier 1 shim wrappers or Tier 2 emulation wrappers when POSIX calls cannot be easily wrapped or emulated for AmigaOS compatibility and require structural code changes.

Can I transform multiple C files at once for an AmigaOS code migration?

You can transform multiple C files at once for an AmigaOS code migration. The Skill applies tiered porting rules across the codebase and outputs a ported directory containing all modified files.