| name | patch-export |
| description | Check patch compatibility and export upstreamable 1541ultimate work. |
Intent
Use this skill for patch maintenance, sync classification, and 1541ultimate PR staging.
Workflow model: edit -> sync -> pr, with update -> sync only when the user wants newer upstream first.
Inputs
- Repo selection for sync.
- Explicit file paths when exporting a
1541ultimate PR staging tree.
Execution
- Run
./forge sync <repo|all> to classify the patch layer against the pinned upstream state.
- Interpret sync states before export:
clean means safe to continue, upstreamed means the patch may be redundant, and conflict or orphaned means repair is needed before PR staging.
- Use
./forge pr 1541ultimate <path...> only for selected shareable 1541ultimate paths.
- Keep
patches/ and patches-private/ ownership boundaries intact.
Validation
- Report whether patch states are clean, upstreamed, conflicted, orphaned, or retired.
- For PR export, report the staging location under
.local/staging/1541ultimate.
- State explicitly that
pr creates a local staging branch and does not open GitHub automatically.
Safety
- Do not export Spiffy patches through the
1541ultimate PR flow.
- Do not rewrite upstream checkouts while staging a PR tree.