プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Coherent

作者:skovtunバージョン 0.33.1i★ 22iパソコンで動く公式サイト ↗
レジストリ名io.github.skovtun/coherent

インストール方法

What it does

Governs UI edits by coding agents in Next.js: scope, real-browser verification, rollback.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category 開発者ツール

一緒に使える

この種の作業を AI に教える Skill。これと一緒に使えます

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

作者:morluto★ 467,2351 個の skill

Skill · 手順書

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

作者:multica-ai★ 234,1251 個の skill

Skill · 手順書ライセンス記載なし

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

作者:Graphify-Labs★ 149,8731 個の skill

Skill · 手順書

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気16/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア28/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Coherent をインストールして。https://mcp.popnx.com/i/skovtun-coherent.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月19日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Coherent を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "coherent": { "command": "npx", "args": [ "-y", "@getcoherent/cli", "mcp", "--profile", "agent" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Coherent のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "coherent": {
          "command": "npx",
          "args": [
            "-y",
            "@getcoherent/cli",
            "mcp",
            "--profile",
            "agent"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Coherent を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Coherent を使っていると言うか、回答に Coherent のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Coherent につなげません

Coherent はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Coherent につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · 開発者ツール の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Coherent を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user coherent -- npx -y @getcoherent/cli mcp --profile agent 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Coherent のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user coherent -- npx -y @getcoherent/cli mcp --profile agent
  4. Claude Code で /mcp と入力

    Coherent が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Coherent を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Coherent を使っていると言うか、回答に Coherent のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Coherent を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "coherent": { "command": "npx", "args": [ "-y", "@getcoherent/cli", "mcp", "--profile", "agent" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Coherent のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Coherent を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Coherent を使っていると言うか、回答に Coherent のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Coherent を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "coherent": { "type": "stdio", "command": "npx", "args": [ "-y", "@getcoherent/cli", "mcp", "--profile", "agent" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Coherent のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Coherent を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Coherent を使っていると言うか、回答に Coherent のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Coherent を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user coherent -- npx -y @getcoherent/cli mcp --profile agent

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "coherent": {
      "command": "npx",
      "args": [
        "-y",
        "@getcoherent/cli",
        "mcp",
        "--profile",
        "agent"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "coherent": {
      "command": "npx",
      "args": [
        "-y",
        "@getcoherent/cli",
        "mcp",
        "--profile",
        "agent"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "coherent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getcoherent/cli",
        "mcp",
        "--profile",
        "agent"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
106/週
接続方法
パソコンで動く
最新バージョンi
0.33.1
レジストリ公開日i
2026年11月19日
コードの最終更新i
2026年11月19日
作者
skovtun
パッケージ
npm: @getcoherent/cli
ウェブサイト
getcoherent.design
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント skovtun で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に @getcoherent/cli@0.33.1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月19日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skovtun-coherent.svg)](https://mcp.popnx.com/en/servers/skovtun-coherent)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの6136件のうち93%よりスターが多い
  • このカテゴリのほかの6136件のうち99%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの6136件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Coherentは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は今日、最新バージョン(0.33.1)がレジストリに届いたのは今日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

作者:ahmedkhaleel2004広く使われている★ 1.9万2 か月前更新

クラウドで動く✓ 提供元 · gitdiagram.comPopNx チームが実際に試用

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

作者:Appllama広く使われている★ 52303 か月前更新

クラウドで動く✓ 提供元 · appllama.io

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

作者:omnara-ai広く使われている★ 34172 か月前更新

クラウドで動く✓ 提供元 · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

作者:repowise-dev広く使われている↓ 6506/週★ 8180 リポジトリ全体のスター6 日前更新

パソコンでもクラウドでも✓ 提供元 · repowise.dev
似たものと比べる
これ
Coherent
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドでもパソコンにインストールでも使える
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえはいいいえいいえ
基本チェック3/34/44/44/44/45/5
ライセンスMITMITMITApache-2.0Apache-2.0AGPL-3.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Coherent Design Method

The model designs. Coherent governs.

An open-source platform that governs AI-built frontends: your coding agent designs and builds the UI;

Coherent scopes every edit, verifies it in a real browser and rolls back what fails.


What is Coherent?

Frontier coding agents already write good UI. What they don't do is prove an edit stayed inside its lane: that "make the KPI cards on Earnings more prominent" changed Earnings and left the two other pages using the same card pixel-identical, that the build still passes, that no hydration error appeared, that your git config name didn't end up in a mock profile.

Coherent is that layer. Since v0.27.0 it no longer generates design itself (ADR-0011: in a head-to-head on the same spec, plain Claude Code beat Coherent's own generation pipeline on every screen). Instead, every edit the agent makes goes through a governed session:

  1. Inventory. A graph of your app built from the code itself (TypeScript AST): pages, layouts, shared components, who imports what. Nothing stored that can drift.
  2. Begin edit. The agent declares a scope (tokens, component, variant, page, new-component) and the files it will write. Coherent answers with the impact: which routes must change, which must not.
  3. Verify. Type errors (against a baseline, so pre-existing ones don't block you), a production build, before/after screenshots on desktop and mobile, an exact pixel diff on control routes, new browser and hydration errors, identity leaks.
  4. Verdict. verified, partially_verified, verified_without_visual, blocked_by_preexisting_failure or failed. A failed edit is never committed: in agent mode it stays open until the agent fixes it or rolls it back; coherent edit rolls it back by default. Rollback touches only that edit's own files, so your concurrent hand edits survive.

Quick Start

Prerequisites: Node.js 20 or later, and Claude Code (CLI or desktop app) or Codex.

New app
npx @getcoherent/cli init my-app

In an empty folder this runs the official create-next-app and shadcn init, adds a welcome page, and installs the Coherent agent. Open my-app in Claude Code and describe what you want; the Coherent agent is the project's default agent, so there is nothing to select.

Existing Next.js app
cd my-next-app

npx @getcoherent/cli init

Adds only the agent; your code is not touched. Run it again later to update the agent files.

As a plugin (Claude Code, Codex)
/plugin marketplace add skovtun/coherent-design-method

/plugin install coherent@coherent

Adds the coherent skill: your agent sets Coherent up in a Next.js app when you ask, and follows the governed edit loop.

What init writes
FilePurpose
.claude/agents/coherent.mdThe Coherent agent (prompt + the coherent MCP server)
.mcp.jsoncoherent mcp --profile agent: four governance tools
.claude/settings.jsonMakes coherent the default agent and adds the write guard hook (merged with your settings)
AGENTS.mdA managed section for agents without hooks (Codex)
.gitignoreLocal state under .coherent/
package.json@getcoherent/cli and playwright as dev dependencies, installed with your project's package manager

Dynamic routes (/orders/[id]) need an example URL to be screenshotted; init lists them and tells you where to add one (.coherent/preview-params.json).

How It Works

agent ──► coherent_inventory      code graph, open edit, files changed outside Coherent

──► coherent_begin_edit scope + write set → impact, baseline renders, transaction ──► (agent writes files) PreToolUse hook denies writes outside the write set ──► coherent_verify_edit fast: write set, new type errors, identity leaks final: + production build, renders, pixel diff → verdict ──► coherent_rollback_edit restore only this edit's files

The hook is fast feedback, not the boundary: Bash, subagents and IDE writes bypass it. The boundary is verification, which diffs the whole tree after the edit. Agents without hooks are covered by changedOutsideCoherent in the inventory.

The verification browser runs in a far time zone and another locale (Pacific/Kiritimati, de-DE) so server/client mismatches show up as errors instead of passing silently on your machine.

Without an agent

The same governed session is available from the CLI, with Coherent's own model routing the request:

coherent edit "make the primary color emerald"            # plan → impact → apply → verify

coherent edit "tighten the pricing cards" --dry-run # scope and affected routes only coherent edit --undo # byte-exact rollback of the last edit

Classic generator (deprecated)

Everything below describes the old generation pipeline (coherent chat, /coherent-generate, the Design System viewer). It still works in projects created with coherent init --classic, but it is no longer developed and will be removed in a future release. See MIGRATION-v0.27.

CLI Commands

CommandDescription
coherent init [dir]Agent mode setup: new Next.js app in an empty folder, agent only in an existing app
coherent edit " "Governed edit from the CLI: scope, impact, apply, verify, undo
coherent mcp --profile agentMCP server with the four governance tools
coherent init --classicDeprecated: old generator project with design system viewer
coherent chat " "Generate or modify pages using natural language
coherent previewStart the dev server with auto-fix and file watching
coherent checkShow all problems: page quality, component integrity, broken links
coherent fixAuto-fix everything: cache, dependencies, components, syntax, quality
coherent fix --journalCapture fix session to .coherent/fix-sessions/ for later review
coherent journal list / aggregate / pruneReview captured fix sessions, rank recurring issues, prune old entries
coherent syncSync Design System with code after manual edits in your editor
coherent exportExport a clean, deployable Next.js project (strips DS overlay)
coherent undoRestore project to state before the last coherent chat
coherent rulesRegenerate .cursorrules and CLAUDE.md (AI editor context)
coherent updateApply platform updates to an existing project
coherent statusShow current project status
coherent components listList all shared and UI components
coherent chat -iInteractive chat mode (REPL)
Examples
# Generate a complete multi-page app

coherent chat "create an e-commerce site with product catalog, cart, checkout, and account pages"

Modify design tokens

coherent chat "change primary color to #6366f1 and use Inter font"

Target a specific component

coherent chat --component "Header" "add a search button"

Target a specific page — surgical edit (single LLM call, minimal diff)

coherent chat --page "pricing" "add a fourth enterprise tier"

Target a design token

coherent chat --token "primary" "change to indigo"

Interactive mode

coherent chat -i

After editing code manually in Cursor/VS Code

coherent sync

Export for deployment

coherent export

Two Workflows

Coherent supports two ways of working. Use whichever fits your task — or combine them.

CLI (fast scaffolding)

Run commands in your terminal. Each command goes through the full pipeline: AI generation, component reuse, validation, and auto-fix.

coherent chat "add a dashboard with revenue stats and user growth chart"

coherent chat "add a settings page with profile form and notification preferences" coherent preview

Best for: creating pages, changing tokens, batch operations, quick prototyping.

Editor (fine-grained control)

Edit code directly in Cursor, VS Code, or any editor. Coherent provides AI context via .cursorrules and CLAUDE.md — your editor's AI knows about your shared components, design tokens, and quality rules.

After manual edits, run coherent sync to update the Design System:

# Edit files in your editor...

coherent sync # updates Design System to match your code coherent check # verify everything is consistent

Best for: custom components, complex logic, pixel-perfect styling, detailed work.

Recommended workflow
# 1. Scaffold with CLI

coherent chat "add e-commerce: products, cart, checkout"

2. Fix any generation issues

coherent fix

3. Preview

coherent preview

4. Polish in your editor

- Customize ProductCard component

- Add business logic

- Fine-tune responsive styles

5. Sync and commit

coherent sync git commit -m "Product catalog complete"

6. Continue building

coherent chat "add admin panel with order management"

What Coherent Creates

When you run coherent init followed by coherent chat, your project gets this structure:

my-app/

├── app/ │ ├── layout.tsx # Root layout with shared header/footer │ ├── page.tsx # Home page │ ├── about/page.tsx # Generated pages... │ ├── pricing/page.tsx │ ├── AppNav.tsx # Platform navigation + Design System button │ ├── ShowWhenNotAuthRoute.tsx # Route-based component visibility │ └── design-system/ # Design System viewer (auto-generated) │ ├── page.tsx # Overview │ ├── components/page.tsx # Component library │ ├── shared/page.tsx # Shared components (CID-xxx) │ ├── tokens/page.tsx # Design tokens │ ├── sitemap/page.tsx # Page architecture │ └── docs/ # Documentation & recommendations ├── components/ │ ├── ui/ # shadcn/ui components (Button, Card, Input...) │ └── *.tsx # Custom components (auto-detected by sync) ├── design-system.config.ts # Single source of truth for the design system ├── coherent.components.json # Shared component manifest (CID registry) ├── .cursorrules # AI context for Cursor ├── CLAUDE.md # AI context for Claude Code └── globals.css # Tailwind CSS with design tokens

Key files

`design-system.config.ts` — The single source of truth. Contains all pages, components, design tokens (colors, typography, spacing), and page metadata. Every Coherent command reads from and writes to this file.

`coherent.components.json` — The shared component registry. Each component gets a unique ID (CID-001, CID-002...) and tracks where it's used. This enables component reuse across pages and powers the Design System viewer.

`.cursorrules` / `CLAUDE.md` — AI context files that tell your editor's AI about your design system. Automatically regenerated when you run coherent sync or coherent rules.

AI Provider Setup

Coherent uses Claude (by Anthropic) for code generation. coherent init auto-

冒頭だけを表示しています。続きはリポジトリで読めます