extend-shim

Implement POSIX functions in the amiport shim with ANSI C89 and tests.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extend amiport by adding a missing POSIX function to the shim or emulation layer, enabling ports to support additional POSIX APIs by mapping to AmigaOS and ADCD documentation, with proper tests and rebuild workflow.

Core Features & Use Cases

  • Research AmigaOS APIs via the ADCD reference and classify the function into Tier 1 or Tier 2.
  • Implement the function with ANSI C89, provide header and test, and rebuild the library.
  • Provide clear mapping to the POSIX specification and practical porting use cases for developers.

Quick Start

Add the function using the extend-shim workflow and specify the function name to implement.

Frequently Asked Questions about extend-shim

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

FAQPage Schema
How do I add a missing POSIX function to an AmigaOS porting shim?

To add a missing POSIX function to an AmigaOS porting shim, you research the target API via ADCD documentation, classify its tier, and then implement the function using ANSI C89 with proper headers, error mapping, tests, and build integration.

What is the process for mapping POSIX APIs to AmigaOS for compatibility layers?

Mapping POSIX APIs to AmigaOS involves researching AmigaOS APIs through the ADCD reference, classifying the POSIX function into Tier 1 or Tier 2, and implementing the mapped logic with proper error handling and ANSI C89 conformance.

How do I implement POSIX compatibility functions in ANSI C89?

You implement POSIX compatibility functions in ANSI C89 by writing standard-conforming C code, providing the necessary header declarations, creating tests, and integrating the new function into the library's build and test workflow.

Does the amiport shim require tier classification for new POSIX functions?

Yes, extending the amiport shim requires classifying the new POSIX function into Tier 1 or Tier 2 based on AmigaOS ADCD documentation research before implementation to ensure proper API mapping.

Why do my ported POSIX functions fail during the AmigaOS library rebuild?

Ported POSIX functions may fail during the AmigaOS library rebuild if they lack proper test integration, ANSI C89 conformance, or correct error mapping from the POSIX specification to the AmigaOS environment.

Can I extend an emulation layer with any POSIX function for AmigaOS porting?

You can extend the emulation layer with POSIX functions that have viable mappings to AmigaOS APIs, requiring you to research ADCD documentation, classify the function tier, and implement it with ANSI C89 conformance and tests.