skills/prepare-security-prs/SKILL.md
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.
npx skillsauth add soyio-id/skills prepare-security-prsInstall 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.
Triage and prepare automated dependency PRs for merge with minimal risk:
owner/repobot_filters (optional list, example: dependabot[bot], renovate[bot], snyk-bot)stale_threshold (default: behind_by > 50)test_depth (none, targeted, full; default: targeted)allow_branch_rewrite (true/false, default: false)--force-with-lease only.Use one or more signals:
Bump, Upgrade, Security update.gh pr list --repo <owner/repo> --state open --limit 200 --json number,title,url,author,labels,headRefName,baseRefName,updatedAt,mergeable,mergeStateStatus,reviewDecision
ready: mergeable, no actionable feedback, checks green/pendingneeds_fix: failing checks, review-requested fixes, bad constraints, missing lockfilestale: high behind_by or frequent base conflictssuperseded: base already has same/newer secure versionnoisy_history: huge PR UI but tiny net merge diffneeds_fix: apply minimal fix, update lockfile conservatively, run tests, push, comment.stale: refresh from base, verify diff remains dependency-only, push, comment.superseded: do not patch; comment recommendation to close.noisy_history: if rewrite is allowed, rebuild branch from current base with only intended dependency patch, create one clean commit, force-push with lease, comment.behind_by > 50<= 25) is usually acceptable unless checks/reviews failtools
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
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.
tools
Create an isolated worktree for a new branch, existing branch, or PR review. Prefer repo-local worktree commands when they exist, and fall back to vanilla git worktrees otherwise.