Sync code from an upstream GitHub repository into a target fork (e.g., opendatahub-io midstream). Detects remotes from the current repo, or clones fresh if run from outside. Fetches upstream, merges into a sync branch, restores protected files, resolves conflicts, and opens a PR to the target GitHub repo. Use when asked to sync upstream, merge upstream changes, or bring a GitHub fork up to date with its upstream source.
$npx -y skills add opendatahub-io/ai-helpers --skill github-sync-upstreamInstalls into the current project.
Run `npx skills use "https://github.com/opendatahub-io/ai-helpers" --skill "opendatahub-io/ai-helpers/github-sync-upstream"` 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/opendatahub-io/ai-helpers" that are relevant to the current task. Run `npx skills add "https://github.com/opendatahub-io/ai-helpers"` and select the relevant skills, then follow their instructions.