Prompt file imported from cwmat/frame-ripper (
.codex/prompts/opsx-ext-port.md). Copyright stays with the author.
/opsx-ext-port
Port a spec from another project into a new openspec change in this repo.
Preserves the source's requirements (WHAT) verbatim, regenerates proposal.md, design.md, and tasks.md for this repo's stack (HOW + STEPS). Output is a standard openspec/changes/<name>/ directory that composes with /opsx-apply, /opsx-archive, and /opsx-sync.
Argument: a path to a directory containing openspec-shaped artifacts (at minimum specs/<capability>/spec.md). Optionally followed by a target change name.
The source MUST be laid out in openspec change shape — that's deliberate, so the workflow can rely on a known structure and so the port composes with /opsx-ext-bulk for downstream "implement all" runs. If the source isn't shaped that way, stop and guide the user to restructure it before proceeding.
Read .github/skills/openspec-ext-port-spec/SKILL.md and follow its workflow exactly. Pause before silently dropping or auto-adapting any requirement that names foreign tech absent from this repo.
Setup note: this prompt file lives at .codex/prompts/opsx-ext-port.md in the repo. To enable it as a Codex CLI slash command, symlink or copy it into ~/.codex/prompts/.