/ ディレクトリ / プレイグラウンド / Modularity
● コミュニティ vladikk ⚡ 即起動

Modularity

作者 vladikk · vladikk/modularity

Translates functional requirements into module boundaries using DDD heuristics — bounded contexts, aggregates, integration patterns.

Vladik Khononov's plugin operationalizes the heuristics from his book on bounded contexts. Feed it requirements; it proposes contexts, aggregates, and integration relationships, with rationale.

なぜ使うのか

主な機能

ライブデモ

実際の動作

準備完了

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "modularity-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "modularity-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/vladikk/modularity"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add modularity-skill -- git clone https://github.com/vladikk/modularity

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: Modularity

Carve up a greenfield service into modules

👤 Claude Code users ⏱ ~15 min intermediate

使うタイミング: You're sketching a new system and want to avoid a distributed monolith.

フロー
  1. Brief
    Provide functional requirements + non-functional priorities.✓ コピーしました
    → Skill asks clarifying questions
  2. Receive design
    Module map with contexts + aggregates + integration patterns.✓ コピーしました
    → Diagrams + rationale
  3. Iterate
    Push back on weak boundaries; refine.✓ コピーしました
    → Approved decomposition

結果: Defensible module boundaries before code is written.

組み合わせ

他のMCPと組み合わせて10倍の力を

modularity-skill + drawio-mcp

Visualize the proposed module map

Combine modularity-skill with drawio-mcp: Visualize the proposed module map✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
design / critique (see docs) Two main flows 1 call

コストと制限

運用コスト

APIクォータ
N/A
呼び出しあたりのトークン
Mid
金額
Free
ヒント
Treat output as a starting point — author intends it to be argued with

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: None
データ送信先: None

トラブルシューティング

よくあるエラーと対処法

Output too academic

Ask for "concrete service names + database boundaries"

代替案

Modularity 他との比較

代替案代わりに使う場面トレードオフ
Hand-rolledYou already know your domain coldNo structured second opinion

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る