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-creationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
実装完了したサブタスクのPRを作成し、タスクステータスを更新する。
Automates the final handoff process: local verification, git commit/push, PR creation or update, and iterative fix loop until CI passes and PR is merge-ready.
Creates GitHub PRs after validating git state, running quality checks (lint/test/build/security), detecting templates, linking issues, and applying labels.
Creates GitHub pull requests with validation workflows tailored to PR type (feature, bug fix, refactor, quick). Runs pre-flight checks, security audits, tests, and code reviews via agents.
Share bugs, ideas, or general feedback.
実装完了したサブタスクのPRを作成し、タスクステータスを更新する。
Announce at start: 「PR作成フェーズを開始します。」
REQUIRED SUB-SKILL: aidlc:pr-strategy — PR作成ルールに従うこと
REQUIRED SUB-SKILL: aidlc:task-management — タスクステータス更新
PR作成前に包括的な検証を実行する。全フェーズをパスするまでPRは作成しない。
npm run build 2>&1 | tail -20
ビルドが失敗した場合は STOP — 修正してから続行。
npx tsc --noEmit 2>&1 | head -30
型エラーがある場合はクリティカルなものを修正。
npm run lint 2>&1 | head -30
npm run test -- --coverage 2>&1 | tail -50
カバレッジ目標: 80%以上
# シークレットの混入チェック
grep -rn "sk-" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
grep -rn "api_key" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
# console.log の残存チェック
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10
git diff --stat
git diff HEAD~1 --name-only
変更ファイルを確認: 意図しない変更、エラーハンドリング漏れ、エッジケースがないか。
VERIFICATION REPORT
==================
Build: [PASS/FAIL]
Types: [PASS/FAIL] (X errors)
Lint: [PASS/FAIL] (X warnings)
Tests: [PASS/FAIL] (X/Y passed, Z% coverage)
Security: [PASS/FAIL] (X issues)
Diff: [X files changed]
Overall: [READY/NOT READY] for PR
Overall が NOT READY の場合: 問題を修正してから Step 2 に進む。
[scripts] コミットで分離されているgit push -u origin <branch-name>
PR作成前に、要件定義書と設計書の内容を読み込む:
aidlc-docs/requirements/ 配下から該当する要件定義書 (.md) を特定し、内容を読み込むaidlc-docs/designs/ 配下から該当する設計書 (.md) を特定し、内容を読み込む注意: ファイルが見つからない場合は「(ドキュメントなし)」と記載する。
gh pr create --title "<type>: <description>" --body "$(cat <<'EOF'
## Summary
- [変更内容の要約 1-3行]
## Related
- 要件定義書: `aidlc-docs/requirements/<file>`
- 設計書: `aidlc-docs/designs/<file>`
- タスク: #<issue-number> (GitHub Issue管理の場合)
## Dependencies
- Depends on: #<pr-number> (依存PRがある場合)
## Changes
- [具体的な変更リスト]
## Test Plan
- [ ] ユニットテスト
- [ ] 動作確認
---
<details>
<summary>📋 要件定義書</summary>
[要件定義書の内容をここに展開する]
</details>
<details>
<summary>📐 設計書</summary>
[設計書の内容をここに展開する]
</details>
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
REQUIRED SKILL: aidlc:task-management
in_review に更新残りのサブタスクがあるか確認:
残りあり:
「PR #X を作成しました: サブタスク #N を
in_reviewに更新しました。次のサブタスク #M の実装に進みます: [サブタスク名]」
REQUIRED NEXT SKILL: aidlc:implementation (次のサブタスクへ)
全サブタスク完了:
「全サブタスクのPRが作成されました。
進捗サマリ
# サブタスク PR ステータス 1 ... #PR-1 in_review 2 ... #PR-2 in_review PRのレビューをお願いします。」
PR作成 → タスク更新 → 次のサブタスクあり?
├─ はい → implementation スキルへ
└─ いいえ → 全体完了報告