make-pr
Opens a new pull request for your current feature branch. Simplifies the code submission process.
Install
mkdir -p .claude/skills/make-pr && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3756" && unzip -o skill.zip -d .claude/skills/make-pr && rm skill.zipInstalls to .claude/skills/make-pr
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Open a pull request for the current featureKey capabilities
- →Open pull requests for finished work
- →Run code formatting with Oxfmt
- →Verify compilation and linting
- →Push changes to remote branch
How it works
It automates the workflow of formatting code, running checks, committing, and using the GitHub CLI to open a pull request.
Inputs & outputs
When to use make-pr
- →Submitting a completed feature for review
- →Opening a PR for bug fixes
- →Finalizing code contributions
About this skill
Ensure we are not on the main branch, make a branch if necessary.
Check whether a PR already exists for the current branch with gh pr status or gh pr view. If one exists, update it with local changes.
Run Oxfmt on the files or package directories affected by the current change. Pass their actual paths; do not assume that the repository root has a src directory. Include relevant root-level files, and do not format unrelated packages or the whole repository.
For example:
bunx oxfmt <changed-file-or-package-directory>... --write
If none of the changed files are supported by Oxfmt, skip this step. Inspect any formatter changes before committing.
Then run
bun run build
bun run stylecheck
to ensure we compile and CI linting/formatting passes.
Commit the changes once. The title of the PR must be according to the pr-name skill.
Push the changes to the remote branch once, using git push -u origin HEAD.
Never force push, unless users asks for it.
Use the gh CLI to create a pull request and use the same format as above for the title.
When creating the PR, do not pass the PR body inline through a shell command (for example, avoid --body "..." or heredocs in bash). Instead:
- Write the PR body to a temporary Markdown file in the system temp directory (for example
/tmp/remotion-pr-body.md, or a unique file created under/tmp).- If the current work was started from, fixes, or is otherwise tied to a GitHub issue, include a closing keyword in the PR body such as
Closes #1234orCloses https://github.com/owner/repo/issues/1234. Preserve the issue number or URL from the user's original request if they provided one.
- If the current work was started from, fixes, or is otherwise tied to a GitHub issue, include a closing keyword in the PR body such as
- Create the PR with
gh pr create --title "<title>" --body-file <path-to-temp-md-file>.
Example:
gh pr create --title '`@remotion/package`: Add feature' --body-file /tmp/remotion-pr-body.md
Link directly changed website pages
After creating the PR, check whether it directly adds or modifies a primary page in packages/docs. Determine each page's public path from the page source, using packages/docs/docusaurus.config.ts as the route source. Do not infer paths for deleted pages or changes that only affect shared components, styles, data, or configuration.
After creating the PR, poll its comments for up to 60 seconds for the Vercel comment, sleeping 5 seconds between checks. Take the Preview link from the remotion project row and append each page path to it; ignore the bugs project row. If that preview link is unavailable and the deployment link only points to the Vercel dashboard, use vercel inspect <deployment-url> only when the Vercel CLI is installed and authenticated. Otherwise, do not modify the PR body and report that the preview URL could not be resolved.
Only wait for the Vercel comment. Do not wait for the deployment to finish, create a Vercel heartbeat, or probe the preview page.
Append the deep links to a ## Preview section in the PR body. Fetch the current body into a temporary Markdown file and update it with gh pr edit <pr> --body-file <path-to-temp-md-file>; never pass the replacement body inline.
If either the page path or the preview URL cannot be determined confidently, leave the created PR unchanged and report that preview links were not added.
When not to use it
- →Opening PRs for unfinished work
- →Force pushing to remote branches
Prerequisites
Limitations
- →Does not allow force pushing
- →Requires existing branch
How it compares
It enforces a strict, automated pre-PR workflow including specific formatting and linting steps rather than manual PR creation.
Compared to similar skills
make-pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| make-pr (this skill) | 1 | 27d | Review | Intermediate |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| git-commits | 21 | 4mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by remotion-dev
View all by remotion-dev →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
github-multi-repo
ruvnet
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
git-workflow-enforcer
CrazyDubya
Ensures commits follow conventional commits, branch naming conventions, and PR templates. Use when creating commits, branches, or PRs, or when user mentions git workflow.