Save and load PhotonForge designs, and understand how they are represented on disk. Full-state PHF files (pf.write_phf / pf.load_phf / pf.load_full_phf) preserve the component, hierarchy, ports, technology, and simulation models; layout export/import (pf.write_layout / pf.load_layout) handles GDS/OASIS mask geometry for the foundry; pf.load_snp imports Touchstone S-parameters; and Component.get_netlist() inspects circuit connectivity. Use when the user saves or loads a design, moves it between sessions or machines, exports a mask for fabrication, imports measured S-parameters, debugs round-trip fidelity, or asks how PhotonForge stores components, references, ports, technologies, coordinates, and transforms.
$npx -y skills add flexcompute/plugin-marketplace --skill photonforge-schema-serializationInstalls into the current project.
Run `npx skills use "https://github.com/flexcompute/plugin-marketplace" --skill "flexcompute/plugin-marketplace/photonforge-schema-serialization"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/flexcompute/plugin-marketplace" that are relevant to the current task. Run `npx skills add "https://github.com/flexcompute/plugin-marketplace"` and select the relevant skills, then follow their instructions.