From conversation-context
Exports 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'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/conversation-context:conversation-context-exportThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
会話を通じて共有された開発コンテキスト(目的・意図・設計判断・制約条件など)を `.dev/contexts/{サニタイズ済みブランチ名}.md` に書き出す。
会話を通じて共有された開発コンテキスト(目的・意図・設計判断・制約条件など)を .dev/contexts/{サニタイズ済みブランチ名}.md に書き出す。
このファイルは以下の場面で活用される:
Bashツールで以下を実行する:
git branch --show-current && git rev-parse --short HEAD && gh pr view --json number -q .number
ブランチ名、source commit、PR番号を取得する。Updated atには現在の日時(YYYY-MM-DD HH:mm:ss)を記入する。
ブランチ名をファイル名として使う際、以下の文字を - に置換する:
/ \ : * ? " < > |
例: dependabot/npm_and_yarn/feed-5.2.0 → dependabot-npm_and_yarn-feed-5.2.0
以降の手順では、サニタイズ後のブランチ名を「サニタイズ済みブランチ名」と呼ぶ。
.dev/contexts/{サニタイズ済みブランチ名}.md が既に存在するか確認する。
存在する場合は、Readツールで読み込む。次に、そのファイルが この会話内で自分がexportしたものか(同一セッション)、それとも別のセッションが書き出したものか(別セッション) を判定する。
この判定に基づき、ステップ3で「既存ファイルの更新ルール」を適用する。
このSKILL.mdと同じディレクトリにある TEMPLATE.md を読み込み、その構造に従ってファイルを作成する。
.dev/contexts/ ディレクトリが存在しない場合は作成する。
Writeツールで .dev/contexts/{サニタイズ済みブランチ名}.md に書き出す。
「設計方針」と「却下した代替案」の境界:
「発見された制約」と「注意が必要な難所」の境界:
先行セッションの記録は「先人の発見」として尊重する。
npx claudepluginhub shokai/agent-skills --plugin conversation-contextCompacts the current conversation into a self-contained handoff document so a fresh agent or developer can resume work by reading only that file. Use when pausing work or summarizing long sessions.
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.
Manages per-feature living documents that capture decisions, constraints, and reasoning across AI sessions. Use when starting a feature, resuming work, or making technical decisions.