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.
base 브랜치 감지:
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||'감지 실패 시 main을 기본값으로 사용.
변경사항 확인 (감지한 base 브랜치로 대체):
git log <base>..<HEAD> --oneline
git diff <base>...<HEAD> --stat필요시 주요 파일 diff 상세 확인.
git status -sb현재 브랜치가 remote에 없으면 PR 생성 전에 push:
git push -u origin HEAD아래 템플릿으로 작성:
## Summary
<!-- 1-2문장 요약 -->
## Key Changes
<!-- 주요 변경사항 목록 -->
-
## Technical Details
<!-- 구현 방식·아키텍처 변경·핵심 로직 -->
## Rationale
<!-- 이 방식을 선택한 이유·검토한 대안 -->PR 존재 여부 확인:
gh pr view --json number,url 2>/dev/nullPR이 없는 경우 — 생성 (기본 draft):
gh pr create --draft --title "<PR 제목>" --body "$(cat <<'EOF'
<PR 본문>
EOF
)"사용자가 "바로 올려줘", "draft 말고", "ready로" 등 명시적으로 요청한 경우 --draft 옵션을 제거한다.
PR이 이미 있는 경우 — 업데이트:
기존 본문을 먼저 읽어 내용을 보존한다:
gh pr view --json body --jq '.body'기존 본문을 기반으로 필요한 부분만 수정하여 업데이트:
gh pr edit --title "<PR 제목>" --body "$(cat <<'EOF'
<PR 본문>
EOF
)"--reviewer, --label 옵션 추가<type>: <요약> 형식을 따른다 (commit-guidelines.md의 커밋 타입 기준)private/plans) 내용, 개인 메모, 로컬 경로·내부 IP, 내부 임시 분석/디버깅 흔적 등. 공유 가능한 형태로 요약하거나 제외한다~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.