What problem does it solve? MacPorts port development involves many error-prone steps—writing Portfiles, updating checksums, debugging build failures, and following strict upstream submission rules. This Skill codifies the entire workflow so ports are built, tested, and submitted correctly the first time. ## Core Features & Use Cases - Portfile Authoring & Updates: Create new ports from a template, bump versions, and update checksums using the keep-old-checksums workflow, with helper scripts like check-updates.sh and bump-go-port.sh. - Testing & Debugging: Run the standard lint/clean/install test sequence, inspect build logs and work directories, and apply a catalog of common upstream build fixes (-Werror, missing includes, DESTDIR issues). - Upstream Submission Compliance: Enforce MacPorts commit message format, single-commit PRs, the official PR template, and mandatory user approval before committing or opening PRs. - Use Case: A maintainer needs to update a GitHub-hosted port to a new release—run check-updates.sh to detect it, update the version and checksums, test with test-port.sh, then draft a compliant commit message and PR for macports-ports. ## Quick Start Use the macports skill to update the netatalk4 port to the latest upstream release and prepare a compliant MacPorts pull request.