create-pr — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited create-pr (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.
現在のブランチの変更を分析し、プロジェクトのPRテンプレートに沿ったPR本文を生成してGitHubに反映する。
git branch --show-current
git log main..HEAD --oneline
gh pr list --head $(git branch --show-current) --json number,title,body,state既存PRがある場合:
gh pr diff <番号>PRがない場合:
git diff main...HEAD --stat
git diff main...HEAD差分が大きい場合は --stat で全体像を把握してから重要ファイルだけ読む。
以下のパスを順に確認する:
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.md.github/PULL_REQUEST_TEMPLATE/*.mdテンプレートが見つかった場合はそのセクション構成を忠実に守る。 テンプレートがない場合はデフォルト構成(概要 / 変更内容 / 動作確認)を使う。
テンプレートの各セクションを変更内容に基づいて埋める。
タイトルの形式: <type>: <概要>
feat: 新機能fix: バグ修正ci: CI/CDrefactor: リファクタリングdocs: ドキュメント本文を書くときの指針:
生成したタイトルと本文をチャットに表示してユーザーに確認を求める。 投稿・更新はユーザーの承認を得てから行う。
以下の内容でPRを作成(or 更新)します。問題なければ「OK」と返信してください。
タイトル: <タイトル>
---
<本文>
---ユーザーが承認したら実行する。本文はheredocで渡す(クォートの問題を防ぐため)。
PRが存在しない場合(新規作成):
gh pr create --title "タイトル" --body "$(cat <<'EOF'
本文
EOF
)"PRが既存の場合(本文更新):
gh pr edit <番号> --title "タイトル" --body "$(cat <<'EOF'
本文
EOF
)"反映後にPRのURLを出力してユーザーに知らせる。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.