Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub tatematsu-k/ai-development-skills --plugin aidlcHow this skill is triggered — by the user, by Claude, or both
Slash command
/aidlc:pr-strategyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
PRの分割単位・サイズ・コミット戦略のルールを定義する。
Splits multi-feature GitHub pull requests into smaller focused PRs using squash merges, GitHub CLI, and git. Use when PRs contain independent features or user requests 'split pr'.
Share bugs, ideas, or general feedback.
PRの分割単位・サイズ・コミット戦略のルールを定義する。
このスキルは他のスキル (subtask-decomposition, implementation, pr-creation) から参照される。
各コンポーネントは非同期でデプロイされるため、依存関係がある修正を1つのPRに入れない。
例:
❌ 1つのPR: サーバーAPIの追加 + フロントのAPI利用
✅ 分離: PR-1: サーバーAPIの追加
PR-2: フロントのAPI利用 (PR-1のデプロイ後にマージ可能)
デプロイ粒度の例:
目安: +150行 / -150行 以内
人間がレビューしやすいサイズに保つ。超える場合は以下を検討:
スクリプトによって作成・更新されるファイル (マイグレーション、コード生成、ロックファイル等) は:
[scripts] プレフィックスを付ける# 例
git commit -m "[scripts] rails generate migration AddStatusToOrders
Executed: bin/rails generate migration AddStatusToOrders status:integer"
<type>: <description>
[optional body]
Co-Authored-By: Claude <noreply@anthropic.com>
type:
feat: 新機能fix: バグ修正refactor: リファクタリングtest: テストの追加・修正docs: ドキュメントchore: ビルド・設定の変更[scripts]: スクリプト生成ファイルPRに依存関係がある場合、PR descriptionに明記する:
## Dependencies
- Depends on: #123 (サーバーAPI追加)
- Blocked by: なし
PR作成前に確認:
[scripts] コミットで分離されているか