skills/create-pr/SKILL.md
Create a clear, review-ready pull request with gh CLI. Gather context from commits, diff, and Linear when available; follow repository templates; push safely; and return the PR URL with merge guidance.
npx skillsauth add soyio-id/skills create-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Open a high-quality PR that is easy to review and safe to merge:
base_branch (optional, default: repo default branch)is_draft (true/false, default: false)title_hint (optional)extra_context (optional: issue links, rollout notes, risks)main/master directly.--force-with-lease only.Check prerequisites
gh auth statusgit status --short --branchgit branch --show-currentDetermine base branch
gh repo view --json defaultBranchRef -q .defaultBranchRef.nameReview branch content
git log --oneline origin/<base_branch>..HEADgit diff --stat origin/<base_branch>...HEADDiscover related Linear issues
extra_context for issue IDs such as SOYIO-20.Ensure branch is pushed
git push -u origin HEADgit pushBuild PR content
.github/pull_request_template.md (or equivalent) exists, follow it exactly.## Linear when there is no obvious section.closes SOYIO-20.Magic words reference.Create or reuse PR
gh pr view --json url,number,state 2>/dev/nullgh pr create --title "<title>" --body "<body>" --base <base_branch>
For draft PR:
gh pr create --title "<title>" --body "<body>" --base <base_branch> --draft
gh pr view --json url,number,title,state,mergeStateStatus,reviewDecisionClosing magic words:
close, closes, closed, closing, fix, fixes, fixed, fixing, resolve, resolves, resolved, resolving, complete, completes, completed, completing.
Non-closing magic words:
ref, references, part of, related to, contributes to, towards.
Return:
gh auth fails, instruct to run gh auth login.tools
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
tools
Create or reuse a coordinated Soyio parity workspace across soyio, soyio-dashboard, and soyio-embeds, then start the matching local runtimes.
testing
Triage and prepare automated dependency security PRs for merge with minimal risk. Identify bot PRs that need intervention, resolve required issues only, refresh stale branches safely, detect superseded PRs, and keep diffs dependency-focused.
testing
Fix multiple dependency vulnerabilities across multiple repos. Parses Vanta-style vulnerability entries, groups by repo, creates a single fix branch per repo, applies all fixes, verifies compatibility, and creates PRs after user approval. Use when the user says '/fix-vulnerabilities' or asks to fix vulnerabilities across repos.