home/dot_agents/skills/pr-draft-summary/SKILL.md
コード変更完了後にPR準備ブロックを生成する。ブランチ名提案・PRタイトル・PR説明文ドラフトを 固定フォーマットで出力する。ランタイムコード・テスト・ビルド設定・動作に影響するドキュメント変更が 完了しレビュー準備に入る際に使用。
npx skillsauth add kryota-dev/dotfiles pr-draft-summaryInstall 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.
コード変更完了後にPR準備ブロックを生成します。
以下のコマンドを並列で実行して情報を収集します:
# 現在のブランチ名
git branch --show-current
# ワーキングツリーの状態
git status --short
# 変更統計
git diff --stat
# ステージ済みの変更統計
git diff --cached --stat
# 直近のコミット履歴
git log --oneline -10
# ベースブランチとの差分統計(main or master)
git diff main...HEAD --stat 2>/dev/null || git diff master...HEAD --stat 2>/dev/null
PRテンプレートの有無を確認:
# PRテンプレートがあれば読み込む
cat .github/PULL_REQUEST_TEMPLATE.md 2>/dev/null
収集した情報を分析し、以下を判断:
以下の固定フォーマットで出力します:
# Pull Request Draft
## Branch name suggestion
git checkout -b {type}/{description}
## Title
{type}: {簡潔な説明}
## Description
### Summary
- {変更点1}
- {変更点2}
- {変更点3}
### Test plan
- [ ] {テスト項目1}
- [ ] {テスト項目2}
$create-prスキルと役割を分離しています(create-prは実際のPR作成を担当)development
`cc-code-review` エージェントを起動して独立したコンテキストでコードレビューを実行する。 現在のセッションのバイアスのないフレッシュな視点で、プロジェクトの CLAUDE.md を踏まえたレビューを行う。 トリガー: "cc-code-review", "ccでレビュー", "別の視点でレビュー", "セカンドオピニオン" 使用場面: (1) PRのコードレビュー (2) ブランチ差分のレビュー (3) 特定ファイルのレビュー (4) 現在の変更のレビュー
tools
Comprehensive guide for the `wtp` (Worktree Plus) CLI by satococoa — an enhanced Git worktree manager. Use this whenever the user wants to create, list, remove, or navigate Git worktrees with wtp, mentions `wtp add`/`wtp cd`/`wtp list`/`wtp remove`/`wtp exec`, asks about automatic worktree paths from branch names, post-create hooks (copy/symlink/command) in `.wtp.yml`, branch tracking for worktrees, or shell integration (`wtp shell-init`, `wtp hook`, tab completion, auto-cd). Trigger this even when the user just describes the workflow — e.g. 'spin up a worktree for this feature branch', 'jump to my auth worktree', 'clean up the worktree and its branch' — without naming wtp explicitly, as long as wtp is the available tool.
tools
Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector).
data-ai
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.