skills/create-production-pr/SKILL.md
Create a production promotion PR from main/master to production in an allowed repo or the current repo. Use the repo PR template when available, list included PRs and their Linear links, and generate a date-based title with production-only version suffixes.
npx skillsauth add soyio-id/skills create-production-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 safe production promotion PR that:
productionmain or master as the head branch- #123Paso a produccion DD/MM/YY with v2, v3, and so on only when neededrepo (optional: use the repo declared for this skill; otherwise use the current repo)head_branch (optional: prefer explicit input; otherwise use main, then master)base_branch (optional, default: production)Use `create-production-pr` for `soyio-id/dashboard`.
Create a PR from `main` to `production`.
Use the repo PR template if present.
List included PRs as `- #123`.
production.head and base branches.main nor master exists.production.Check prerequisites
gh auth statusrepo if provided.gh repo view --json nameWithOwner -q .nameWithOwner.base_branch:
production.head_branch:
main, then master.Verify branches exist
gh repo view <repo> --json nameWithOwner,defaultBranchRef
production exists:gh api repos/<repo>/branches/production >/dev/null
head_branch is not provided, probe main first and then master:gh api repos/<repo>/branches/main >/dev/null
gh api repos/<repo>/branches/master >/dev/null
<head_branch> to production:gh pr list --repo <repo> --state open --base production --head <head_branch> --json number,title,url
production...<head_branch>:gh api repos/<repo>/compare/production...<head_branch>
gh api repos/<repo>/commits/<sha>/pulls
- #124
- #130
SOYIO-20 and existing magic-word links such as closes SOYIO-20 or references SOYIO-21.gh pr view <number> --repo <repo> --json number,title,body,headRefName,url
Resolve the PR template
.github/PULL_REQUEST_TEMPLATE.md.github/PULL_REQUEST_TEMPLATE/pull_request_template.md.github/pull_request_template.mddocs/PULL_REQUEST_TEMPLATE.mdPULL_REQUEST_TEMPLATE.mdBuild the PR body
## Linear when there is no obvious section.## PRs incluidas followed by the list.closes SOYIO-20.Magic words reference.## PRs incluidas
- #124
- #130
## Linear
completes SOYIO-20
references SOYIO-21
DD/MM/YY format.Paso a produccion DD/MM/YY
production with the same date title pattern:gh pr list --repo <repo> --state all --base production --search '"Paso a produccion DD/MM/YY" in:title' --json title,number,url
production, use the next available suffix:
Paso a produccion DD/MM/YY v2Paso a produccion DD/MM/YY v3gh pr create with the chosen title, body, production base, and selected head branch.gh pr create --repo <repo> --base production --head <head_branch> --title "<title>" --body "<body>"
production.production.Closing 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 the user to run gh auth login.production, main, or master cannot be found as needed, report the missing branch and stop.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.