Skip to content
Skill

Pig porter

Guides an agent through one bounded Pi-to-PiG porting or verification task

Pig porter is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
933
Last commit
License
MIT
Listing updated

Similar skills

About Pig porter

Pig Porter is a single-purpose skill for working on the PiG port of the Pi coding agent. It pins the agent to the exact upstream Pi build in the repository's pin file and asks it to pick one mode and one scope per run, such as inspecting a behavior family, porting it, tightening its evidence, verifying its acceptance ladder, closing interface gap rows for one upstream file, reviewing pending sync files for one package, or planning a version upgrade.

The skill sets out a family workflow: read the upstream implementation and its tests, list observable states and boundaries, probe the upstream executable to record the contract, add or identify a test derived from that contract, and apply the smallest fix that preserves Pi behavior. It also requires checking shared code paths against several provider shapes and citing Pi source for any provider-specific branch. Upgrades stay read-only until a user approves the plan.

It expects a checkout of the PiG repository with its Make targets, automation scripts and a Pi executable available, and it runs Go test commands and Python automation tools along the way.

When your agent uses it

Run one bounded upstream-first Pi-to-PiG porting or verification task.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (14 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/pig-porter to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pig-porter &&
cp -R "$tmp/piglets/porter/skills/pig-porter" ~/.claude/skills/pig-porter &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/pig-porter inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/pig-porter to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pig-porter &&
cp -R "$tmp/piglets/porter/skills/pig-porter" ~/.agents/skills/pig-porter &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/pig-porter inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/pig-porter to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pig-porter &&
cp -R "$tmp/piglets/porter/skills/pig-porter" ~/.cursor/skills/pig-porter &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/pig-porter inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/MichaelKinsy/PiG.git --path piglets/porter/skills/pig-porter

Or copy the folder to ~/.gemini/skills/pig-porter yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/pig-porter:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pig-porter &&
cp -R "$tmp/piglets/porter/skills/pig-porter" ~/.copilot/skills/pig-porter &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/pig-porter inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/MichaelKinsy/PiG.git

Then copy PiG/piglets/porter/skills/pig-porter into your agent's skills folder as pig-porter. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Single bounded modes
Runs one mode against one family, file, package or upgrade tag per task.
Upstream-first porting
Ports behavior from the pinned Pi source and probes the upstream executable to record the contract.
Interface gap closure
Works through interface closure rows for one upstream file, recording blocked rows with reasons.
Upstream sync review
Reviews pending upstream-sync files for a package and marks each as ported, designed-out or divergence.
Provider-shape verification
Requires shared provider and model code paths to be tested across several provider shapes.
Read-only upgrade planning
Produces an upgrade plan for a release tag and waits for approval before changing source.

Good for

  • Port one behavior family from the pinned Pi build into PiG
  • Verify the acceptance ladder for an existing PiG family
  • Close interface gap rows for a single upstream TypeScript file
  • Review pending upstream sync files for one package
  • Plan an upgrade of the pinned Pi version to a new release tag

Pig porter FAQ

What does the skill need to run?

It needs the PiG repository with AGENTS.md, coding/upstream.go, the pinned Pi executable and the Make and automation targets it calls, such as make family-gaps and make parity-family.

Does Pig porter change files on its own?

Family, tighten and closure tasks can edit source, tests and ledgers. Upgrade tasks stay read-only until the user approves the plan, and the skill does not stage, commit or push changes.

Can several modes run at the same time?

Only inventory and verify may run concurrently through the campaign target. Family, tighten and upgrade must not run concurrently.

How do I install Pig porter in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pig-porter to use it in all your projects, or to .claude/skills/pig-porter in one project.

Does Pig porter run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Pig porter?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Pig porter?

The closest alternatives to Pig porter are Setup pig, Poteto mode, Pico SDK development, Ci cd and Parity probe.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from MichaelKinsy/PiG

  1. Generates a pixel-art PiG release herd image and layout file for a release

    • Open source
    • 933 GitHub stars
    • Release tooling
  2. Checks and prepares only the tools a chosen PiG development task needs

    • Open source
    • 933 GitHub stars
    • Developer tools
  3. Example skill showing how an extension supplies skills through resources_discover

    • Open source
    • 933 GitHub stars
    • Developer tools
  4. Test fixture skill for checking autocomplete command ordering in PiG

    • Open source
    • 933 GitHub stars
    • Developer tools
  5. Test fixture skill used to check package manifest handling in a Go repo

    • Open source
    • 933 GitHub stars
    • Developer tools
  6. Placeholder test-fixture skill from the PiG parity suite, with no real instructions

    • Open source
    • 933 GitHub stars
    • Developer tools