Cherry-pick a single upstream Netflix/vmaf commit onto the fork's master, auto-adapting for SIMD/GPU paths where the commit touches a feature we have multiple implementations of.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add VMAFx/vmafx --skill port-upstream-commit --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Port Upstream Commit?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vmafx-port-upstream-commit)More formats (shields.io, HTML) on the badges page.
---
name: port-upstream-commit
description: Cherry-pick a single upstream Netflix/vmaf commit onto the fork's master, auto-adapting for SIMD/GPU paths where the commit touches a feature we have multiple implementations of.
---
<!-- markdownlint-disable MD013 -->
# /port-upstream-commit
## Invocation
```text
/port-upstream-commit <sha> [--open-pr]
```
## Steps
1. `git fetch upstream`.
2. `git switch -c port/<sha-short> master`.
3. `git cherry-pick <sha>` (using `-x` so the commit message references upstream).
4. If conflicts: inspect; for conflicts in a file that has SIMD/GPU twins (e.g. edits
to `float_adm.c` while we also have `x86/float_adm_avx2.c`, `x86/float_adm_avx512.c`,
`arm64/float_adm_neon.c`, `cuda/adm_*.cu`, `sycl/integer_adm_sycl.cpp`,
`feature/vulkan/float_adm_vulkan.c` + `feature/vulkan/shaders/*.comp`), report all
sibling files to the author so they can propagate the same change. Do NOT attempt
automatic propagation — SIMD/GPU adaptations are not string-substitutions.
5. Run `/build-vmaf --backend=cpu` + `meson test -C build --suite=fast`.
6. Run `/cross-backend-diff` for the affected feature (covers cpu / cuda / sycl /
vulkan; mirrors the T6-8 GPU-parity gate, [ADR-0214](../../../docs/adr/0214-gpu-parity-ci-gate.md)).
7. If `--open-pr`: `gh pr create` with title `port(upstream): <original subject>` and
body including the upstream commit link, conflict summary, and propagation TODO.
## Guardrails
- Aborts if Netflix golden tests fail post-port.
- Never force-resolves conflicts — leaves them for human review.
- Links back to the upstream commit in the message (`(cherry picked from commit <sha>)`).
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!