メインコンテンツへスキップ
cohaku generate <integration>
保存されたメモリ(rule + long_term レイヤー)からルール/指示ファイルを生成し、指定されたエディタの適切な場所に書き出します。

利用可能なインテグレーション

インテグレーション出力ファイル
claude-codeCLAUDE.md
cursor.cursor/rules/cohaku.mdc
windsurf.windsurf/rules/cohaku.md
vscode.github/copilot-instructions.md
cline.clinerules/cohaku.md
roo.roo/rules/cohaku.md
geminiGEMINI.md
opencode.opencode/instructions.md

オプション

オプション説明
--stdoutファイルに書き込む代わりに標準出力に出力する

使用例

# Cursor のルールファイルを生成
cohaku generate cursor

# 標準出力に出力(パイプ対応)
cohaku generate claude-code --stdout

# 複数のエディタ向けに生成
cohaku generate cursor
cohaku generate vscode