pr-ready
$
npx mdskill add remotion-dev/remotion/pr-readyFix PR blockers to restore ready state
- Resolves CI failures and merge conflicts blocking pull requests.
- Uses git CLI for branch status and GitHub CLI (gh) for checks.
- Analyzes failure causes before recommending fixes or rebase actions.
- Applies targeted changes while seeking user confirmation.
SKILL.md
.github/skills/pr-readyView on GitHub ↗
--- name: pr-ready description: Resolve CI failures, merge conflicts, or local branch changes to get a PR ready --- Use this skill when a pull request is not ready because there is either: - a CI failure - a merge conflict - uncommitted or unpushed changes Bring the pull request back to a ready state. Start by checking: 1. The current git branch and working tree state with `git status`. 2. Whether the local branch has commits that are not pushed yet. 3. Whether the PR branch has merge conflicts with the base branch. 4. The current PR checks or CI failures using the `gh` CLI. If there are uncommitted changes, untracked files that look relevant, or commits that have not been pushed, stop before changing, committing, or pushing them and ask the user for confirmation. If there is a merge conflict: 1. Update the local base branch reference. 2. Rebase or merge the PR branch onto the base branch, following the repository's existing workflow. 3. Resolve conflicts carefully and preserve both the PR intent and upstream changes. 4. Run the relevant formatting, tests, or builds for the affected packages. 5. Ask the user for confirmation before pushing if the conflict resolution creates unpushed commits. If there is a CI failure: 1. Inspect the failing check logs with the `gh` CLI. 2. Fix the underlying cause instead of retrying or bypassing the failure. 3. Run the relevant local checks that cover the failure. 4. Commit the fix if needed. 5. Ask the user for confirmation before pushing if this creates unpushed commits. If there are no CI failures, no merge conflicts, and no uncommitted or unpushed changes, report that the PR is already ready.
More from remotion-dev/remotion
- add-cli-optionAdd a new Remotion CLI or config option by creating an AnyRemotionOption, registering CLI parsing, wiring config setters, and updating documentation. Use when adding or converting command-line flags or Remotion options.
- add-effectAdd a new effect to @remotion/effects, including implementation, package exports, docs, demos, preview images, Remotion skill updates, tests, formatting, and builds.
- add-expertAdd a new expert to the Remotion experts page
- add-new-packageAdd a new package to the Remotion monorepo, including package scaffolding, monorepo registration, documentation, build scripts, tests, and release checklist updates. Use when creating a new @remotion package.
- add-sfxAdd a new sound effect to @remotion/sfx
- add-webcodecs-bugAdd a browser WebCodecs bug to the Remotion Mediabunny WebCodecs bugs docs page. Use when given a Chromium, WebKit, or Firefox issue URL that should be tracked in packages/docs/docs/mediabunny/webcodecs-bugs.mdx, especially when needing to look up the issue title, filing date, reporter, and resolution state before editing the MDX table.
- docs-demoAdd an interactive demo to the Remotion documentation. Use when creating a new <Demo> component for docs pages.
- fix-dependabotFix a Dependabot PR by updating all monorepo instances of the dependency, running bun install, and pushing
- flakeTrack Remotion CI flakes in issue #8375, increment repeated signatures, discover failed PR checks when no PR is given, and rerun flaky GitHub Actions jobs.
- issueCreate or update GitHub issues with correct Remotion naming and safe multiline Markdown handling