Skip to content
Back to skills

Pr Generator

ASecurity

現在のgit状態を分析し、標準フォーマットに準拠したPRを自動生成する。 Linear統合なしのシンプルなPR作成コマンド。

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 27, 2026
data-aibashdockergitapici/cd

Works with

  • claude code
  • api

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add sorafujitani/skills --skill pr-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pr Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sorafujitani-pr-generator/badge)](https://www.skillsdirectory.com/skills/sorafujitani-pr-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pr-generator
description: |
  現在のgit状態を分析し、標準フォーマットに準拠したPRを自動生成する。
  Linear統合なしのシンプルなPR作成コマンド。
disable-model-invocation: true
---

# PR Generation Command (without Linear Integration)

現在のgit状態を分析し、toridori標準フォーマットに準拠したPRを自動生成します。

## 実行手順

1. **Git状態の詳細分析**
   - `git status` で未コミットの変更を確認
   - `git diff main...HEAD` でmainブランチとの差分を確認
   - `git log main..HEAD --oneline` でコミット履歴を確認
   - 変更ファイルの分類と影響範囲の特定
   - 現在のブランチ名を確認

2. **変更内容の構造化**
   - 変更をカテゴリー別に分類(コア実装、テスト、ドキュメント、インフラなど)
   - 各カテゴリーに適切な絵文字を付与
   - 変更の目的と影響を明確化

3. **PR作成の実行**

   **タイトルフォーマット**:
   ```
   {変更の本質を表す日本語タイトル}
   ```
   例: `Cookie認証への移行 - Articles API`

   **説明文フォーマット**:
   ```markdown
   ## 📋 概要
   [変更の目的と背景を簡潔に記述]

   ## 🔧 主な変更内容

   ### [カテゴリー名]
   - **[機能名]**: [詳細説明]
     - [サブ項目があれば箇条書き]
   - **[別の機能]**: [詳細説明]

   ### [別のカテゴリー]
   - **[機能名]**: [詳細説明]

   ## 🗂️ 変更ファイル
   - **[グループ名]**: `file1.rb`, `file2.rb`
   - **[別グループ]**: `file3.md`, `file4.yml`

   ## 🧪 テスト

   ### テスト実行方法
   ```bash
   # テスト実行
   docker compose exec app bundle exec rspec spec/requests/api/articles_spec.rb
   ```

   ### テスト結果
   - テスト件数: XX examples, 0 failures
   - カバレッジ: [必要に応じて記載]

   ### 検証項目
   - [x] [完了した検証項目]
   - [x] [別の検証項目]
   - [ ] [未完了の項目があれば]

   ## 📦 破壊的変更
   [ありorなし - 詳細があれば記載]

   ## 🔄 移行手順
   [必要な場合のみ記載]

   ## 関連Issue
   [関連するIssue番号があれば記載]
   例: Closes #90, Fixes #123

   🤖 Generated with [Claude Code](https://claude.com/claude-code)

   Co-Authored-By: Claude <noreply@anthropic.com>
   ```

4. **フォローアップ**
   - 作成されたPR URLの提供
   - CI/CDステータスの確認

## カテゴリー別の絵文字ガイド

- 📋 概要・サマリー
- 🔧 実装・機能追加
- 🐳 Docker/コンテナ関連
- 📝 ドキュメント更新
- 🧪 テスト関連
- 📦 パッケージ・ビルド
- 🔄 破壊的変更・移行
- ⚙️ 設定・環境
- 🚀 デプロイ・CI/CD
- 🐛 バグ修正
- ♻️ リファクタリング
- 🗂️ ファイル一覧

## 注意事項

- コミットされていない重要な変更がある場合は先にコミットを促す
- テスト手順は実際に実行可能なコマンドを提供
- 破壊的変更がある場合は明確に記載
- 日本語と英語の使い分け:タイトルと説明は日本語、コード・コマンドは英語
- 関連Issueがある場合は必ず記載(Closes #XX, Fixes #XX など)

## 成功基準

- 変更内容が構造化され理解しやすい
- テスト手順が再現可能
- レビュアーが変更の影響を把握できる
- 関連Issueとの紐付けが明確(該当する場合)

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.