home/dot_agents/skills/cleanup-plan/SKILL.md
現在のセッションのプランファイルをクリーンアップ(内容を空にする)スキル。 同一セッション内で新しいプランを作成したい場合に使用する。 コンテキストウィンドウの節約のため、ファイル内容は一切読まずに空にする。 「プランをクリーンアップ」「プランを削除」「プランをリセット」「プランを空にして」 「新しいプランを作りたい」などの指示で発動する。
npx skillsauth add kryota-dev/dotfiles cleanup-planInstall 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.
現在のセッションに紐づくプランファイルの内容を空にする。
プランファイルの中身を Read ツールでコンテキストウィンドウに載せると、トークンを無駄に消費する。 クリーンアップの目的は「古いプランを破棄して新しいプランを作れる状態にする」ことであり、 内容の確認は不要である。
以下の順序で特定を試みる。
優先: 会話コンテキストから取得
システムリマインダーに以下のような記載がないか確認する:
A plan file exists from plan mode at: <path>The plan file is located at <path>パスが見つかればステップ2へ進む。
フォールバック: EnterPlanMode で取得
compaction 等でシステムリマインダーが消失している場合は、EnterPlanMode ツールを実行してプランファイルのパスを取得する。
パス取得後、ExitPlanMode ツールで即座にプランモードを抜ける。
Bash ツールで以下を実行する:
> <plan-file-path>
「プランファイルをクリーンアップしました」とパスを添えて報告する。
どちらの方法でもプランファイルが見つからない場合は、 「現在のセッションにプランファイルは存在しません」と報告して終了する。
~/.claude/plans/ ディレクトリを走査すること — 他セッションのファイルを誤操作するリスクがある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.