desplega-ai/agent-swarm/create-pr
Claude Code and agent skill by desplega-ai/agent-swarm
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Create a pull request (GitHub) or merge request (GitLab) from the current branch
Install
npx vskill@latest install desplega-ai/agent-swarm/create-prSKILL.md
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→ useghCLI - If
gitlab.comorgitlab.→ useglabCLI
Arguments
base-branch(optional): Branch to merge into (defaults tomainor repo default)
Prerequisites
You should be working in a repository cloned to /workspace/personal/<repo-name>.
Workflow
- Verify state — confirm you're in a git repo, not on main/master, and have commits to push.
- 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.
- Push the branch —
git push -u origin HEAD - Gather context — review commit messages and changed files since diverging from base.
- Generate title and description. Follow the conventions of the repository you are working in, not a fixed format:
- Title: Concise summary (conventional commit style if the repo uses it)
- Description: If the repo has a PR/MR template, use its headings as the structure and fill every section. GitHub looks for
pull_request_template.mdin.github/,docs/, or the repo root (plus an optionalPULL_REQUEST_TEMPLATE/directory), and falls back to the org's.githubrepo. GitLab uses.gitlab/merge_request_templates/. Also follow any PR rules in the repo'sCLAUDE.md,AGENTS.md, orCONTRIBUTING.md. If the repo defines none, include: summary of changes, notable items, testing done, related issues. - Show the change, do not narrate it. Aim for about 250 prose words; code blocks, mermaid, tables and
<details>do not count. No file-by-file changelog: that belongs in your task output. - Review map: build it from
git diff --stat <base>...HEAD. One row per area, biggest risk first, with(+N/-M), a depth (🔍 deep, 👀 skim, ⏭ skip for tests and generated files) and what could break. - Change outline: 1 or 2 views of the shape of the change. Pseudocode with
+/-lines for logic, mermaid for flow, a tree with paths on the nodes for structure. - Swarm provenance (when you run in the swarm): fill it from your task context. Link the task (
$APP_URL/tasks/<taskId>) and its tree ($APP_URL/sessions/<rootTaskId>), the Slack permalink of the ask if the task came from Slack, any workflow run, and the plan or research as its agent-fs live app link (${AGENT_FS_LIVE_URL}/file/~/<org>/<drive>/<path>). These auth-gated links go in this section only. - Media: images and mp4s as GitHub user attachments (
github-attachskill), docs as the agent-fs live app link under Swarm provenance (anagent-fs share-createlink only when the requester asks for one or a reader has no agent-fs login). Never a presigned agent-fs URL for docs or videos.
- Create the PR/MR using
gh pr createorglab mr create.gh pr create --bodydoes not apply the repo template, so write the filled description to a file and pass it with--body-file <file>. - Check CI status — After creating the PR, wait ~30 seconds, then check CI with
gh pr checks <pr-number>(GitHub) orglab mr view --json pipelines(GitLab). If any check is failing, investigate the failure, fix it, push the fix, and re-check. Repeat until CI is green. - Report the PR/MR URL and CI status.
Tips
- Link related issues using
Fixes #123orCloses #123in the description - If the repo ships
scripts/check-pr-body.ts, run it on the body file before creating the PR - Keep PRs focused — one logical change per PR
- If the branch has many commits, summarize the overall change rather than listing each commit
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/pi-skills/create-pr/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/desplega-ai/agent-swarm/create-pr)