create-pr

Solid

Create a pull request (GitHub) or merge request (GitLab) from the current branch

AI & Automation 486 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
95
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Create Pull Request / Merge Request Create a PR (GitHub) or MR (GitLab) from the current branch with an auto-generated title and description. **Provider detection:** Check the remote URL: - If `github.com` → use `gh` CLI - If `gitlab.com` or `gitlab.` → use `glab` CLI ## Arguments - `base-branch` (optional): Branch to merge into (defaults to `main` or repo default) ## Prerequisites You should be working in a repository cloned to `/workspace/personal/<repo-name>`. ## Workflow 1. **Verify state** — confirm you're in a git repo, not on main/master, and have commits to push. 2. **Run PR checks (MANDATORY)** — Run ALL checks listed in the "PR Checks" section of your Repository Guidelines. Run each command/task sequentially. If ANY check fails, fix the issue and re-run until all pass. If no guidelines are defined, check the project's CLAUDE.md for a pre-PR checklist and run those. Do NOT proceed until all checks pass. 3. **Push the branch** — `git push -u origin HEAD` 4. **Gather context** — review commit messages and changed files since diverging from base. 5. **Generate title and description:** - **Title**: Concise summary (conventional commit style if the repo uses it) - **Description**: Summary of changes, notable items, testing done, related issues 6. **Create the PR/MR** using `gh pr create` or `glab mr create`. 7. **Check CI status** — After creating the PR, wait ~30 seconds, then check CI with `gh pr checks <pr-number>` (GitHub) or `glab mr view --json pipel...

Details

Author
desplega-ai
Repository
desplega-ai/agent-swarm
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

create-pr

This skill should be used when user asks to "create a PR", "make a pull request", "open PR for this branch", "submit changes as PR", "push and create PR", or explicitly invokes "create-pr".

713 Updated 3 days ago
fcakyon
AI & Automation Solid

create-pr

create a pull request with standardized description template

61 Updated today
existential-birds
AI & Automation Solid

create-pr

Create high-quality pull requests via gh pr create. Use when the user wants to create a PR, submit a PR, open a pull request, submit for review, or push changes for review. Triggers on: create a pr, create-pr, submit a pr, open a pull request, submit for review, make a pr, gh pr create.

525 Updated today
ReflexioAI
Code & Development Listed

pr

Creates or updates a pull request (GitHub) or merge request (GitLab) for the current branch using the Conventional PR format — intent, summary, changes, rationale, and test plan. Captures the implementation conversation's intent into the PR description when run in the same session. Use when a branch is ready for review, or to update an existing PR/MR description.

57 Updated today
oprogramadorreal
AI & Automation Listed

create-pr

Pull request workflow for coding agents—branch selection, GitHub CLI (gh pr create), tests before PR, confirmation flow, conventional titles, reviewer-first bodies. Use when opening a PR, drafting a GitHub description, or when the user asks in natural language what used to be the create-pr command (e.g. skip checks, yes without prompt, branch A to B).

0 Updated yesterday
D3OXY