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'.
npx claudepluginhub shokai/agent-skills --plugin conversation-contextThis skill uses the workspace's default tool permissions.
会話を通じて共有された開発コンテキスト(目的・意図・設計判断・制約条件など)を `.dev/contexts/{サニタイズ済みブランチ名}.md` に書き出す。
Saves structured summaries of conversations to dated markdown files in conv-logs/ using git project root, checks prior saves to append new topics, tracks skills used, branch, and changed files.
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.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Share bugs, ideas, or general feedback.
会話を通じて共有された開発コンテキスト(目的・意図・設計判断・制約条件など)を .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 に書き出す。
「設計方針」と「却下した代替案」の境界:
「発見された制約」と「注意が必要な難所」の境界:
先行セッションの記録は「先人の発見」として尊重する。