← Demos
Porting with pig-porter
Check a Pi extension for Go SDK gaps
pig-extension-porter loads the equivalence harness and runs equivalence_gaps on a TypeScript Pi extension.
What you are seeing
- pig starts with the pig-extension-porter Piglet, which bundles the extension-equivalence Go extension and the porting skill.
- A prompt asks the agent to check greet/index.ts (a TypeScript Pi extension) for Go SDK gaps.
- The model calls the equivalence_gaps tool; pig runs the static surface check and prints PASS (zero missing Go SDK APIs).
- The model replies ready to write tests and port greet/index.ts to Go. Model replies are scripted; the extension file and static gap check are real.
Try it yourself
Add the pig-extension-porter Piglet from npm
pig piglet add npm:@pi-in-go/pigpen-piglet-pig-extension-porterStart pig with the porter Piglet
pig --piglet pig-extension-porter
Files: MP4 · WebM · Captions (VTT) · PiG source