home/dot_agents/skills/cc-code-review/SKILL.md
`cc-code-review` エージェントを起動して独立したコンテキストでコードレビューを実行する。 現在のセッションのバイアスのないフレッシュな視点で、プロジェクトの CLAUDE.md を踏まえたレビューを行う。 トリガー: "cc-code-review", "ccでレビュー", "別の視点でレビュー", "セカンドオピニオン" 使用場面: (1) PRのコードレビュー (2) ブランチ差分のレビュー (3) 特定ファイルのレビュー (4) 現在の変更のレビュー
npx skillsauth add kryota-dev/dotfiles cc-code-reviewInstall 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.
cc-code-review エージェント(~/.claude/agents/cc-code-review.md)を Agent ツールで起動し、独立したコンテキストでコードレビューを実行する。エージェントは現在の会話履歴を引き継がず、プロジェクトの CLAUDE.md / AGENTS.md を自動でロードするため、バイアスのないプロジェクト準拠のレビューが得られる。
~/.claude/agents/cc-code-review.md が Single Source of Truth。本 skill では再定義しない。multi-review skill から呼ばれる場合も、同じ cc-code-review エージェントを起動する。$ARGUMENTS を以下の優先順で判定する:
^\d+$ または ^#\d+$)github.com を含む URL): URL から PR 番号を抽出--staged: ステージング済みの差分. を含む拡張子、または / を含む)<branch>...HEAD の差分cc-code-review エージェントを起動する(Agent ツール、subagent_type: cc-code-review)。プロンプトには「レビュー対象の指定 + 差分取得コマンド + 作業ディレクトリの絶対パス」を渡す。差分はエージェント自身が取得するため、本 skill 側で差分を取得・埋め込みしない。レビュー観点・出力形式もエージェント定義に内蔵されているため再掲しない。Agent(
subagent_type: "cc-code-review",
description: "PR #123 のコードレビュー",
prompt: """
GitHub PR #123(リポジトリ <owner>/<repo>)のコード差分をレビューしてください。
作業ディレクトリ: <repo の絶対パス>
差分取得: `gh pr diff 123`
周辺コード(型定義・呼び出し元・既存パターン)は Read/Glob/Grep で実体確認してからレビューしてください。
"""
)
run_in_background は不要。multi-review から並列起動する場合は run_in_background: true を付ける。gh pr diff / git diff を実行して差分を取得する(セッション内のため認証は有効)。model: inherit)。コストを抑えたい場合は Agent 呼び出し時に model: "sonnet" を指定できる。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.
documentation
Compress, reduce, optimize, or shrink documentation files. Use when docs are verbose, redundant, or need consolidation for clarity.