pr-36f99d — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited pr-36f99d (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Creates (or updates) a GitHub PR from the current branch using gh pr create. Reads the full commit range, generates a structured body, and always shows the complete proposal for user approval before touching GitHub. Never creates a PR silently.
| Flag | Effect |
|---|---|
--draft | Open as a draft PR instead of ready for review |
--base <branch> | Override the target base branch (default: repo default branch) |
--reviewer @handle | Assign one or more reviewers (repeat for multiple) |
--label <name> | Add a label in addition to any auto-inferred ones |
--closes <N> | Append Closes #N to the PR body |
--refs <N> | Append Refs #N to the PR body |
--web | Open the PR in the browser after creation |
--british | British English spelling in title and body (default: American English) |
If the user provides a free-text hint (e.g. $pr fix the auth regression), use it as a strong signal for the title and Summary — do not ignore it.
Extract all flags above and any free-text hint from the user's invocation.
git rev-parse --abbrev-ref HEAD — current branch name.gh repo view --json defaultBranchRef -q .defaultBranchRef.name — repo default branch.git log <base>...HEAD --oneline — all commits included in this PR.git diff <base>...HEAD --stat — files and line counts changed.git diff <base>...HEAD --name-only — file list for scope/label inference.gh pr list --head <branch> --json number,url,title — detect any existing PR for this branch..github/pull_request_template.md — use it as the body structure if present.Where <base> is the --base flag value, or the repo default branch if not specified.
gh pr edit) or abort.gh pr edit <number> --title "..." --body "...".
main tomain): warn and ask for confirmation before proceeding.
git rev-parse --abbrev-ref @{u} to detect whether the branch has a remote upstream.Ask for confirmation, then run git push -u origin <branch>.
git push (standard, non-force).Map the commit types present in the range to GitHub label names:
| Commit type | Suggested label |
|---|---|
feat | enhancement |
fix | bug |
docs | documentation |
chore / ci / build | (no label) |
perf | performance |
refactor | refactor |
test | testing |
--breaking flag or ! in any commit | breaking change |
Combine with any --label flags from the user. Propose the full label list and let the user accept, change, or drop any.
<type>(<scope>): <description>.--british if flagged.If .github/pull_request_template.md exists, fill its sections rather than using the default structure below.
Otherwise use these fixed sections:
## Summary
<bullet points: what changed and why — the motivation, not the mechanics>
## Changes
<bullet list of files/modules touched with a one-line description each>
## Test plan
<markdown checklist: concrete steps to verify the change works and hasn't broken anything>Append at the bottom:
Closes #N / Refs #N footers if --closes or --refs were passed.asks for one (standard for AI-assisted PRs; omit only if the user explicitly asks).
Draw content from the full commit range (git log) and diff stat — summarize ALL commits, not just the most recent.
Present in one block:
Ask the user to approve, edit specific sections, or cancel. Do not proceed until approved.
Build the gh pr create command from the approved proposal:
gh pr create \
--title "<title>" \
--body "$(cat <<'EOF'
<body>
EOF
)" \
[--base <branch>] \
[--draft] \
[--reviewer <handle>] \
[--label <name>] \
[--web]If label names don't exist in the repo yet, gh will error — catch this and offer to create the missing labels or skip them.
--web was passed, confirm the browser was opened.git push or git push -u origin <branch>.gh is not authenticated or not installed, say so clearly and stop.actual git and gh output.
gh, fall back to asking the user.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.