skills/crearize/create-pr/SKILL.md
GitHub Pull Request作成スキル - 変更内容の自動サマリー、PR説明文生成、GitHub PRの作成を行います。git diffでの変更分析、コミットメッセージ取得、変更ファイル分類を行い、高品質なPR説明文を自動生成します。qa-check実行済みであることを前提とし、リモートへのプッシュとgh CLIによるPR作成を実行します。
npx skillsauth add aiskillstore/marketplace create-prInstall 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.
GitHub Pull Requestの作成を自動化するスキルです。変更内容の分析、PR説明文の自動生成、GitHub PRの作成を行います。
# 現在のブランチを確認
git branch --show-current
# mainブランチでないことを確認
# mainブランチの場合はエラー
# リモートブランチとの差分確認
git fetch origin
git log origin/main..HEAD --oneline
# 変更ファイル一覧確認
git diff origin/main...HEAD --name-only
# 変更行数確認
git diff origin/main...HEAD --stat
# 全コミットメッセージ取得
git log origin/main..HEAD --pretty=format:"%s"
backend/ 配下のファイルfrontend/ 配下のファイルdocuments/ 配下のファイルfeature/ ブランチ、大量の新規ファイルfix/ ブランチ、少数のファイル変更refactor/ ブランチdocs/ ブランチ# 形式: [変更種別] 簡潔な説明 (closes #[issue_number])
# 例:
# - feat: ユーザープロフィール機能の実装 (closes #123)
# - fix: ログインセッションエラーの修正 (closes #456)
# - refactor: UserServiceのDRY原則適用 (closes #789)
# - docs: チャンネル設定機能仕様書を更新 (closes #101)
## 概要
[変更の概要を1-2文で説明]
## 変更内容
### Backend変更(該当する場合)
- **API**: [実装/修正したエンドポイント]
- **データベース**: [追加/変更したテーブル]
- **ビジネスロジック**: [実装/修正した機能]
### Frontend変更(該当する場合)
- **ページ**: [実装/修正したページ]
- **コンポーネント**: [作成/修正したコンポーネント]
- **UI/UX**: [追加/変更した機能]
### ドキュメント変更(該当する場合)
- [更新したドキュメント一覧]
## テスト
- 単体テスト: [テスト数] 件追加/修正
- カバレッジ: [数値]%
- 動作確認: ✅ 完了
## チェックリスト
- [x] コーディング規約準拠
- [x] テスト実装(カバレッジ80%以上)
- [x] Lint/ビルド成功
- [x] ドキュメント更新(該当する場合)
- [x] サーバー起動・動作確認完了
## 関連Issue
Closes #[issue_number]
## スクリーンショット(該当する場合)
[画面キャプチャ等があれば追加]
## 補足
[特記事項があれば記載]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
# 未コミットの変更がないか確認
git status
# ステージングされていない変更がある場合は警告
# 現在のブランチをリモートにプッシュ
git push -u origin [current-branch]
# gh CLIを使用してPR作成
gh pr create \
--base [base_branch] \
--title "[PRタイトル]" \
--body "$(cat <<'EOF'
[PR本文]
EOF
)"
# 作成されたPRのURLを取得
gh pr view --web
## Create PR 完了報告
### PR情報
- **PR URL**: [URL]
- **タイトル**: [PRタイトル]
- **ベースブランチ**: [base_branch]
- **Issue**: #[issue_number]
### 変更サマリー
- Backend変更: [ファイル数] ファイル、[行数] 行
- Frontend変更: [ファイル数] ファイル、[行数] 行
- ドキュメント変更: [ファイル数] ファイル、[行数] 行
### 次のステップ
Pull Requestのレビューを依頼してください。
documents/development/development-policy.md: 開発ガイドラインdevelopment
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.