From conversation-context
Imports saved conversation contexts from `.dev/contexts/*.md` files using git branch name to identify current branch's file. Loads automatically or prompts user when multiple files exist.
How this skill is triggered — by the user, by Claude, or both
Slash command
/conversation-context:conversation-context-importThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`.dev/contexts/` に保存された過去の対話コンテキストを読み込む。
.dev/contexts/ に保存された過去の対話コンテキストを読み込む。
Bashツールで以下を実行する:
git branch --show-current
ブランチ名をファイル名として使う際、以下の文字を - に置換する:
/ \ : * ? " < > |
例: dependabot/npm_and_yarn/feed-5.2.0 → dependabot-npm_and_yarn-feed-5.2.0
以降の手順では、サニタイズ後のブランチ名を「サニタイズ済みブランチ名」と呼ぶ。
.dev/contexts/ ディレクトリ内のファイルを確認する。
Globツールで .dev/contexts/*.md を検索し、以下を把握する:
.dev/contexts/{サニタイズ済みブランチ名}.md)が存在するかファイルの存在状況に応じて対応を分ける:
質問せずにそのファイルを読み込む。
質問せずに全ファイルを読み込む。
AskUserQuestionツールで以下の選択肢を提示する:
.dev/contexts/{サニタイズ済みブランチ名}.md のみ.dev/contexts/ 内の全ファイル(ファイル名を列挙して提示する).dev/contexts/ にコンテキストファイルが見つからない旨を報告して終了する。
Readツールで対象ファイルを読み込む。
読み込み完了後、どのファイルを読み込んだかをユーザーに報告する:
以下の対話コンテキストを読み込みました:
- `.dev/contexts/feature-a.md`
- `.dev/contexts/feature-b.md`
.dev/contexts/ に書き出すスキル。開発の区切りでコンテキストを保存する時に使用する。npx claudepluginhub shokai/agent-skills --plugin conversation-contextExports conversation context (purpose, intent, design decisions, constraints) to .dev/contexts/{sanitized-branch}.md for handoff to reviewers, other AIs, or new sessions. Triggers on phrases like 'export context' or 'save to .dev'.
Sparsely samples Claude and Codex conversation histories to infer worktree focus and restore session context without loading full transcripts.
Searches and recalls previous Claude Code conversation sessions by querying a local SQLite FTS5 index or JSONL log files.