home/dot_agents/skills/session-summary/SKILL.md
セッション終了時に作業サマリーをmarkdownで出力する。「セッションサマリー」「作業サマリー」「session summary」「サマリーを出力」「今日の作業をまとめて」と言及された際に使用。セッションで行った全作業を構造化して記録し、次回セッションへの引き継ぎ資料とする。
npx skillsauth add kryota-dev/dotfiles session-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.
現在のセッションで行った作業を構造化されたmarkdownファイルとして出力する。
.kryota-dev/claude/session-summary/ 配下(プロジェクトルート相対)
<timestamp>_<session-id>.md
date '+%Y%m%d%H%M%S' で取得~/.claude/projects/ 配下の現プロジェクトディレクトリ内で最新の .jsonl ファイル名(拡張子除去)から取得# セッションID取得例
CLAUDE_PROJECT_DIR="$HOME/.claude/projects"
# プロジェクトパスはCWDから導出(/ を - に置換)
PROJECT_KEY=$(pwd | sed 's|/|-|g')
SESSION_ID=$(ls -t "$CLAUDE_PROJECT_DIR/$PROJECT_KEY/"*.jsonl 2>/dev/null | head -1 | xargs -I{} basename {} .jsonl)
TIMESTAMP=$(date '+%Y%m%d%H%M%S')
FILENAME="${TIMESTAMP}_${SESSION_ID}.md"
会話履歴を振り返り、以下の構造でサマリーを作成する。セッション内容に応じてセクションを取捨選択し、該当しないセクションは省略する。
# セッションサマリー: {セッションの主題を簡潔に}
| Field | Value |
| ---------- | --------------------------- |
| **Date** | {YYYY-MM-DD} |
| **Branch** | `{ブランチ名}` |
| **PR** | {PRリンク(あれば)} |
| **Issue** | {関連Issueリンク(あれば)} |
---
## 実施内容
{セッションで行った作業を論理的なグループに分けて記述}
{各グループ内で具体的な変更・決定事項を箇条書き}
## コミット履歴
{セッション中に作成されたコミットを `git log --oneline` 形式で列挙}
## 未着手・残課題
{着手できなかったタスク、次回セッションで対応すべき事項}
## 設計判断・議論
{ユーザーとの議論で下された設計判断があれば記録}
{判断の根拠・代替案・却下理由を含める}
## 学び・改善点
{セッション中に得られた教訓、次回以降に活かすべき改善点}
date '+%Y%m%d%H%M%S' でタイムスタンプを取得~/.claude/projects/ からセッションIDを取得.kryota-dev/claude/session-summary/ を作成(mkdir -p)git log で取得する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.