porting-methodology

Installation
SKILL.md

Platform Porting Methodology

Overview

This skill defines how to approach an Apple platform port — the workflow, phases, conventions, and discipline. Domain-specific knowledge (Metal 4 API patterns, platform skills, anti-patterns, debugging strategies) lives in companion skills loaded alongside this one.

The methodology operates at two levels:

  • Porting goal — a persistent objective spanning multiple sessions (e.g., "get the simplest sample running on Metal 4")
  • Milestone — a bounded unit of work within a goal, completed in one session

Core principle: collaboration. This is a collaborative process between the agent and the user. The agent should surface decisions, trade-offs, and uncertainties to the user rather than making unilateral choices. When in doubt — ask. When deviating from convention — discuss. When stuck — escalate. The user has context the agent doesn't (reference implementations, project constraints, team preferences).

References

  • Engine-specific discovery report (produced by porting-discover, read at session start)
  • Goal document and handoff notes (produced by this methodology, persist across sessions)

Artifact Storage

Installs
2
GitHub Stars
209
First Seen
Sep 16, 2026