update-from-upstream-main
БесплатноБез исполняемых скриптовНе проверенUpdate the current Remotion branch with the latest canonical main branch. Use when asked to update or sync from upstream main, merge the latest main into a…
от remotion-dev★ 77 030 звёзд на GitHubОб этом скилле
Update From Upstream Main
Update from the canonical remotion-dev/remotion repository while preserving local work and published branch history.
Workflow
Inspect the repository before changing it:
git status --short --branch git branch --show-current git remote -vStop and report the state if an operation such as a merge or rebase is already in progress. A detached checkout is supported and must not prevent the update.
If the working tree contains staged, unstaged, or untracked changes, stash them automatically and continue:
git stash push --include-untracked --message "update-from-upstream-main: preserve local changes" git rev-parse stash@{0}Record the created stash's commit ID so the same entry can be restored later. Do not treat uncommitted changes as a reason to stop. Do not include ignored files unless the user explicitly asks.
Select the canonical remote whose URL points to
remotion-dev/remotion. Preferupstreamwhen it exists; otherwise useorigin. If neither remote points to the canonical repository, stop and ask before adding or changing a remote.Fetch the latest main branch without changing the working tree:
git fetch <canonical-remote> mainUpdate the checked-out branch:
On
main, require a fast-forward:git merge --ff-only <canonical-remote>/mainOn a feature branch or detached checkout, merge main without opening an editor:
git merge --no-edit <canonical-remote>/main
Do not rebase, reset, or force-push. A merge keeps published branch history intact and can be pushed normally; on a detached checkout, report that the resulting commit is still detached.
If the merge conflicts, resolve each file deliberately and preserve both the feature intent and upstream changes. Do not accept
oursortheirsacross the entire merge. Check every resolved file for leftover conflict markers before staging:rg -n '^(<{7}|={7}|>{7})' -- <resolved-files>Inspect and remove any matches that are conflict markers. Then stage only the resolved files and finish the merge with:
git commit --no-editIf step 1 created a stash, reapply it after the upstream update is complete:
git stash apply --index <recorded-stash-commit>Reapply the stash before reporting success or before stopping after a fetch or merge failure, provided no Git operation is still in progress. If applying the stash causes conflicts, resolve them deliberately without rerunning
git stash apply. The stash entry remains as a recovery copy. After confirming that all stashed changes, including untracked files and their staged state, were restored, find the entry with the recorded commit ID ingit stash list --format='%gd %H'and drop only that entry. Never pop or drop a pre-existing stash.Validate the result. Always run
git diff --checkandgit diff --cached --check. If conflicts were resolved or the combined changes could affect behavior, run the relevant package tests. For broad changes, run:bun run build bun run stylecheckPush only when the user asked to update a published branch or pull request. Use a normal push and stop if it is rejected:
git push <canonical-remote> HEADNever force-push.
Report the previous and new commit, whether the checkout is detached, whether the update was a fast-forward or merge, whether local changes were stashed and successfully reapplied, any conflicts resolved, validation performed, and whether the branch was pushed.
Установить update-from-upstream-main в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл update-from-upstream-main?
Update the current Remotion branch with the latest canonical main branch. Use when asked to update or sync from upstream main, merge the latest main into a feature branch, fast-forward local main, or bring a pull request branch up to date without rewriting published history.
Как установить скилл update-from-upstream-main?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-from-upstream-main запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic