Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Pr

ASecurity

プルリクエストの作成とプッシュ(プリフライトチェック、base 追従、コンフリクト検知含む)

20 stars
0 votes
0 copies
1 views
Added 9/20/2026
toolsgit

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add d-zero-dev/frontend-guidelines --skill pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/d-zero-dev-frontend-guidelines/badge)](https://www.skillsdirectory.com/skills/d-zero-dev-frontend-guidelines)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: pr
description: プルリクエストの作成とプッシュ(プリフライトチェック、base 追従、コンフリクト検知含む)
---

1. `dev` ではないトピックブランチにいることを確認する。
2. **base 追従(コンフリクト予防)**: `git fetch origin dev` を実行し、`git log HEAD..origin/dev --oneline` で base が進んでいないか確認する。進んでいれば push 前に `git rebase origin/dev` する。ドキュメント系のコンフリクトは機械的に解決せず、base 側で追加された内容を方針(sidebar 構成・見出し構造)に沿って取り込むこと。
3. **プリフライトチェック(必須 — 省略不可):**
   - `yarn lint`、`yarn build` がこのセッション内でまだ実行・成功していない場合、続行する前に**今すぐ実行**する。rebase を行った場合は rebase 後に再実行する。
   - このリポジトリに `yarn test` は存在しない。
   - 全てがパスしなければならない。失敗があれば続行前に修正する。
4. 適切な `git` コマンドを使って現在のトピックブランチの変更をレビューする。
   - **機密・案件情報とサンプル慣例のダブルチェック**: base branch との全 diff(`git diff dev...HEAD`)に対して、`.claude/skills/git/SKILL.md` の「機密・案件情報の検出」と「サンプル値の慣例チェック」を再実行する。コミット単位のチェックをすり抜けた企業名・顧客情報・実在ドメイン・未取得ドメイン・案件識別子・実データ断片がないかを PR 全体で確認する。検出したら汎用値へ書き換えて追加コミットする。
5. **PR body を一時ファイルに保存する**: scratchpad ディレクトリに PR body(markdown)を書き出す。**PR body は diff の要約であり会話の要約ではない** — セッション中に出てきた顧客名・案件名・社外秘情報は、diff 自体に含まれていない限り書き込まない。
6. **push と PR 作成はユーザーが実行する**: エージェントは `git push` / `gh pr create` を実行せず、ユーザーがそのまま実行できる `!` 付きコマンドを提示する。ファイルパス引数は必ずダブルクオーテーションで囲む。

   ```
   ! git push -u origin <branch>
   ! gh pr create --base dev --title "<title>" --body-file "<PR body の一時ファイルパス>"
   ```

7. **マージ可能性の確認(CI watch では捕捉できない):**
   - ユーザーから PR 作成の報告を受けたら、まず `gh pr view <number> --json mergeable,mergeStateStatus` で **`CONFLICTING` / `DIRTY` を検知**する。`gh pr checks --watch` はステータスチェックしか見ないため、コンフリクトは黙って素通りする。
   - `CONFLICTING` なら CI を待たずにステップ 2 の base 追従(rebase + 方針に沿った解決)に戻り、解決後にユーザーへ `! git push --force-with-lease` を依頼する。
8. **CI 監視:**
   - `gh pr checks --watch` を**バックグラウンド実行**で起動して CI の完了を待機する(フォアグラウンド実行はターン内タイムアウトで出力が欠損する)。
   - テストが途中で失敗した場合は完了を待たずに修正作業に戻る。
   - 全テストが通ったら、`gh pr view <number> --json mergeable,mergeStateStatus` で再度 `CONFLICTING` / `DIRTY` になっていないか確認する(CI 実行中に base が進んで新たにコンフリクトが発生している可能性があるため)。
   - `CONFLICTING` ならステップ 7 の対処に戻る。問題なければ `gh pr view <number> --web` でブラウザを開き、マージ可能であることをユーザーに報告してマージを促す。

Attribution

d-zero-devd-zero-dev
View sourceMore from d-zero-dev →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

ucoz-landing-skill

Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

813271 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Caveman Compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

1074700 votes
View all in tools →